Configuring Basic RIPng(拓扑+配置+现象)
实验步骤:
1.按照拓扑图的说明配置IPV6地址,使用ping命令确定网络的连通性。
R1(config)#int l0
R1(config-if)#ipv6 address 3ffe:ab:cd:1::1/64
R1(config)#int s1/1
R1(config-if)#ipv6 add 3ffe:ab:cd:12::1/64
R2(config)#int s1/0
R2(config-if)#ipv6 add 3ffe:ab:cd:12::2/64
R2(config)#int s1/1
R2(config-if)#ipv6 add 3ffe:ab:cd:23::1/64
R2(config)#int fa0/0
R2(config-if)#ipv6 add 3ffe:ab:cd:24::1/64
R3(config)#int s1/0
R3(config-if)#ipv6 add 3ffe:ab:cd:23::2/64
R4(config)#int fa0/0
R4(config-if)#ipv6 add 3ffe:ab:cd:24::2/64
R1#ping ipv6 3ffe:ab:Cd:12::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3FFE:AB:CD:12::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/44/76 ms
R3(config-if)#do ping 3ffe:ab:cd:23::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3FFE:AB:CD:23::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/53/80 ms
2.在接口下启动RIPng进程,需要注意的是,命令必须在每个希望运行RIPng的接口上启用。
R1(config)#ipv6 unicast-routing
R1(config)#int s1/1
R1(config-if)#ipv6 rip mountain en
R2(config)#ipv6 unicast-routing
R2(config)#int s1/0
R2(config-if)#ipv6 rip mountain enable
R2(config)#int s1/1
R2(config-if)#ipv6 rip mountain en
R2(config-if)#int fa0/0
R2(config-if)#ipv6 rip mountain en
R3(config)#ipv6 unicast-routing
R3(config)#int s1/0
R3(config-if)#ipv6 rip mountain en
R4(config)#ipv6 unicast-routing
R4(config)#int fa0/0
R4(config-if)#ipv6 rip mountain en
//路由器默认没有开启ipv6单播路由转发,因此要在每一台路由器上打入ipv6 unicast-routing
//在端口上开启RIPng的命令为ipv6 rip process name enable
3.查看R4的路由表
R4(config)#do sh ipv6 route
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
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
R 3FFE:AB:CD:12::/64 [120/2]
via FE80::C801:FFF:FE14:0, FastEthernet0/0
R 3FFE:AB:CD:23::/64 [120/2]
via FE80::C801:FFF:FE14:0, FastEthernet0/0
C 3FFE:AB:CD:24::/64 [0/0]
via ::, FastEthernet0/0
L 3FFE:AB:CD:24::2/128 [0/0]
via ::, FastEthernet0/0
L FE80::/10 [0/0]
via ::, Null0
L FF00::/8 [0/0]
via ::, Null0
//R4已经收到了12和13网段的路由
1.按照拓扑图的说明配置IPV6地址,使用ping命令确定网络的连通性。
R1(config)#int l0
R1(config-if)#ipv6 address 3ffe:ab:cd:1::1/64
R1(config)#int s1/1
R1(config-if)#ipv6 add 3ffe:ab:cd:12::1/64
R2(config)#int s1/0
R2(config-if)#ipv6 add 3ffe:ab:cd:12::2/64
R2(config)#int s1/1
R2(config-if)#ipv6 add 3ffe:ab:cd:23::1/64
R2(config)#int fa0/0
R2(config-if)#ipv6 add 3ffe:ab:cd:24::1/64
R3(config)#int s1/0
R3(config-if)#ipv6 add 3ffe:ab:cd:23::2/64
R4(config)#int fa0/0
R4(config-if)#ipv6 add 3ffe:ab:cd:24::2/64
R1#ping ipv6 3ffe:ab:Cd:12::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3FFE:AB:CD:12::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/44/76 ms
R3(config-if)#do ping 3ffe:ab:cd:23::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3FFE:AB:CD:23::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/53/80 ms
2.在接口下启动RIPng进程,需要注意的是,命令必须在每个希望运行RIPng的接口上启用。
R1(config)#ipv6 unicast-routing
R1(config)#int s1/1
R1(config-if)#ipv6 rip mountain en
R2(config)#ipv6 unicast-routing
R2(config)#int s1/0
R2(config-if)#ipv6 rip mountain enable
R2(config)#int s1/1
R2(config-if)#ipv6 rip mountain en
R2(config-if)#int fa0/0
R2(config-if)#ipv6 rip mountain en
R3(config)#ipv6 unicast-routing
R3(config)#int s1/0
R3(config-if)#ipv6 rip mountain en
R4(config)#ipv6 unicast-routing
R4(config)#int fa0/0
R4(config-if)#ipv6 rip mountain en
//路由器默认没有开启ipv6单播路由转发,因此要在每一台路由器上打入ipv6 unicast-routing
//在端口上开启RIPng的命令为ipv6 rip process name enable
3.查看R4的路由表
R4(config)#do sh ipv6 route
IPv6 Routing Table - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
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
R 3FFE:AB:CD:12::/64 [120/2]
via FE80::C801:FFF:FE14:0, FastEthernet0/0
R 3FFE:AB:CD:23::/64 [120/2]
via FE80::C801:FFF:FE14:0, FastEthernet0/0
C 3FFE:AB:CD:24::/64 [0/0]
via ::, FastEthernet0/0
L 3FFE:AB:CD:24::2/128 [0/0]
via ::, FastEthernet0/0
L FE80::/10 [0/0]
via ::, Null0
L FF00::/8 [0/0]
via ::, Null0
//R4已经收到了12和13网段的路由


