
- Configure Area 1 to become Totally Stub Area for both IPv4 and IPv6.
- Configure Area 2 to become Stub Area for both IPv4 and IPv6.
hostname R1
ipv6 unicast
int l0
ip add 1.1.1.1 255.255.255.255
ipv6 add 2007::1111/64
ospfv3 100 ipv4 area 0
ospfv3 100 ipv6 area 0
int f0/0
no shut
ip add 10.1.1.1 255.255.255.0
ipv6 add 2001::1/64
ospfv3 100 ipv4 area 0
ospfv3 100 ipv6 area 0
int f0/1
no shut
ip add 10.1.2.1 255.255.255.252
ipv6 add 2002::1/64
ospfv3 100 ipv4 area 0
ospfv3 100 ipv6 area 0
router ospfv3 100
address-family ipv4 unicast
passive-interface f0/0
passive-interface l0
address-family ipv6 unicast
passive-interface f0/0
passive-interface l0
hostname R2
ipv6 unicast
int l0
ip add 2.2.2.2 255.255.255.255
ipv6 add 2007::2222/64
ospfv3 100 ipv4 area 0
ospfv3 100 ipv6 area 0
int f0/0
no shut
ip add 10.1.2.2 255.255.255.252
ipv6 add 2002::2/64
ospfv3 100 ipv4 area 0
ospfv3 100 ipv6 area 0
int s1/0
no shut
ip add 10.1.2.5 255.255.255.252
ipv6 add 2003::1/64
encapsulation ppp
ospfv3 100 ipv4 area 1
ospfv3 100 ipv6 area 1
int s1/1
no shut
ip add 10.1.2.9 255.255.255.252
ipv6 add 2005::1/64
encapsulation frame-relay
frame-relay interface-dlci 204
frame-relay map ipv6 2005::2 204 broadcast
frame-relay map ip 10.1.2.10 204 broadcast
frame-relay map ipv6 FE80::C804:1BFF:FE34:0 204 broadcast
ospfv3 100 ipv4 area 2
ospfv3 100 ipv6 area 2
router ospfv3 100
address-family ipv4 unicast
passive-interface l0
area 1 stub no-summary
area 2 stub
address-family ipv6 unicast
passive-interface l0
area 1 stub no-summary
area 2 stub
hostname R3
ipv6 unicast
int l0
ip add 3.3.3.3 255.255.255.255
ipv6 add 2007::3333/64
ospfv3 100 ipv4 area 1
ospfv3 100 ipv6 area 1
int f0/0
no shut
ip add 10.1.3.1 255.255.255.0
ipv6 add 2004::1/64
ospfv3 100 ipv4 area 1
ospfv3 100 ipv6 area 1
int s1/0
no shut
ip add 10.1.2.6 255.255.255.252
ipv6 add 2003::2/64
encapsulation ppp
ospfv3 100 ipv4 area 1
ospfv3 100 ipv6 area 1
router ospfv3 100
address-family ipv4 unicast
passive-interface f0/0
passive-interface l0
area 1 stub
address-family ipv6 unicast
passive-interface f0/0
passive-interface l0
area 1 stub
hostname R4
ipv6 unicast
int l0
ip add 4.4.4.4 255.255.255.255
ipv6 add 2007::4444/64
ospfv3 100 ipv4 area 2
ospfv3 100 ipv6 area 2
int f0/0
no shut
ip add 10.1.4.1 255.255.255.0
ipv6 add 2006::1/64
ospfv3 100 ipv4 area 2
ospfv3 100 ipv6 area 2
int s1/0
no shut
ip add 10.1.2.10 255.255.255.252
ipv6 add 2005::2/64
encapsulation frame-relay
frame-relay interface-dlci 402
frame-relay map ipv6 2005::1 402 broadcast
frame-relay map ip 10.1.2.9 402 broadcast
frame-relay map ipv6 FE80::C802:17FF:FEF4:0 402 broadcast
ospfv3 100 ipv4 area 2
ospfv3 100 ipv6 area 2
router ospfv3 100
address-family ipv4 unicast
passive-interface f0/0
passive-interface l0
area 2 stub
address-family ipv6 unicast
passive-interface f0/0
passive-interface l0
area 2 stub
R3# show ip route ospfv3
Codes: O - OSPF, IA - OSPF inter area
* - candidate default
Gateway of last resort is 10.1.2.5 to network 0.0.0.0
O*IA 0.0.0.0/0 [110/65] via 10.1.2.5, 00:00:07, Serial1/0
R3# show ipv6 route ospf
Codes: OI - OSPF Inter
OI ::/0 [110/65]
via FE80::C802:17FF:FEF4:0, Serial1/0
R4# show ip route ospfv3
Codes: O - OSPF, IA - OSPF inter area
* - candidate default
Gateway of last resort is 10.1.2.9 to network 0.0.0.0
O*IA 0.0.0.0/0 [110/65] via 10.1.2.9, 00:00:34, Serial1/0
1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/65] via 10.1.2.9, 00:00:34, Serial1/0
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/64] via 10.1.2.9, 00:00:34, Serial1/0
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/128] via 10.1.2.9, 00:00:34, Serial1/0
10.0.0.0/8 is variably subnetted, 8 subnets, 3 masks
O IA 10.1.1.0/24 [110/66] via 10.1.2.9, 00:00:34, Serial1/0
O IA 10.1.2.0/30 [110/65] via 10.1.2.9, 00:00:34, Serial1/0
O IA 10.1.2.4/30 [110/128] via 10.1.2.9, 00:00:34, Serial1/0
O IA 10.1.3.0/24 [110/129] via 10.1.2.9, 00:00:34, Serial1/0
R4# show ipv6 route ospf
Codes: OI - OSPF Inter
OI ::/0 [110/65]
via FE80::C802:17FF:FEF4:0, Serial1/0
OI 2001::/64 [110/66]
via FE80::C802:17FF:FEF4:0, Serial1/0
OI 2002::/64 [110/65]
via FE80::C802:17FF:FEF4:0, Serial1/0
OI 2003::/64 [110/128]
via FE80::C802:17FF:FEF4:0, Serial1/0
OI 2004::/64 [110/129]
via FE80::C802:17FF:FEF4:0, Serial1/0
OI 2007::1111/128 [110/65]
via FE80::C802:17FF:FEF4:0, Serial1/0
OI 2007::2222/128 [110/64]
via FE80::C802:17FF:FEF4:0, Serial1/0
OI 2007::3333/128 [110/128]
via FE80::C802:17FF:FEF4:0, Serial1/0