IPV6 RIP ng 实验(CCNP模拟器)
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
IPV6 实验.RIPng(下一代路由信息协议)实验配置
实验拓扑:
配置R1:
ipv6 unicast-routing //启用ipv6单播路由协议
interface Ethernet0/0
ipv6 address 2001:1:1:1::1/64
ipv6 rip cisco enable //在接口启用RIPng
no keepalive
interface Serial1/0
ipv6 address 2001:A:A:A::1/64
ipv6 rip cisco enable //在接口启用RIPng
interface Serial1/1
ipv6 address 2001:B:B:B::1/64
ipv6 rip cisco enable //在接口启用RIPng
ipv6 router rip cisco //定义标识为cisco的的RIPng进程
配置R2:
ipv6 unicast-routing
interface Ethernet0/0
ipv6 address 2001:2:2:2::2/64
ipv6 rip cisco enable
no keepalive
interface Serial1/0
ipv6 address 2001:A:A:A::2/64
ipv6 rip cisco enable
ipv6 router rip cisco
配置R3
ipv6 unicast-routing //启用ipv6单播路由协议
interface Ethernet0/0
ipv6 address 2001:3:3:1::3/64
ipv6 address 2001:3:3:2::3/64
ipv6 address 2001:3:3:3::3/64
ipv6 address 2001:3:3:4::3/64
ipv6 address 2001:3:3:5::3/64
ipv6 address 2001:3:3:6::3/64
ipv6 rip cisco enable
no keepalive
!
interface Serial1/0
ipv6 address 2001:B:B:B::3/64
ipv6 rip cisco enable
ipv6 router rip cisco:
在R2验证配置:
r2#show ipv6 rip
RIP process "cisco", port 521, multicast-group FF02::9, pid 168 Administrative distance is 120. Maximum paths is 16
Updates every 30 seconds, expire after 180
Holddown lasts 0 seconds, garbage collect after 120
Split horizon is on; poison reverse is off
Default routes are not generated
Periodic updates 92, trigger updates 16
Interfaces:
Ethernet0/0
Serial1/0
Redistribution:
None
r2#show ipv6 route
IPv6 Routing Table - 14 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 2001:1:1:1::/64 [120/2]
via FE80::CE00:3FF:FE68:0, Serial1/0
C 2001:2:2:2::/64 [0/0]
via ::, Ethernet0/0
L 2001:2:2:2::2/128 [0/0]
via ::, Ethernet0/0
R 2001:3:3:1::/64 [120/3]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:3:3:2::/64 [120/3]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:3:3:3::/64 [120/3]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:3:3:4::/64 [120/3]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:3:3:5::/64 [120/3]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:3:3:6::/64 [120/3]
via FE80::CE00:3FF:FE68:0, Serial1/0
C 2001:A:A:A::/64 [0/0]
via ::, Serial1/0
L 2001:A:A:A::2/128 [0/0]
via ::, Serial1/0
R 2001:B:B:B::/64 [120/2]
via FE80::CE00:3FF:FE68:0, Serial1/0
L FE80::/10 [0/0]
via ::, Null0
L FF00::/8 [0/0]
via ::, Null0
r2#show ipv6 route rip
IPv6 Routing Table - 14 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 2001:1:1:1::/64 [120/2]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:3:3:1::/64 [120/3]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:3:3:2::/64 [120/3]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:3:3:3::/64 [120/3]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:3:3:4::/64 [120/3]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:3:3:5::/64 [120/3]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:3:3:6::/64 [120/3]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:B:B:B::/64 [120/2]
via FE80::CE00:3FF:FE68:0, Serial1/0
r2#show ipv6 rip database
RIP process "cisco", local RIB
2001:1:1:1::/64, metric 2, installed
Serial1/0/FE80::CE00:3FF:FE68:0, expires in 157 secs
2001:3:3:1::/64, metric 3, installed
Serial1/0/FE80::CE00:3FF:FE68:0, expires in 157 secs
2001:3:3:2::/64, metric 3, installed
Serial1/0/FE80::CE00:3FF:FE68:0, expires in 157 secs
2001:3:3:3::/64, metric 3, installed
Serial1/0/FE80::CE00:3FF:FE68:0, expires in 157 secs
2001:3:3:4::/64, metric 3, installed
Serial1/0/FE80::CE00:3FF:FE68:0, expires in 157 secs
2001:3:3:5::/64, metric 3, installed
Serial1/0/FE80::CE00:3FF:FE68:0, expires in 157 secs
2001:3:3:6::/64, metric 3, installed
Serial1/0/FE80::CE00:3FF:FE68:0, expires in 157 secs
2001:A:A:A::/64, metric 2
Serial1/0/FE80::CE00:3FF:FE68:0, expires in 157 secs
2001:B:B:B::/64, metric 2, installed
Serial1/0/FE80::CE00:3FF:FE68:0, expires in 157 secs
r2#show ipv6 rip next-hops
RIP process "cisco", Next Hops
FE80::CE00:3FF:FE68:0/Serial1/0 [9 paths]
r2#
在R3上实现聚合路由:
r3(config)#int s1/0
r3(config-if)#ipv6 rip cisco summary-address 2001:3:3::/48
在R2上查看路由表:(聚合后的路由)
r2#show ipv6 route rip
IPv6 Routing Table - 9 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 2001:1:1:1::/64 [120/2]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:3:3::/48 [120/3]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:B:B:B::/64 [120/2]
via FE80::CE00:3FF:FE68:0, Serial1/0
在RIPng中分发默认路由:
r3(config)#int s1/0
r3(config-if)#ipv6 rip cisco default-information originate metric 5
在R1或R2上查看默认路由:
r2#show ipv6 route rip
IPv6 Routing Table - 10 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 ::/0 [120/7] //ipv6里默认路由表示
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:1:1:1::/64 [120/2]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:3:3::/48 [120/3]
via FE80::CE00:3FF:FE68:0, Serial1/0
R 2001:B:B:B::/64 [120/2]
via FE80::CE00:3FF:FE68:0, Serial1/0
r2#。