Home > Archive > CCNA > October 2004 > Ospf Dr-bdr





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Ospf Dr-bdr
Warfare

2004-09-18, 10:50 pm

I am studying OSP now and I thought I understood the DR/BDR election until I got confronted with this question that really confused me

http://www.warfaresystems.f2s.com/sw/images/OSPF-DR.jpg

What will be the result of the DR and BDR elections for this single area OSPF network?

(choose 3)

1- HQ will be DR for 10.4.0.0/16.
2- Router A will be DR for 10.4.0.0/16.
3- HQ will be BDR for 10.4.0.0/16.
4- Router A will be DR for 10.5.0.0/16.
5- Remote will be DR for 10.5.0.0/16.
6- Remote will be BDR for 10.5.0.0/16.


can someone explain it to me better?
smrkdown

2004-09-18, 11:32 pm

In my opinion, based on the information given, if the routers have formed adjacencies, Router A would be the BDR for each subnet, and the attached router for the corresponding subnet would be the DR. I think the question is flawed.

In reality, which ever router were to be turned on first, or which ever router the OSPF process was enabled on first for the area, would be elected the DR and BDR since OSPF doesn't allow for preemption of DR/BDR status.
dmaftei

2004-09-19, 7:54 am

As I recall, DRs and BDRs are elected per multicast segment, not per area. Therefore you will have two DR/BDR pairs: one on 10.4.0.0/16, another on 10.5.0.0/16.

You probably know that the criterion to elect the DR is the router's priority (highest wins); at equal priorities, highest router id wins. I think it's fair to assume that all routers have the same priority (otherwise they would've told you the priorities). It's also fair to assume that the router id on a router is its highest IP address (otherwise they would've told you the configured router ids). Thus the router ids are 10.4.0.2 for HQ, 10.5.0.1 for A and 10.5.0.2 for Remote.

With the information you have, you can see that:

- on 10.4.0.0/16, DR is HQ, BDR is A.
- on 10.5.0.0/16, DR is Remote, BDR is A.

smrkdown makes a good point about preemption, and he is right. [wrong argument removed.]

(There is also the case when router A is configured with priority 0, in which case it is not eligible, so you would have DR without BDR, but that's beyond the scope of your question.)
smrkdown

2004-09-19, 6:28 pm

So dmaftei and I agree as to which routers will fulfill which roles. I do disagree that a router must have first formed a neighbor relationship before it will perform the DR/BDR election process. I verified this in my lab. I turned on only one router, and it did elect itself as the DR for its broadcast interface (eth0). It did not however elect itself as the BDR. No other routers were active on the internetwork.
Just Visiting

2004-09-19, 8:53 pm

You don't have an "election" per se when only one router is present. In OSPF as in many things, when a a router first comes up it assumes it is the boss. There hasn't been an election, it is simply waiting to hear from others.

-JV
smrkdown

2004-09-19, 9:03 pm

And..... Since it is initially the boss, it will remain the boss since there are no preemption capabilities.

And yes it will go through the election process regardless if it is the only router present or not.

This is why it is important to use priorities or loopback addresses if you actually care which routers will be the DR and BDR.

But don't take my word for it. Take the Carl Timm and Wade Edwards word for it:

"to further the example, if initially there is only one OSPF router interface active on the segment, it becomes the DR. The next router would become the BDR. Subsequent routers would all accept the existing DR and BDR and form adjacencies with them"

And Andrew Colton:

"When an interface first becomes functional, it checks whether the network has a designated router. If there is one, the router accepts that designated router regardless of its own OSPF priority"

Or just try it on your own lab and see what happens.
dmaftei

2004-09-20, 7:22 am

quote:
Originally posted by smrkdown
Or just try it on your own lab and see what happens.
I don't have a lab, but I'll take your work for it. You were right and I was wrong.
smrkdown

2004-09-20, 10:03 am

I don't pride myself on being right. I actually had to test it to see who was right.
dmaftei

2004-09-20, 11:20 am

quote:
Originally posted by smrkdown
I don't pride myself on being right.
Maybe you should...
ZacDogg

2004-09-20, 11:37 am

Router A will actually be the DR on the 10.4.0.0/16 subnet. Router A's router-id will be 10.5.0.1 and the HQ routers will be 10.4.0.2. Routers running OSPF take their highest loopback address, if available, as their router-id. If there aren't any loopback then it takes the highest address of the other interfaces.

Zac
smrkdown

2004-09-20, 12:45 pm

Yup, Zac is right.

See why I don't pride myself on it.
dmaftei

2004-09-20, 1:11 pm

quote:
Originally posted by ZacDogg
Router A will actually be the DR on the 10.4.0.0/16 subnet.
Well, at least I got the router ids right. Time for me to hit the "refresh OSPF" button...
Warfare

2004-10-01, 3:51 pm

Thanks for your inputs guys..

good posts..I couldnt post for a while because the forum seemd frozen or down?!


smrkdown makes sense and his OSPF isn't that rusty.

I was following everything until i got lost between dmaftei's reply and ZacDogg's. They seem to be 2 different answers..correct me if i misread it?



dmaftei said:
============
router ids are 10.4.0.2 for HQ, 10.5.0.1 for A and 10.5.0.2 for Remote.


- on 10.4.0.0/16, DR is HQ, BDR is A.
- on 10.5.0.0/16, DR is Remote, BDR is A.


ZacDogg said:
===============

Router A will actually be the DR on the 10.4.0.0/16 subnet. Router A's router-id will be 10.5.0.1 and the HQ routers will be 10.4.0.2. Routers running OSPF take their highest loopback address, if available, as their router-id. If there aren't any loopback then it takes the highest address of the other interfaces.
dmaftei

2004-10-01, 5:24 pm

ZacDogg is right. I thought I already admitted I got the DR and BDR wrong. The only thing I got right was the router id:
quote:
Originally posted by Warfare
dmaftei said:
===============
router ids are
10.4.0.2 for HQ
10.5.0.1 for A
10.5.0.2 for Remote.

ZacDogg said:
===============
Router A's router-id will be 10.5.0.1
the HQ routers will be 10.4.0.2
Warfare

2004-10-03, 7:56 am

Thanks guys, it's clear to me now
Lasertop

2004-10-05, 1:43 pm

The Answer is

2 - Since it has a higher ID
3 and 5

Correct?
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net