拓朴说明:两个路由器全为F0/0相连第一步:配置R1R1(config)#ipv6 unicast-routingR1(config)#ipv6 router eigrp 1R1(config-rtr
.
拓朴说明:两个路由器全为F0/0相连
第一步:配置R1
R1(config)#ipv6 unicast-routing
R1(config)#ipv6 router eigrp 1
R1(config-rtr)#router-id 1.1.1.1
R1(config-rtr)#no sh
R1(config)#int f0/0
R1(config-if)#ipv6 eigrp 1
R1(config-if)#ipv6 add 2001::1/64
R1(config-if)#int lo0
R1(config-if)#ipv6 eigrp 1
R1(config-if)#ipv6 add 1::1/64
R1#sh ipv6 int b
FastEthernet0/0 [up/up]
FE80::C800:CFF:FE34:8
2001::1
FastEthernet0/1 [administratively down/down]
Loopback0 [up/up]
FE80::C800:CFF:FE34:8
1::1
第二步:配置R2
R2(config)#ipv6 unicast-routing
R2(config)#ipv6 router eigrp 1
R2(config-rtr)#router-id 2.2.2.2
R2(config-rtr)#no sh
R2(config)#int f0/0
R2(config-if)#ipv6 eigrp 1
R2(config-if)#ipv6 add 2001::2/64
R2(config-if)#int lo0
R2(config-if)#ipv6 eigrp 1
R2(config-if)#ipv6 add 2::2/64
第三步:测试直连
R2#ping 2001::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/53/124 ms
第四步:ping测试
R1#ping 2::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/45/120 ms
第五步:show相关
R2#sh ipv6 route
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
D 1::/64 [90/156160]
via FE80::C800:CFF:FE34:8, FastEthernet0/0
C 2::/64 [0/0]
via ::, Loopback0
L 2::2/128 [0/0]
via ::, Loopback0
C 2001::/64 [0/0]
via ::, FastEthernet0/0
L 2001::2/128 [0/0]
via ::, FastEthernet0/0
L FF00::/8 [0/0]
via ::, Null0
R1#sh ipv6 eigrp neighbors
IPv6-EIGRP neighbors for process 1
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 Link-local address: Fa0/0 13 00:01:48 395 2370 0 8
FE80::C802:CFF:FE34:8