IPv6的OSPFv3
实验目的:测试纯ipv6的OSPFv3路由协议
实验环境:思科pt5.3的2811路由器
实验拓扑:
实验详细步骤
router0配置
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ipv6 unicast-routing
Router(config)#ipv6 router ospf 100
%OSPFv3-4-NORTRID: OSPFv3 process 100 could not pick a router-id,please configure manually
Router(config-rtr)#router-id 10.1.1.1
Router(config)#int fa0/0
Router(config-if)#no ip address
Router(config-if)#ipv6 address 2010:1111::1/64
Router(config-if)#ipv6 ospf 100 area 0
Router(config-if)#no shutdown
Router(config)#int fa0/0
Router(config-if)#no ip address
Router(config-if)#ipv6 address 2010:1111::1/64
Router(config-if)#ipv6 ospf 100 area 0
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)#ipv6 router ospf 100
%OSPFv3-4-NORTRID: OSPFv3 process 100 could not pick a router-id,please configure manually
Router(config-rtr)#router-id 10.1.1.2
Router(config-rtr)#int fa0/0
Router(config-if)#no ip address
Router(config-if)#ipv6 add 2010:1111::2/64
Router(config-if)#ipv6 ospf 100 area 0
Router(config-if)#int fa0/1
Router(config-if)#no ip address
Router(config-if)#ipv6 address 2010:3333::1/64
Router(config-if)#ipv6 ospf 100 area 0
Router(config-if)#no shutdown
实验检查
检查路由协议
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 ::, FastEthernet0/0
L 2010:1111::2/128 [0/0]
via ::, FastEthernet0/0
O 2010:2222::/64 [110/1]
via FE80::201:42FF:FE6A:1D01, FastEthernet0/0
C 2010:3333::/64 [0/0]
via ::, FastEthernet0/1
L 2010:3333::1/128 [0/0]
via ::, FastEthernet0/1
L FF00::/8 [0/0]
via ::, Null0
Router#show ipv6 ospf neighbor
Neighbor ID Pri State Dead Time Interface ID Interface
10.1.1.1 1 FULL/BDR 00:00:31 1 FastEthernet0/0
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341