【实验说明】
在R1与R2之间配置IPv6,其中IP地址使用单播网络地址2001::/64 ,主机部分使用 modified EUI-64 格式
【实验拓扑】
【配置向导】
- 在R1与R2的以太网接口上配置 IPv6网络地址2001::/64
- 使用modified EUI-64 地址充当他们的主机为部分
【实验思考】
Pv6中的 link-local, site-local, and global unicast 地址的区别?
在整个全局单播地址空间中有多少个主机?
【实验配置】
R1 & R2:
interface FastEthernet0/0
ipv6 address 2001::/64 eui-64
【实验验证】
R1#show ipv6 interface brief
FastEthernet0/0 [up/up]
FE80::CE00:32FF:FE08:0
2001::CE00:32FF:FE08:0
R1#show ipv6 interface
FastEthernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::CE00:32FF:FE08:0
Global unicast address(es):
2001::CE00:32FF:FE08:0, subnet is 2001::/64 [EUI]
Joined group address(es):
FF02::1
FF02::2
FF02::1:FF08:0
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
R2#show ipv6 interface brief
FastEthernet0/0 [up/up]
FE80::CE01:32FF:FE08:0
2001::CE01:32FF:FE08:0
R2#show ipv6 interface
FastEthernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::CE01:32FF:FE08:0
Global unicast address(es):
2001::CE01:32FF:FE08:0, subnet is 2001::/64 [EUI]
Joined group address(es):
FF02::1
FF02::2
FF02::1:FF08:0
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
R1#ping 2001::CE01:32FF:FE08:0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001::CE01:32FF:FE08:0, timeout is 2 seconds:
!!!!!
全球单播IPv6地址,也叫聚合全局地址,是一个以二进制序列001开头的地址,表示为2000::/3 开始的地址,整个 全球单播地址的范围为:
2000::/128 到 3FFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF/128, 可以的地址空间为
42,535,295,865,117,307,932,921,825,928,971,000,000 个,是整个ipv6 地址空间的八分之一。
本文转自zcm8483 51CTO博客,原文链接:http://blog.51cto.com/haolun/992234