ipv6路由协议配置_IPV6寻址,标头和路由协议

ipv6路由协议配置

The IPV6 address is 128 bits. Whereas IPV4 is represented by 4 groups of decimal numbers, same IPV6 is represented by 8 groups of hexadecimal numbers. The example of IPV6 address is 2001:0db8:85a3:0000:0000:8a2e:0370:7334.

IPV6地址是128位。 IPV4由4组十进制数字表示,而相同的IPV6由8组十六进制数字表示。 IPV6地址的示例是2001:0db8:85a3:0000:0000:8a2e:0370:7334

As you are seeing the IPV6 address has been divided into 3 parts. Each part has different significance. Global prefix part network ID is used for routing. Its size is 48 bits. These are represented by the initial 3 groups.

如您所见,IPV6地址已分为3部分。 每个部分都有不同的意义。 全局前缀部分网络ID用于路由。 它的大小是48位。 这些由最初的3组代表。

The subnet field comes after the global prefix field, it contains a number that is used to identify the subnetwork. Its size is 16 bits. The Interface ID uniquely identifies any host. This ID identifies the host as unique and globally also. Its size is 64 bits.

子网字段位于全局前缀字段之后,它包含一个用于标识子网的数字。 它的大小是16位。 接口ID唯一标识任何主机。 此ID将主机标识为唯一,并且在全局上也将其标识。 它的大小是64位。

You can also use shorthand expressions to write IPV6 addresses. For example, if you wish, you can also type the IPV6 address given above.

您也可以使用简写形式来编写IPV6地址。 例如,如果您愿意,也可以键入上面给出的IPV6地址。

    2001:0db8:85a3:0:0:8a2e:0370:7334.

The groups in which all the zeros were represented on are represented by the single zero. You can do this with all the groups in which all the zeroes are present. When two such groups in which all the zeros come together, then you can replace them with a double colon as given below.

表示所有零的组由单个零表示。 您可以对所有包含零的组进行此操作。 当两个这样的组中所有零都在一起时,可以用双冒号代替它们,如下所示。

    2001:0db8:85a3::8a2e:0370:7334.

IPV6标头 (IPV6 Header)

By looking at the IPV6 address, if you are thinking that the IPV6 header is very big and complicated, then it is not so. The designers of IPV6 have designed the IPV6 header in such a way that it should be the least field in which it performs as many tasks as possible. The IPV6 header contains 8 fields. Its size is 40 bytes.

通过查看IPV6地址,如果您认为IPV6标头很大并且很复杂,那么事实并非如此。 IPV6的设计者已经设计IPV6标头,使得它应该是执行尽可能多的任务的最小字段。 IPV6标头包含8个字段。 它的大小是40个字节。

This is a very simple header that you can easily understand. Now let's try to know about different IPV6 header fields in detail.

这是一个非常简单的标题,您可以轻松理解。 现在,让我们尝试详细了解不同的IPV6标头字段。

  1. Version

    This field has value 6. This field defines the version of internet protocol. The size of this field is 4 bits.

    该字段的值为6。此字段定义Internet协议的版本。 该字段的大小为4位。

  2. Class

    This field represents the traffic class. Its size is 8 bit. This field is similar to the Type of Service field of IPV4 header.

    该字段表示流量类别。 它的大小是8位。 该字段类似于IPV4标头的“服务类型”字段。

  3. Flow Label

    流标签

    The size of this field is 24 bits. This field is used to mark packet and traffic flow. This field tells the sequence of packets that flow from source to destination.

    该字段的大小为24位。 此字段用于标记数据包和流量。 该字段告诉从源流向目的地的数据包顺序。

  4. Payload Length

    有效载荷长度

    This field stores the size of the data. The size of this field is not fixed.

    该字段存储数据的大小。 该字段的大小不固定。

  5. Next Header

    下一个标题

    This field tells you what the next header will be. This feature is not available in IPV4.

    该字段告诉您下一个标题是什么。 IPV4中不提供此功能。

  6. Hop Limit

    跳数限制

    This field tells you how many hops (routers) IPv6 packets will cross before being destroyed.

    该字段告诉您IPv6数据包在销毁之前将经过多少跳(路由器)。

  7. Source Address

    源地址

    In this field, the source host's 128-bit IPV6 address is defined.

    在此字段中,定义了源主机的128位IPV6地址。

  8. Destination Address

    目的地址

    In this field, the destination host of 128-bit IPV6 address is stored.

    在此字段中,存储了128位IPV6地址的目标主机。

IPV6路由协议 (IPV6 Routing Protocols)

All the routing protocols you've read so far were not able to support all of IPV6. So some of them were abolished and some were upgraded to work with IPV6.

到目前为止,您阅读的所有路由协议都无法支持所有IPV6。 因此,其中一些已被废止,一些已升级以与IPV6一起使用。

By upgrading the protocol, the techniques used for IPV4 routing protocols will also be used with IPV6. This will not help you to understand IPV6 routing.

