在路由器上使用IPV6(中)--RIP和OSPF的应用 推荐
2007-02-08 22:58
471 查看
初始配置见http://matthewyin.blog.51cto.com/blog/49294/17194
配置RIP协议
R1
conf t
ipv6 router rip cisco /*cisco是启用此RIP协议所特指的进程
exit
int s2/0
ipv6 rip cisco enable /*在s2/0上启用ipv6的rip协议
exit
int l0
ipv6 rip cisco enable /*在loopback0上启用ipv6的rip协议
end
R2
conf t
ipv6 router rip cisco
exit
int s2/0
ipv6 rip cisco enable
exit
int l0
ipv6 rip cisco enable
end
R3
conf t
ipv6 router rip cisco
int s2/0
ipv6 rip cisco enable
exit
int l 0
ipv6 rip cisco enable
end
校验
R1#sh ipv6 route
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
L FE80::/10 [0/0]
via ::, Null0
C FEC0::/64 [0/0]
via ::, Loopback0
L FEC0::1:0:0:1/128 [0/0]
via ::, Loopback0
C FEC0:0:0:1::/64 [0/0]
via ::, Loopback0
L FEC0:0:0:1::1/128 [0/0]
via ::, Loopback0
R FEC0:0:0:2::/64 [120/2]
via FE80::C800:DFF:FE44:0, Serial2/0
R FEC0:0:0:3::/64 [120/2]
via FE80::C800:AFF:FE80:0, Serial2/0
C FEC0:0:0:123::/64 [0/0]
via ::, Serial2/0
L FEC0:0:0:123::1/128 [0/0]
via ::, Serial2/0
L FF00::/8 [0/0]
via ::, Null0
R2#sh ipv6 route
IPv6 Routing Table - 8 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
L FE80::/10 [0/0]
via ::, Null0
R FEC0::/64 [120/2]
via FE80::C800:8FF:FE90:0, Serial2/0
R FEC0:0:0:1::/64 [120/2]
via FE80::C800:8FF:FE90:0, Serial2/0
C FEC0:0:0:2::/64 [0/0]
via ::, Loopback0
L FEC0:0:0:2::2/128 [0/0]
via ::, Loopback0
C FEC0:0:0:123::/64 [0/0]
via ::, Serial2/0
L FEC0:0:0:123::2/128 [0/0]
via ::, Serial2/0
L FF00::/8 [0/0]
via ::, Null0
R3#sh ipv route
IPv6 Routing Table - 8 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
L FE80::/10 [0/0]
via ::, Null0
R FEC0::/64 [120/2]
via FE80::C800:8FF:FE90:0, Serial2/0
R FEC0:0:0:1::/64 [120/2]
via FE80::C800:8FF:FE90:0, Serial2/0
C FEC0:0:0:3::/64 [0/0]
via ::, Loopback0
L FEC0:0:0:3::3/128 [0/0]
via ::, Loopback0
C FEC0:0:0:123::/64 [0/0]
via ::, Serial2/0
L FEC0:0:0:123::3/128 [0/0]
via ::, Serial2/0
L FF00::/8 [0/0]
via ::, Null0
配置OSPF
R1
conf t
int l 0
ip ad 1.1.1.1 255.255.255.255
exit
ipv6 router ospf 1
exit
int s2/0
ipv6 ospf priority 1
ipv6 ospf nei FE80::C800:DFF:FE44:0 /*配置邻居时,需要link-local地址
ipv6 ospf nei FE80::C800:AFF:FE80:0
ipv6 ospf 1 area 0
int l 0
ipv6 ospf 1 area 0
end
R2
conf t
int l 0
ip ad 2.2.2.2 255.255.255.255
exit
ipv6 router ospf 1
exit
int l0
ipv6 ospf 1 area 0
exit
int s2/0
ipv6 ospf nei FE80::C800:8FF:FE90:0
ipv6 ospf priority 0
ipv6 ospf 1 area 0
end
R3
conf t
int l 0
ip ad 3.3.3.3 255.255.255.255
exit
ipv6 router ospf 1
exit
int l 0
ipv6 ospf 1 area 0
exit
int s2/0
ipv6 ospf priority 0
ipv6 ospf nei FE80::C800:8FF:FE90:0
ipv6 ospf 1 area 0
end
校验
R1#sh ipv6 ospf neighbor
Neighbor ID Pri State Dead Time Interface ID Interface
3.3.3.3 0 FULL/DROTHER 00:01:54 4 Serial2/0
2.2.2.2 0 FULL/DROTHER 00:01:32 4 Serial2/0
R1#sh ipv route ospf
IPv6 Routing Table - 8 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
O FEC0:0:0:2::2/128 [110/64]
via FE80::C800:DFF:FE44:0, Serial2/0
O FEC0:0:0:3::3/128 [110/64]
via FE80::C800:AFF:FE80:0, Serial2/0
R2#sh ipv route ospf
IPv6 Routing Table - 8 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
O FEC0:0:0:1::1/128 [110/64]
via FE80::C800:8FF:FE90:0, Serial2/0
O FEC0:0:0:3::3/128 [110/64]
via FE80::C800:AFF:FE80:0, Serial2/0
R3#sh ipv6 route ospf
IPv6 Routing Table - 8 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
O FEC0:0:0:1::1/128 [110/64]
via FE80::C800:8FF:FE90:0, Serial2/0
O FEC0:0:0:2::2/128 [110/64]
via FE80::C800:DFF:FE44:0, Serial2/0
相关文章推荐
- Android应用集成开发环境,强烈推荐使用
- 推荐使用apache Tomee做开发分布式应用服务器
- 推荐使用BlueStacks模拟器调试Android应用
- 快速构建Windows 8风格应用1-开发工具安装及模拟器使用 推荐
- 演示:使用协议分析器取证IPv6的报文结构 推荐
- MED-V使用教程之三综合应用 推荐
- iPad2使用心得和应用推荐(不定期更新)
- 使用 Quagga 将你的 CentOS 变成 OSPF 路由器
- 飞鱼星流控王VF12路由器使用体验 推荐
- 在路由器上使用IPV6(上)--在NBMA中使用IPV6
- 使用思科模拟器Packet Tracer与GNS3配置IPv6隧道 推荐
- 使用ACL在cisco路由器,防止Spoofing Mitigation 推荐
- OSPF在网络中的应用 推荐
- 使用cisco路由器实现IPV6 tunnel
- Android应用中使用及实现系统“分享”接口 推荐
- 如何使用Quagga,将你的CentOS设备变成OSPF路由器
- 被动接口在rip,eigrp,ospf中的应用
- Rip/eigrp/ospf综合应用