MCSE技术论坛

首页 » 考试认证 » 思科网络技术 » IPv6地址
Tom - 2007-8-2 9:58:00

IPv6已经不在使用广播(broadcast)了,而使用单播(unicast)、多播(multicast)、任意播(anycast)

通过使用指定功能的多播组,发送请求(request)到多播组中的计算机,可以使网络变得更为有效。多播可以有效的避免类似IPv4网络中广播风暴(broadcast storm)的发生。Multicast enables efficient network operation by using a number of functionally specific multicast groups to send requests to a limited number of computers on the network. The multicast groups prevent most of the problems that are related to broadcast storms in IPv4.

任意播地址标识一系列的设备或结点,因此,任意播地址标识多个接口。发送到任意播地址的数据包将被传递到被任意播标识的最近接口――被当前使用协议定义的接口。An anycast address identifies a list of devices or nodes; therefore, an anycast address identifies multiple interfaces. A packet sent to an anycast address is delivered to the closest interface—as defined by the routing protocols in use—identified by the anycast address.

Anycast addresses are syntactically indistinguishable from global unicast addresses because anycast addresses are allocated from the global unicast address space.

单播与任意播有着相同的格式。当把一个单播地址分配到一个以上的接口时,它就成为了多播地址。

在很多场合,IPv6地址由两个逻辑部分组成:网络前缀(64b)+主机地址(64bit),主机地址通常根据物理地址自动生成,叫做EUI-64(64-位扩展唯一标识,extended universal identifier)

IPv6地址为128位长但通常写作8组每组四个十六进制数的形式,以“:”分隔。例如: 2001:0db8:85a3:08d3:1319:8a2e:0370:7344 是一个合法的IPv6地址。 如果四个数字都是零,可以被省略。例如:2001:0db8:85a3:0000:1319:8a2e:0370:7344 等价于2001:0db8:85a3::1319:8a2e:0370:7344 遵从这些规则,如果因为省略而出现了两个以上的分号的话,可以压缩为一个,但这种零压缩在地址中只能出现一次。因此:2001:0DB8:0000:0000:0000:0000:1428:57ab 2001:0DB8:0000:0000:0000::1428:57ab 2001:0DB8:0:0:0:0:1428:57ab , 2001:0DB8:0::0:1428:57ab 2001:0DB8::1428:57ab 都是合法的地址,并且他们是等价的。但 2001::25de::cade 是非法的(因为这样会使得搞不清楚每个压缩中有几个全零的分组) 同时前导的零可以省略,因此: 2001:0DB8:02de::0e13 等价于 2001B8:2de::e13。如果这个地址实际上是IPv4的地址,后32位可以用10进制数表示;因此:ffff:192.168.89.9 等价于 ::ffff:c0a8:5909, 但不等价于 ::192.168.89.9 ::c0a8:5909 ffff:1.2.3.4格式叫做IPv4映射地址,是不建议使用的。而::1.2.3.4格式叫做IPv4兼容地址。 IPv4 地址可以很容易的转化为IPv6格式。举例来说,如果IPv4的一个地址为135.75.43.52(十六进制为0x874B2B34) 它可以被转化为0000:0000:0000:0000:0000:0000:874B:2B34或者::874B:2B34。同时,还可以使用混合符号(IPv4- compatible address),则地址可以为::135.75.43.52

wendel - 2007-8-7 7:47:00
thanks for u article..
ntconjohn - 2008-9-28 17:23:00
THANKS!!
1
查看完整版本: IPv6地址