通过升级协议,用于IPV4路由协议的技术也将与IPV6一起使用。 这不会帮助您了解IPV6路由。

As you know, broadcasting in IPV6 has been completely abolished. Therefore, protocols that use broadcasting cannot work with IPV6.

如您所知,IPV6中的广播已被完全取消。 因此,使用广播的协议不能与IPV6一起使用。

Mainly works with IPV6 3 routing protocols. In CCNA exams, you will only be asked about IPV6 static routing and OSPFv3. Let's now learn about these protocols. Static routing will be explained in the configuration part.

主要与IPV6 3路由协议一起使用。 在CCNA考试中,只会询问您IPV6静态路由和OSPFv3。 现在让我们了解这些协议。 静态路由将在配置部分中说明。

  1. RIPng

    雷朋

    The full name of RIPng is Routing Information Protocol Next Generation. This protocol is an upgraded version of the RIP used with IPV4, which has been upgraded to work with IPV6. This is an Interior Gateway Protocol that uses distance vector algorithm to determine the best route.

    RIPng的全名是“下一代路由信息协议”。 该协议是用于IPV4的RIP的升级版本,已升级为可与IPV6一起使用。 这是一个内部网关协议,它使用距离矢量算法来确定最佳路线。

  2. EIGRPv6

    EIGRPv6

    The EIGRP for IPV6 includes the same features that are available in the EIGRP version of IPV4. Also, most operations are performed in the same way as IPV4 performs in the EIGRP. But there are some differences in these versions as if EIGRPv6 is configured on straight router interfaces and if the router ID is not, then you can not configure EIGRPv6 etc.

    用于IPV6的EIGRP包含与IPV4的EIGRP版本相同的功能。 同样,大多数操作都与IPV4在EIGRP中执行的方式相同。 但是这些版本存在一些差异,就好像在直接路由器接口上配置了EIGRPv6一样,如果没有配置路由器ID,则无法配置EIGRPv6等。

  3. OSPFv3

    OSPFv3

    OSPFv3 is a link state routing protocol. This is an upgraded version of OSPF used with IPV4. It has been upgraded to work with IPV6. All of its basic features are the same as found in OSPF.

    OSPFv3是链路状态路由协议。 这是与IPV4一起使用的OSPF的升级版本。 已升级为可与IPV6一起使用。 它的所有基本功能都与OSPF中的相同。

翻译自: https://www.includehelp.com/computer-networks/ipv6-addressing-header-and-routing-protocols.aspx

ipv6路由协议配置

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/542375.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

rpc框架

Motan,dubbo转载于:https://www.cnblogs.com/zhangshiwen/p/5980886.html

android webview 监听js,Android webview与js的数据交互

项目要用到Webview和js交互,查了查以前的项目感觉还是有必要整理下的。简单描述下项目中用到的地方,比如说在web页需要用到登录的地方点击登录跳转到APP原生登录界面去登录,点击web页的拨打电话弹出原生dialog询问是否拨打,点击we…

c ++查找字符串_C ++异常处理| 查找输出程序| 套装1

c 查找字符串Program 1: 程序1&#xff1a; #include <iostream>using namespace std;int main(){try {int num1 10;int num2 0;int res 0;res num1 / num2;}catch (exception e) {cout << "Exception: Divide By Zero" << endl;}return 0;}O…

python的repr和str有什么不同_str()和repr()的异同

str()函数和repr()函数&#xff0c;都是Python内置的标准函数。这两个函数都是根据参数对象返回一个字符串&#xff0c;但是又有一些不一样的地方。我们在使用的时候&#xff0c;常常搞混&#xff0c;倾向于使用简单明了的str()函数&#xff0c;而搞不清楚为什么还有一个不知所…

android web通讯录,Android手机开发之通讯录

Android手机开发——通讯录实现增加、查询、修改、删除的功能&#xff0c;输入联系人信息&#xff0c;点击“添加”按钮&#xff0c;可以添加联系人信息到数据库&#xff1b;点击“查询”按钮&#xff0c;会发现添加的联系人信息显示在界面中&#xff1b;重新输入联系人电话&am…

有关UITableView--cell复用问题

近来用Tableview做了一个九宫格。过程中碰到了两个cell复用问题。 问题一&#xff1a; 在cell中为button添加addTarget点击事件时&#xff0c;出现后面的cell会重叠它前面cell的事件。代码如下&#xff1a; C代码 static NSString *CellWithIdentifier "DiscoverHomeTab…

python客户端和服务端实验_结合服务器和客户端python

我正在尝试使用python(稍后可能用c语言)和TCP套接字制作一个本地网络聊天程序。我的目的是让服务器监听当前计算机的地址以获取传入消息&#xff0c;并将这些消息转发给客户端(我现在还不确定)。客户端将是一个简单的gui&#xff0c;可以通过本地连接向活动服务器发送消息。实际…

