| Hi guys! it's time for me to write about | | | | Router1(config)# interface fa 0/0 |
| configuration of OSPF IPv6 routing in Cisco IOS. | | | | Router1(config-if)#ipv6 ospf 1 area 0 |
| I will use example addresses from my workplace | | | | Router1(config-if)#ipv6 router ospf 1 |
| for this tutorial. | | | | Router1(config-rtr)#redistribute static |
| This is really simple, first configure the IPv6 | | | | This enables the interface Fastethernet 0/0 in the |
| addresses on the interfaces. | | | | OSPF area 0, and redistributes static IPv6 routes |
| Router1 | | | | (the static one setup by ipv6 route) into IPv6 |
| Router1(config)# interface fastethernet 0/0 | | | | OSPF. |
| Router1(config-if)#ipv6 address 2001:1ad8::1/126 | | | | Do the same thing on Router2, except for the |
| Router2 | | | | static route and redistribution. |
| Router2(config)#int fa 0/0 | | | | Router2(config)#int fastethernet 0/0 |
| Router2(config-if)#ipv6 address 2001:1ad8::2/126 | | | | Router2(config-if)#ipv6 ospf 1 area 0 |
| This sets up two addresses in a network | | | | This enables Fastethernet 0/0 in the OSPF area 0. |
| containing 4 addresses from ::0 to ::3. | | | | Now verify the IPv6 OSPF router neighborship |
| Verify the IPv6 connectivity with ping: | | | | Router2#show ipv6 ospf neighbor |
| Router2#ping ipv6 2001:1ad8::1 | | | | Neighbor ID Pri State Dead Time Interface ID |
| Type escape sequence to abort. | | | | Interface |
| Sending 5, 100-byte ICMP Echos to 2001:1AD8::1, | | | | 172.16.1.1 1 FULL/BDR 00:00:31 4 FastEthernet0/0 |
| timeout is 2 seconds: | | | | As you can see, the other router is the backup |
| !!!!! | | | | designated router and it has loaded to the FULL |
| Success rate is 100 percent (5/5), round-trip min | | | | status, which means everything is up and running. |
| avg/max = 8/10/20 ms | | | | Check for the route |
| As you can see, we have ping from the other | | | | Router2#sh ipv6 route ospf | include ^O |
| side, now we can do the OSPF part. | | | | OE2 2001:1AD8:500::/64 [110/20] |
| Set a nullroute to redistribute to IPv6 OSPF, and | | | | We are receiving a /64 network as an external |
| configure IPv6 OSPF routing on Router1: | | | | OSPF route, everything now works as expected. |
| Router1(config)#ipv6 route 2001:1ad8:500::/64 null | | | | Happy routing! |
| 0 | | | | |