cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1055
Views
10
Helpful
23
Replies

OSPF on broacast links

opers13
Level 1
Level 1

Hi all,

why would I use the command "ip ospf network point-to-point" on broadcast links and not have DR and BDR election?

I know the links would form adjacencey with each other but... any other reason??

thanks

23 Replies 23

Richard Burts
Hall of Fame
Hall of Fame

Alex

If you have a network link that is a broadcast link and if it has only 2 devices on it that can run OSPF then you could configure the OSPF network type as point to point. In doing this you would eliminate a (small) amount of overhead that the OSPF process uses to negotiate DR/BDR relationship and to track DR/BDR state.

HTH

Rick

HTH

Rick

OK, so when there's a change in topology how would that work without a DR/BDR?

For example if you removed the VLAN from the switch connecting them? That's an interesting point. Both routers would detect the neighbor down, but they would both continue to advertise the network to the rest of the topology. But I don't think there would be any other change from the broadcast situation.

Kevin Dorrell

Luxembourg

Kevin Dorrell
Level 10
Level 10

This does work, as you have observed. The only reason I can think why you should do it is that the CCIE scenario told you to do so!

I suppose you avoid the DR/BDR election, so it will come up slightly quicker. What would happen if you added third router in the mix could be anyone's guess.

Kevin Dorrell

Luxembourg

Alex

If you did configure this and when there is a network change it would work just the same way that it works if routers are connected by point to point serial links. The routers have formed neighbor relationships, they track each other, and when they have a change they send the LSA to the neighbor.

As Kevin points out one reason that this is not commonly configured is the possibility that the broadcast link could get a third OSPF speaking device. In that case the DR/BDR really do help the network scale better.

And the savings in overhead of not having the election is very slight. So why take the chance?

HTH

Rick

HTH

Rick

Kevin, nothing to do with CCIE lab scenario.

This is a large network and all broadcast links use the point-to-point command....so no DR/BDR.

Sorry, I was just joking there. ;-)

If it is a large network, I guess they were just trying to minimise the convergence time. Did they also adjust the timers?

Kevin Dorrell

Luxembourg

Alex

It is interesting that this is not a CCIE or lab question but a question about a live network. As I commented the DR/BDR do help networks scale better when there are more than 2 OSPF speakers on the link. If every router has to actively neighbor with every other router on the link it gets quite complicated as the number of neighbors increases.

HTH

Rick

HTH

Rick

Rick,

I don't have access to my lab from here, so I cannot try it out. Do you know what happens if you do a point-to-point on a multiaccess network, and a third router (also p2p) joins in? Can a point-to-point interface hold more than one neighbor? Would you get a full mesh?

Kevin Dorrell

Luxembourg

Kevin

I do not know for sure what happens with a third router on the link, assuming that all routers on the link are configured as point to point. I believe that all routers form neighbor relationships with each other router on the segment.

I believe that an interface configured as point to point network type can have more than one neighbor. I believe that you do get full mesh. This results in a sub-optimal situation. With full mesh each router must maintain the neighbor relationship and the data base sync directly with each other router on the link. With full mesh the number of peers is calculated as n times (n-1) and n square relationships do not scale well.

HTH

Rick

HTH

Rick

All 7600s and 6500s have neighbor relationship on every interface with the P2P command..but it only sees the connected interface as a neighbor.

Alex

Are there any of these broadcast links that have 3 OSPF speaking devices on the link?

With 2 OSPF speakers I believe that there is not any particular functional difference, and you have saved a small amount of overhead. With 3 PSPF speakers I believe that it is slightly negative in terms of efficiency. As the number of neighbors increases the loss of efficiency increases rapidly.

HTH

Rick

HTH

Rick

It's not only overhead it's convergency time. With tuned timers and BFD involved converting links to ptp is a big deal.

In trying to understand what is going on here it may be helpful to clarify our understanding of becoming a neighbor and of establishing adjacency. Some people regard them as the same but they are actually different. Just because 2 routers have become neighbors does not mean that they have necessarily established adjacency.

In becoming a neighbor routers send and receive hello messages. They check parameters on the hello message to determine if they should become neighbors (do the timers match, are they on a common subnet, does the area type match, etc). If all the parameters match properly then the routers become neighbors.

To establish adjacency the routers sync their data bases going through the DBDs and the LSAs to verify that they each have the same understanding of the network topology.

For point to point links (which have no DR/BDR) neighbors automatically proceed to form adjacency. On multi-access links the routers must consider DR and BDR in determining whether to form adjacency. Two routers will form adjacency only if one of them is DR or is BDR.

So point to point is slight more efficient when there are only 2 OSPF speakers. And multi-access/broadcast with election of DR/BDR is more efficient if there are 3 or more OSPF speakers.

HTH

Rick

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card