思科路由器IPv6地址和路由配置
发布作者:微思网络 发布时间:2025-11-04 浏览量:0次
实验目的
实验拓扑
实验需求
实验步骤
Router>enable Router#configure terminal Router(config)#hostname R1R1(config)#no ip domain-lookup R1(config)#line console 0 R1(config-line)#exec-timeout 0 0 R1(config-line)#logging synchronous R1(config-line)#exit R1(config)#interface loopback 0 R1(config-if)#ipv6 address 2001:9267:1:1::1/64 R1(config-if)#exit R1(config)#interface ethernet0/0 R1(config-if)#ipv6 address 2001:9267:12::1/64 R1(config-if)#no shutdownR1(config-if)#end R1#
Router>enable Router#configure terminal Router(config)#hostname R2 R2(config)#no ip domain-lookup R2(config)#line console 0 R2(config-line)#exec-timeout 0 0 R2(config-line)#logging synchronous R2(config-line)#exit R2(config)#interface loopback 0 R2(config-if)#ipv6 address 2001:9267:2:2::2/64 R2(config-if)#exitR2(config)#interface ethernet0/0 R2(config-if)#ipv6 address 2001:9267:12::2/64 R2(config-if)#no shutdownR2(config-if)#end R2#
R1(config)#ipv6 route ::/0 2001:9267:12::2 R1(config)#end R1#
R2(config)#ipv6 route 2001:9267:1:1::/64 2001:9267:12::1 R2(config)#end R2#
R1#showipv6 route IPv6Routing Table - default - 6 entries Codes: 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 - Application S ::/0 [1/0] via2001:9267:12::2 C2001:9267:1:1::/64 [0/0] viaLoopback0, directly connected L2001:9267:1:1::1/128 [0/0] viaLoopback0, receive C2001:9267:12::/64 [0/0] viaEthernet0/0, directly connected L2001:9267:12::1/128 [0/0] viaEthernet0/0, receive LFF00::/8 [0/0] viaNull0, receive
R2#showipv6 route IPv6Routing Table - default - 6 entries Codes: 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 - ApplicationS2001:9267:1:1::/64 [1/0] via2001:9267:12::1 C2001:9267:2:2::/64 [0/0] viaLoopback0, directly connected L2001:9267:2:2::2/128 [0/0] viaLoopback0, receive C2001:9267:12::/64 [0/0] viaEthernet0/0, directly connected L2001:9267:12::2/128 [0/0] viaEthernet0/0, receive LFF00::/8 [0/0] viaNull0, receive
R1#ping 2001:9267:2:2::2 source loopback 0 Type 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 of2001:9267:1:1::1 !!!!! Success rate is100percent (5/5), round-trip min/avg/max = 1/1/1 ms
微思网络
成立于2002年,已有培训经验23年!
微思认证培训资质
▼
微思实验设备
投资超过2000万元建立实验室和体验中心,为学员提供一流的现场及远程实验环境。


