142
Chapter 4
OSPF Areas
shutdown
!
interface Serial3
no ip address
shutdown
!
interface BRI0
no ip address
shutdown
!
router ospf 1
network 172.16.10.5 0.0.0.0 area 0
network 172.16.11.0 0.0.0.255 area 0
!
Connected routers would have similar configurations. The key to this
configuration is to override the default network type by using the ip ospf
network broadcast
command.
Non-broadcast Configuration
This environment requires all neighbors to be statically configured so that a
DR may be chosen from the attached routers on the network segment. We
use the same commands as for the configuration of a broadcast network,
with the exception of the neighbor statements used under the OSPF routing
process. Here is a sample configuration:
RouterB#conf t
Enter configuration commands, one per line. End with
CNTL/Z.
RouterB(config)#interface serial1
RouterB(config-if)#ip ospf network non-broadcast
RouterB(config-if)#encapsulation frame-relay ietf
RouterB(config-if)#frame-relay map ip 172.16.25.10 210
broadcast
RouterB(config-if)#frame-relay map ip 172.16.25.11 211
broadcast
RouterB(config-if)#frame-relay map ip 172.16.25.12 212
broadcast
Copyright ©2001 SYBEX , Inc., Alameda, CA
www.sybex.com