一、实验拓扑:
二、实验要求:
1、R1、R2分别在接口下启用:IPv6功能;
2、通过show IPv6 int f0/0,查看:本地链路地址;
3、R1、R2分别配置EUI/64的自动填充地址;并配多个地址进行Ping试验;
4、验证:对比接口MAC地址,本地链路地址和MAC地址的关系是否在中间插入了FF:FE?
5、验证:本地链路地址第7位是否进行了置位:1变0,0变1?
6、验证:R1是否可以PingR2的本地链路地址?
7、验证:查看EUI/64自动填充地址格式?
三、命令部署:
R1(config)#int f0/0
R1(config-if)#no shutdown
R1(config-if)#ipv6 enable
R2(config)#int f0/0
R2(config-if)#no shutdown
R2(config-if)#ipv6 enable
R1#show ipv6 interface f0/0
R2#show ipv6 int f0/0
R1(config)#int f0/0
R1(config-if)#ipv6 address 2001:12:1:1::/64 eui-64
R1(config-if)#ipv6 add 2001:12:1:1::1/64
R2(config)#int f0/0
R2(config-if)#ipv6 address 2001:12:1:1::/64 eui-64
R2(config-if)#ipv6 add 2001:12:1:1::2/64
R1#show ipv6 int bri
四、验证:
R1#show ipv6 interface f0/0
FastEthernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::C801:D7FF:FE2C:0
R1#show int f0/0
FastEthernet0/0 is up, line protocol is up
Hardware is DEC21140, address is ca01.d72c.0000 (bia ca01.d72c.0000)
R1#ping FE80::C802:D7FF:FE90:0
Output Interface: FastEthernet0/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FE80::C802:D7FF:FE90:0, timeout is 2 seconds:
Packet sent with a source address of FE80::C801:D7FF:FE2C:0!!!!!
R1#show ipv6 int bri
FastEthernet0/0 [up/up]
FE80::C801:D7FF:FE2C:0
2001:12:1:1:C801:D7FF:FE2C:0
R1#ping 2001:12:1:1:C802:D7FF:FE90:0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:12:1:1:C802:D7FF:FE90:0, timeout is 2 seconds:
!!!!!
R1#ping 2001:12:1:1::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:12:1:1::2, timeout is 2 seconds:!!!!!
转载于:https://blog.51cto.com/13856092/2138511