61-高级路由:IPv6 RIPng EIGRP OSPF(ipv6 二级路由器)

网友投稿 329 2022-09-27


61-高级路由:IPv6 RIPng EIGRP OSPF(ipv6 二级路由器)

三、命令部署:1、RIPR1(config)#ipv6 router rip wl //全局下启用RIP协议R1(config-rtr)#int f0/0 R1(config-if)#ipv6 rip wl enable //接口下启用RIP协议R1(config)#int lo0R1(config-if)#ipv6 add 1::1/64R1(config-if)#ipv6 rip wl enableR1(config)#ipv6 unicast-routing

R2(config)#ipv6 router rip wlR2(config)#int f0/0R2(config-if)#ipv6 rip wl enable R2(config)#int f1/0R2(config-if)#ipv6 rip wl enableR2(config-if)#ipv6 add 2::2/64R2(config-if)#ipv6 rip wl enR2(config-if)#ipv6 rip wl enable R2(config)#ipv6 unicast-routing

R3(config)#ipv6 router rip wlR3(config)#int f0/0R3(config-if)#ipv6 rip wl enable R3(config-if)#int lo0R3(config-if)#ipv6 add 3::3/64R3(config-if)#ipv6 rip wl enableR3(config)#ipv6 unicast-routing2、EIGRPR1(config)#ipv6 router eigrp 90R1(config-rtr)#no shutdown //一定要敲这条命令,因为默认是关闭的R1(config-rtr)#eigrp router-id 1.1.1.1 //如本地没有配置IPv4的1.1.1.1环回口,该命令一定要部署,不然邻居无法建立

R1(config)#int f0/0R1(config-if)#ipv6 eigrp 90R1(config)#int lo0R1(config-if)#ipv6 eigrp 90

R2(config)#ipv6 router eigrp 90R2(config-rtr)#no shutdown R2(config-rtr)#eigrp router-id 2.2.2.2

R2(config)#int f0/0R2(config-if)#ipv6 eigrp 90R2(config-if)#int fR2(config)#int f1/0R2(config-if)#ipv6 eigrp 90R2(config)#int lo0R2(config-if)#ipv6 eigrp 90

R3(config)#ipv6 router eigrp 90R3(config-rtr)#no shutdown R3(config-rtr)#eigrp router-id 3.3.3.3

R3(config)#int f0/0R3(config-if)#ipv6 eigrp 90R3(config)#int lo0R3(config-if)#ipv6 eigrp 903、OSPFR1(config)#ipv6 router ospf 110R1(config-rtr)#router-id 1.1.1.1 //如果没有手动部署IPv4环回口,该命令一定要敲,而且它会提示

R1(config)#int f0/0R1(config-if)#ipv6 ospf 110 area 0R1(config)#int lo0R1(config-if)#ipv6 ospf 110 area 0R1#show ipv6 ospf neighbor R1#show ipv6 ospf database

R2(config)#ipv6 router ospf 110R2(config-rtr)#router-id 2.2.2.2

R2(config)#int f0/0R2(config-if)#ipv6 ospf 110 area 0R2(config)#int f1/0R2(config-if)#ipv6 ospf 110 area 0R2(config)#int lo0R2(config-if)#ipv6 ospf 110 area 0R2(config-if)#int f1/0R2(config-if)#ipv6 ospf network point-to-point //IPv6也可以修改模式

R3(config)#ipv6 router ospf 110R3(config-rtr)#router-id 3.3.3.3

R3(config)#int f0/0R3(config-if)#ipv6 ospf 110 area 0R3(config)#int lo0R3(config-if)#ipv6 ospf 110 area 0

R3(config-if)#int f0/0R3(config-if)#ipv6 ospf network point-to-point

四、验证:1、RIPR1#ping 3::3Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 3::3, timeout is 2 seconds:!!!!!

R3#show ipv6 route IPv6 Routing Table - Default - 8 entriesR 1::/64 [120/3]via FE80::C802:F5FF:FE18:1C, FastEthernet0/0R 2::/64 [120/2]via FE80::C802:F5FF:FE18:1C, FastEthernet0/0C 3::/64 [0/0]via Loopback0, directly connectedL 3::3/128 [0/0]via Loopback0, receiveR 2001:12:1:1::/64 [120/2]via FE80::C802:F5FF:FE18:1C, FastEthernet0/0C 2001:23:1:1::/64 [0/0]via FastEthernet0/0, directly connectedL 2001:23:1:1::3/128 [0/0]via FastEthernet0/0, receiveL FF00::/8 [0/0]via Null0, receive2、EIGRPR1#ping 3::3Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 3::3, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 20/41/56 ms

R3#show ipv6 routeIPv6 Routing Table - Default - 8 entriesCodes: C - Connected, L - Local, S - Static, U - Per-user Static routeB - BGP, M - MIPv6, R - RIP, I1 - ISIS L1I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRPEX - EIGRP externalO - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2D 1::/64 [90/158720]via FE80::C802:F5FF:FE18:1C, FastEthernet0/0D 2::/64 [90/156160]via FE80::C802:F5FF:FE18:1C, FastEthernet0/0C 3::/64 [0/0]via Loopback0, directly connectedL 3::3/128 [0/0]via Loopback0, receiveD 2001:12:1:1::/64 [90/30720]via FE80::C802:F5FF:FE18:1C, FastEthernet0/0C 2001:23:1:1::/64 [0/0]via FastEthernet0/0, directly connectedL 2001:23:1:1::3/128 [0/0]via FastEthernet0/0, receiveL FF00::/8 [0/0]via Null0, receive3、OSPFR1#ping 3::3Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 3::3, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 12/43/84 ms

R1#show ipv6 ospf neighbor Neighbor ID Pri State Dead Time Interface ID Interface2.2.2.2 1 FULL/BDR 00:00:31 4 FastEthernet0/0

R1#show ipv6 ospf database

Link (Type-8) Link States (Area 0)

ADV Router Age Seq# Link ID Interface1.1.1.1 431 0x80000001 4 Fa0/02.2.2.2 331 0x80000001 4 Fa0/0


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:62-高级路由:IPv6 to 4自动隧道(ipv6 二级路由器)
下一篇:Java图形化编程之JFrame疫苗接种系统详解
相关文章

 发表评论

暂时没有评论,来抢沙发吧~