R1#
ipv6 unicast-routing
interface Loopback0
ipv6 address 1::1/128
interface FastEthernet0/0
ipv6 address 12::1/126
ipv6 enable
R2#
ipv6 unicast-routing
interface Loopback0
ipv6 address 2::2/128
interface FastEthernet0/0
ipv6 address 12::2/126
ipv6 enable
We can do ping ip p2p. But we can not ping to loopback from other router because no any routing table.
R1(config)#ipv6 router ospf 1
R1(config-rtr)#
*Mar 1 00:07:23.095: %OSPFv3-4-NORTRID: OSPFv3 process 1 could not pick a router-id,
please configure manually
R1(config-rtr)#router-id 1.1.1.1
R1(config)#int lo0
R1(config-if)#ipv6 ospf 1 area 0
R1(config-if)#int f0/0
R1(config-if)#ipv6 ospf 1 area 0
R2(config-if)#ipv6 router ospf 2
R2(config-rtr)#
*Mar 1 00:08:12.835: %OSPFv3-4-NORTRID: OSPFv3 process 2 could not pick a router-id,
please configure manually
R2(config-rtr)#router-id 2.2.2.2
R2(config)#int lo0
R2(config-if)#ipv6 ospf 2 area 0
R2(config-if)#int f0/0
R2(config-if)#ipv6 ospf 2 area 0
*Mar 1 00:10:14.295: %OSPFv3-5-ADJCHG: Process 1, Nbr 2.2.2.2 on FastEthernet0/0 from LOADING to FULL, Loading Done
Great… OSPF adjacency already up. Let’s check ospfv3 neighbor
R1(config-if)#do sh ipv ospf nei
Neighbor ID Pri State Dead Time Interface ID Interface
2.2.2.2 1 FULL/BDR 00:00:30 4 FastEthernet0/0
R2(config-if)#do sh ipv ospf nei
Neighbor ID Pri State Dead Time Interface ID Interface
1.1.1.1 1 FULL/DR 00:00:35 4 FastEthernet0/0
Check routing table and make sure the ping is working
R2(config-if)#do sh ipv rou
IPv6 Routing Table - 5 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
O 1::1/128 [110/10]
via FE80::C200:5FF:FEAC:0, FastEthernet0/0
LC 2::2/128 [0/0]
via ::, Loopback0
C 12::/126 [0/0]
via ::, FastEthernet0/0
L 12::2/128 [0/0]
via ::, FastEthernet0/0
L FF00::/8 [0/0]
via ::, Null0
R2(config-if)#do ping 1::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/32/44 ms
No comments:
Post a Comment