28.4.1 Example of configuring the OSPF
NBMA network type
Configuration requirements:
The three devices must be fully connected in a meshed network via frame relay. Each device
has only one frame relay line, which has the same bandwidth and PVC rate. Figure 28-1
shows the IP address allocation and connection of the device.
Figure 28-1 Example of configuring the OSPF NBMA network type
Requirement: 1) The NBMA network type is configured among device A, B and C, 2) The
device A is the designated router, and the device B is the backup designated device, 3) All
networks are of one area.
Concrete Configuration of Routers
Since the OSPF has no special configuration, it will automatically discover the neighbors via
multicast. If the interface is configured with the NBMA network type, the interface will not
send the OSPF multicast packets, so you need to specify the IP address of the neighbor.
Configuration of Device A:
#Configure the WAN port
interface Serial 1/0
ip address 192.168.123.1 255.255.255.0
encapsulation frame-relay
ip ospf network non-broadcast
ip ospf priority 10
# Configure the OSPF routing protocol to minimize the cost to the router B.
router ospf 1
network 192.168.123.0 0.0.0.255 area 0
neighbor 192.168.123.2 priority 5
neighbor 192.168.123.3