Routing Configuration 87
ipv6 address 3000:3:100::/64 eui64
ip ospf area 0.0.0.0
ipv6 ospf
exit
• Define an OSPF router:
ipv6 router ospf
router-id 3.3.3.3
exit
router ospf
router-id 3.3.3.3
exit
exit
Configure Router B: Router B is a ABR that connects Area 0 to Areas 1 and 2.
• Configure IPv6 and IPv4 routing. The static routes are included for illustration only: Redistributed
static routes, like routes distributed from other protocols, are not injected into stub areas such as Area
1:
(console)#configure
ipv6 unicast-routing
ipv6 route 3000:44:44::/64 3000:2:3::210:18ff:fe82:c14
ip route 10.23.67.0 255.255.255.0 10.2.3.3
• On VLANs 10, 5, and 17, configure IPv4 and IPv6 addresses and enable OSPF. For IPv6, associate
VLAN 10 with Area 1 and VLAN 17 with Area 2. (OSPF is enabled on the IPv4 VLAN routing interface
in the next code group.)
interface vlan 10
routing
ip address 10.1.2.2 255.255.255.0
ipv6 address 3000:1:2::/64 eui64
ipv6 ospf
ipv6 ospf areaid 1
exit
interface vlan 5
routing
ip address 10.2.3.2 255.255.255.0
ipv6 address 3000:2:3::/64 eui64
ipv6 ospf
exit
interface vlan 17
routing
ip address 10.2.4.2 255.255.255.0
ipv6 address 3000:2:4::/64 eui64
ipv6 ospf
ipv6 ospf areaid 2
exit