python常用语法和示例_C语言切换案例教程,语法,示例和规则

python常用语法和示例使用默认情况下的决策 (Decision making using switch-case-default) Many times in our daily lives, we face conditions where we are required to choose between a number of alternatives rather than just two or three. For example, which school…

android so abi适配,Android NDK学习(六): so文件兼容之abiFilters的使用

最近项目中遇到了要使用JavaCV的情况&#xff0c;涉及到了abi兼容的选择。因为如果全部都适配的话&#xff0c;包很大&#xff0c;这样兼容那些用户数极少的cpu就很不划算&#xff0c;所以我只适配了armeabi-v7a这一个。但是今天在x64-v8a的模拟器上看的时候&#xff0c;提示我…

python中doc=parased.getroot()_python中执行sed命令操作源文件时出现错误

我想在python中执行一个sed命令&#xff0c;第一种方法直接指定文件时&#xff0c;可以正确输出结果&#xff0c;但是第二种我打开文件操作的时候就有问题&#xff0c;不知道什么原因&#xff0c;求高手解答&#xff1f;(1)>>> sedcmd"sed -n \s/{//g; p\ /qye/p…

JavaScript基础之Number对象和Math对象

2019独角兽企业重金招聘Python工程师标准>>> //Math对象//属性float Math.E; //返回自然对数的底数e&#xff0c;约2.718float Math.LN2; //返回2的自然对数&#xff0c;约0.693float Math.LN10; //返回10的自然对数&#xff0c;约2.302fl…

c++ stl 获取最小值_如何在C ++ STL中找到向量的最小/最小元素?

c stl 获取最小值Given a vector and we have to minimum/smallest element using C STL program. 给定一个向量&#xff0c;我们必须使用C STL程序最小/最小元素。 寻找向量的最小元素 (Finding smallest element of a vector) To find a smallest or minimum element of a …

android studio panic,Android Studio模拟器PANIC错误

Android Studio模拟器突然停止工作.当我尝试运行虚拟设备时,我在事件日志中收到以下错误.模拟器:PANIC:找不到AVD系统路径.请定义ANDROID_SDK_ROOT仿真器:处理完成,退出代码为1所以我检查了ANDROID_SDK_ROOT环境变量设置的值,它是空的.所以我把它设置为/Users/{username}/Libra…

linux特殊权限之访问权限

特殊权限如/etc/passwd:sSuid:普通用户以管理员身份运行命令&#xff08;chmod us FILE、chmod u-s FILE&#xff09;如果FILE本身原来就有执行权限&#xff0c;SUID显示为s&#xff1b;否则显示SSgid:基本组以管理组身份运行命令&#xff08;chmod gs FILE、chmod g-s FILE&am…

vb.net变量值变化触发事件_Angular变化检测的理解

获取脏检查的时机Angular 使用NgZone获取变化的通知&#xff0c;然后进行全面的变化检测&#xff0c;进而更新Dom脏检查的过程Angular的数据流是自顶而下&#xff0c;从父组件到子组件单项流动&#xff0c;单项数据流保证了高效可预测的变化检测。尽管检查了父组件之后&#xf…

python 算术右移_Python算术序列| 竞争编码问题

python 算术右移Question: 题&#xff1a; In mathematics, when in an arithmetic sequence is a sequence of numbers such that the difference between the consecutive terms is constant then it is called arithmetic constant. 在数学中&#xff0c;当在算术序列中是…

Android8内测申请,小米 6 安卓 8.0 来了 内测开始招募

Android 8.0 已经正式发布多时&#xff0c;目前不少厂商已经启动了旗下进行的 Android 8.0 适配计划。但令人纳闷的是&#xff0c;一向对系统升级比较热心的小米却迟迟没有动静。好消息是&#xff0c;此前网友曝光的消息显示&#xff0c;MIUI 已经悄然在官方论坛中招募小米 6 的…

My linux

为什么80%的码农都做不了架构师&#xff1f;>>> 1.linux 命令方式修改机器名称 # hostname newHostName # vi /etc/sysconfig/network 修改或增加配置&#xff1a;hostnamenewHostName # vi /etc/hosts 修改对应的本地HOST映射 xx.xxx.xxx.xxx newHostName 2.Redha…

狂神说es笔记_人教版七上英语Unit5电子课本音频+课堂笔记+课后同步习题

1人教 七上英语Unit5单词七年级英语上册Unit 5单词默写1做&#xff1b;干(助动词)__________2做&#xff0c;干(助动词第三人称单数形式)__________3有__________4网球__________5球__________6乒乓球______7球棒&#xff1b;球拍__________8(英式)足球____________________9排…

Java RandomAccessFile getFilePointer()方法与示例

RandomAccessFile类getFilePointer()方法 (RandomAccessFile Class getFilePointer() method) getFilePointer() method is available in java.io package. getFilePointer()方法在java.io包中可用。 getFilePointer() method is used to get the current pointer in the Rando…