实验目的:路由器和主机上配置ipv6的rip路由协议,最后实现跨网段互连互通
实验工具:Cisco Packet Tracer 5.3,模拟器中的2811路由器
实验拓扑图:
实验主要配置步骤:
Router0的配置
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ipv6 unicast-routing
Router(config)#interface s0/3/0
Router(config-if)#no ip address
Router(config-if)#ipv6 address 2010:1111::1/64
Router(config-if)#ipv6 rip ceshi enable
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config)#interface fa0/0
Router(config-if)#no ip address
Router(config-if)#ipv6 address 2010:2222::1/64
Router(config-if)#ipv6 rip ceshi enable
Router(config-if)#no shutdown
Router1的配置
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ipv6 unicast-routing
Router(config)#int s0/3/0
Router(config-if)#no ip address
Router(config-if)#ipv6 address 2010:1111::2/64
Router(config-if)#ipv6 rip ceshi enable
Router(config-if)#no shutdown
Router(config)#int fa0/0
Router(config-if)#no ip address
Router(config-if)#ipv6 address 2010:3333::1/64
Router(config-if)#ipv6 rip ceshi enable
Router(config-if)#no shutdown
检查router0和router1的ipv6路由表
Router#show 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
C 2010:1111::/64 [0/0]
via ::, Serial0/3/0
L 2010:1111::2/128 [0/0]
via ::, Serial0/3/0
R 2010:2222::/64 [120/1]
via FE80::2D0:BCFF:FE56:1BBD, Serial0/3/0
C 2010:3333::/64 [0/0]
via ::, FastEthernet0/0
L 2010:3333::1/128 [0/0]
via ::, FastEthernet0/0
L FF00::/8 [0/0]
via ::, Null0
检查router0和router1的rip数据库
Router#show ipv6 rip database
RIP process "ceshi" local RIB
2010:2222::/64, metric 1, installed
Serial0/3/0/FE80::2D0:BCFF:FE56:1BBD, expires in 155 sec
给pc配置ipv6地址
使用ping检查链路
完成
注意:链路不通时,检查ipv6的地址是否写错