2、在R2上配置IPv6靜態路由,使得R2能夠訪問R1的Loopback0;3、在R1上配置IPv6默認路由,使得R1能夠訪問R2的Loopback0。
Router>enableRouter#configure terminalRouter(config)#hostname R1R1(config)#no ip domain-lookupR1(config)#line console 0R1(config-line)#exec-timeout 0 0R1(config-line)#logging synchronousR1(config-line)#exitR1(config)#interface loopback 0R1(config-if)#ipv6 address 2001:9267:1:1::1/64R1(config-if)#exitR1(config)#interface ethernet0/0R1(config-if)#ipv6 address 2001:9267:12::1/64R1(config-if)#no shutdownR1(config-if)#endR1#Router>enableRouter#configure terminalRouter(config)#hostname R2R2(config)#no ip domain-lookupR2(config)#line console 0R2(config-line)#exec-timeout 0 0R2(config-line)#logging synchronousR2(config-line)#exitR2(config)#interface loopback 0R2(config-if)#ipv6 address 2001:9267:2:2::2/64R2(config-if)#exitR2(config)#interface ethernet0/0R2(config-if)#ipv6 address 2001:9267:12::2/64R2(config-if)#no shutdownR2(config-if)#endR2#R1#show ipv6 routeIPv6 Routing Table - default - 6 entriesCodes: C - Connected, L - Local, S - Static, U - Per-user Static route B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect RL - RPL, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1 OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2 la - LISP alt, lr - LISP site-registrations, ld - LISP dyn-eid lA - LISP away, a - ApplicationS ::/0 [1/0] via 2001:9267:12::2C 2001:9267:1:1::/64 [0/0] via Loopback0, directly connectedL 2001:9267:1:1::1/128 [0/0] via Loopback0, receiveC 2001:9267:12::/64 [0/0] via Ethernet0/0, directly connectedL 2001:9267:12::1/128 [0/0] via Ethernet0/0, receiveL FF00::/8 [0/0] via Null0, receiveR2#show ipv6 routeIPv6 Routing Table - default - 6 entriesCodes: C - Connected, L - Local, S - Static, U - Per-user Static route B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect RL - RPL, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1 OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2 la - LISP alt, lr - LISP site-registrations, ld - LISP dyn-eid lA - LISP away, a - ApplicationS 2001:9267:1:1::/64 [1/0] via 2001:9267:12::1C 2001:9267:2:2::/64 [0/0] via Loopback0, directly connectedL 2001:9267:2:2::2/128 [0/0] via Loopback0, receiveC 2001:9267:12::/64 [0/0] via Ethernet0/0, directly connectedL 2001:9267:12::2/128 [0/0] via Ethernet0/0, receiveL FF00::/8 [0/0] via Null0, receiveR1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 2001:9267:2:2::2, timeout is 2 seconds:Packet sent with a source address of 2001:9267:1:1::1!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms