Hi guys! it’s time for me to write about configuration of OSPF IPv6 routing in Cisco IOS.
I will use example addresses from my workplace for this tutorial.
This is really simple, first configure the IPv6 addresses on the interfaces.
Router1
Router1(config)# interface fastethernet 0/0
Router1(config-if)#ipv6 address 2001:1ad8::1/126
Router2
Router2(config)#int fa 0/0
Router2(config-if)#ipv6 address 2001:1ad8::2/126
Verify the IPv6 connectivity with ping:
Router2#ping ipv6 2001:1ad8::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:1AD8::1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/10/20 ms
Set a nullroute to redistribute to IPv6 OSPF, and configure IPv6 OSPF routing on Router1:
Router1(config)#ipv6 route 2001:1ad8:500::/64 null 0
Router1(config)# interface fa 0/0
Router1(config-if)#ipv6 ospf 1 area 0
Router1(config-if)#ipv6 router ospf 1
Router1(config-rtr)#redistribute static
Do the same thing on Router2, except for the static route and redistribution.
Router2(config)#int fastethernet 0/0
Router2(config-if)#ipv6 ospf 1 area 0
Now verify the IPv6 OSPF router neighborship
Router2#show ipv6 ospf neighbor
Neighbor ID Pri State Dead Time Interface ID Interface
172.16.1.1 1 FULL/BDR 00:00:31 4 FastEthernet0/0
Check for the route
Router2#sh ipv6 route ospf | include ^O
OE2 2001:1AD8:500::/64 [110/20]
As always, seems like you are afraid of the comment box, I know you’re there, now speak!
Tags: Cisco configuration, ipv6, routing
Follow me on twitter
I’m not afraid of the comment box; I just don’t have anything to add to your posts.
But since you really wanted some comments, here they are:
- Try using blockquotes-pre-blocks for the IOS-output This makes it render the tabular output (like the show ipv6 ospf neig) a bit better. (See my blog for examples)
- Stop posting so regularly; I’m loosing too much time reading these interesting posts
Interesting read!
Hey and congratulations! You won the competition, the first real human comment!
I am kind of newbi-sh with blogging overall, I will take note of your practical blockquote tip for my future posts, thanks and also thanks for all the nice words!
I just bought the xbox 360, so maybe I’ll just chill in the couch for a few days to let everyone believe that I gave up on the blogging.
– But thanks for reading
Anyways, fun to see a comment!