Sunteți pe pagina 1din 3

Configuring OSPF Network-types

Broadcast Network Type over Frame-Relay When building out an OSPF network you must take into consideration of the internet network types. This is dependent on the layer 2 technology used such as Ethernet, point-to-point T1 circuit, frame relay and even frame relay with no broadcast. There are five different configurable OSPF network types on a Cisco router, broadcast, non-broadcast, point-to-point, point-to-multipoint and point-to-multipoint non-broadcast. As a network engineer in the field working with OSPF you must know the differences in the OSPF network types and which types are compatible with one another. Some types will work with each other but you have to adjust the hello/dead timers. With this being said the following list below shows which OSPF network types can inter-operate with each other; Broadcast to Broadcast Non-broadcast to Non-broadcast Point-to-Point to Point-to-Point Broadcast to Non-broadcast (adjust hello/dead timers) Point-to-Point to Point-to-Multipoint (adjust hello/head timers)

If you understand non-broadcast then this one is easy. Its the EXACT same thing except we dont have to configure neighbors. OSPF will use multicast and discover OSPF neighbors automatically. The broadcast network type is the default for Ethernet interfaces as well.

CONFIGURING OSPF NETWORK-TYPES BROADCAST OVER FR

CNE - MAHER ABDELSHKOUR

Hub(config)#interface serial 0/0 Hub(config-if)#ip address 192.168.123.1 255.255.255.0 Hub(config-if)#encapsulation frame-relay Hub(config-if)#ip ospf network broadcast Hub(config-if)#exit Hub(config)#router ospf 1 Hub(config-router)#network 192.168.123.0 0.0.0.255 area 0 Here is the configuration of the Hub router. You can see I used the ip ospf network broadcast command to change the OSPF network type. I didnt have to do this because broadcast is the default but to make my configuration example complete I decided to add it. Here are the spoke routers:

Spoke1(config)#interface serial 0/0 Spoke1(config-if)#ip address 192.168.123.2 255.255.255.0 Spoke1(config-if)#encapsulation frame-relay Spoke1(config-if)#ip ospf network broadcast Spoke1(config-if)#ip ospf priority 0 Spoke1(config-if)#exit Spoke1(config)#router ospf 1 Spoke1(config-router)#network 192.168.123.0 0.0.0.255 area 0 Spoke2(config)#interface serial 0/0 Spoke2(config-if)#ip address 192.168.123.3 255.255.255.0 Spoke2(config-if)#encapsulation frame-relay Spoke2(config-if)#ip ospf network broadcast Spoke2(config-if)#ip ospf priority 0 Spoke2(config-if)#exit Spoke2(config)#router ospf 1 Spoke2(config-router)#network 192.168.123.0 0.0.0.255 area 0 Make sure you set the priority to 0 for the spoke routers. We dont want them to become the DR or BDR!

Note: Make sure you have a frame-relay map statement with the broadcast keyword or you wont be able to send multicast on your frame-relay network. By default Inverse ARP is enabled and will do this for youif you dont have inverse ARP, make sure you add it!
Hub#show ip ospf neighbor

CONFIGURING OSPF NETWORK-TYPES BROADCAST OVER FR

CNE - MAHER ABDELSHKOUR

Neighbor ID Interface 192.168.123.2 Serial0/0 192.168.123.3 Serial0/0

Pri 0 0

State FULL/DROTHER FULL/DROTHER

Dead Time 00:00:30 00:00:35

Address 192.168.123.2 192.168.123.3

Here you can see that the hub router is the DR because the spoke routers are DROTHERS.

CONFIGURING OSPF NETWORK-TYPES BROADCAST OVER FR

CNE - MAHER ABDELSHKOUR

S-ar putea să vă placă și