background image
176
Chapter 5
Interconnecting OSPF Areas
RouterC
interface Ethernet0
ip address 10.1.2.2 255.255.255.0
!
router ospf 10
network 10.0.0.0.0 255.255.255 area 25
area 25 stub
RouterD
interface Ethernet0
ip adress 10.1.1.2 255.255.255.0
!
router ospf 10
network 10.0.0.0 0.255.255.255 area 25
area 25 stub
First, we'll configure RouterB. Notice that RouterB is an ABR and that it
is the only ABR in Area 25, as recommended in our stub area design guide-
lines. When configuring an ABR that is a member of a stub area, be cautious
to only configure the stub area as stubby:
RouterB(config)#router ospf 10
where 10 is the Process ID.
RouterB(config-router)#network 1.0.0.0 0.255.255.255 area 0
where 1.0.0.0 0.255.255.255 is the network and wildcard mask of a net-
work connected to RouterB and where 0 is the area that network 1.1.1.0/24
is a member of.
RouterB(config-router)#network 10.0.0.0 0.255.255.255 area 25
where 10.0.0.0 0.255.255.255 is a summary network and wildcard
mask of networks connected to RouterB and where 25 is the area that net-
works 10.1.1.0/24 and 10.1.2.0/24 are members of.
RouterB(config-router)#area 25 stub
where 25 is the area that we have designated as stubby.
Notice that instead of using two network statements to represent net-
works 10.1.1.0/24 and 10.1.2.0/24, we used a single network statement
specifying network 10.0.0.0/8, which includes, or summarizes, these two
Copyright ©2001 SYBEX , Inc., Alameda, CA
www.sybex.com