networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: OSPF Quiz
PostPosted: Sun Oct 23, 2011 3:39 pm 
Offline
Moderator
Moderator
User avatar

Joined: Mon Apr 07, 2008 10:38 am
Posts: 9390
Location: Orlando, FL
Certs: CCNP RS, CCNP DC, CCDP, CCIP
Image

Assume interfaces have correct bandwidth statements and no cost commands have been added. R1 and R2 are redistributing the 192.168.1.0/24 prefix as E2 with a cost of 100.

Which path does R4 take to the 192.168.1.0/24 network? Does it load balance? Explain.

Chris, Jason, James and Darren, please PM the answer. I don't want you guys spoiling it.:P

_________________
http://blog.alwaysthenetwork.com


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Sun Oct 23, 2011 4:10 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Jan 17, 2005 11:01 pm
Posts: 5148
Location: Canada eh
Certs: 350-001, CCNP, CXFF, ITILv3F
Huh. My initial answer to this was wrong. Glad I labbed it before I answered. And thanks... My vRack session is borked right now so this gave me something to do while support tries to fix it.

_________________
blog.brokennetwork.ca


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Sun Oct 23, 2011 4:38 pm 
Offline
Senior Member
Senior Member

Joined: Wed Jan 26, 2011 3:38 pm
Posts: 386
Location: New Hampshire
Extra Credit!

Make R4 an ABR:

R1-R4 link: area0
R4-R3 link: area1
R3-R2 link: area1

Then:
router ospf <process-id>
no compatible rfc1583

What happens now, and why?


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Sun Oct 23, 2011 4:41 pm 
Offline
Moderator
Moderator
User avatar

Joined: Mon Apr 07, 2008 10:38 am
Posts: 9390
Location: Orlando, FL
Certs: CCNP RS, CCNP DC, CCDP, CCIP
slow your roll

:squint:

_________________
http://blog.alwaysthenetwork.com


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Sun Oct 23, 2011 4:45 pm 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12424
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
chrismarget wrote:
Extra Credit!

Make R4 an ABR:

R1-R4 link: area0
R4-R3 link: area1
R3-R2 link: area1

Then:
router ospf <process-id>
no compatible rfc1583

What happens now, and why?


Without looking at the actual rfcs, would R4 still not prefer the Area 0 link as that is the backbone area? I think this has something to do with routing loops from getting the same external LSA from 2 sources?

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Sun Oct 23, 2011 4:46 pm 
Offline
Moderator
Moderator
User avatar

Joined: Mon Apr 07, 2008 10:38 am
Posts: 9390
Location: Orlando, FL
Certs: CCNP RS, CCNP DC, CCDP, CCIP
Keep answering people, but here's another question. What happens if we change it to:

Image

Everything is the same except R2 is now redistributing as E1. Which path and why?

_________________
http://blog.alwaysthenetwork.com


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Sun Oct 23, 2011 4:51 pm 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Nov 11, 2009 12:25 am
Posts: 575
You are right. Editing for others.

-Vito


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Sun Oct 23, 2011 4:58 pm 
Offline
New Member
New Member

Joined: Sat Sep 17, 2011 9:19 pm
Posts: 15
Certs: CCNA, SWITCH, TSHOOT, WIP: ROUTE
In the initial question, I believe R4 would chose R1 as the path, and won't load balance. Although with E2, the metric doesn't increment, the "forward metric" of R1 would be closer, and thus R4 would choose it over R2.

2nd question, still no load balancing as the metric of E1 increments.


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Sun Oct 23, 2011 5:17 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Jan 17, 2005 11:01 pm
Posts: 5148
Location: Canada eh
Certs: 350-001, CCNP, CXFF, ITILv3F
chrismarget wrote:
Extra Credit!

Make R4 an ABR:

R1-R4 link: area0
R4-R3 link: area1
R3-R2 link: area1

Then:
router ospf <process-id>
no compatible rfc1583

What happens now, and why?

Damn you for making me read an RFC...

RFC 2328 page 173/174 wrote:
(c) If the new AS external path is still indistinguishable
from the current paths in the N's routing table entry,
and RFC1583Compatibility is set to "disabled", select
the preferred paths based on the intra-AS paths to the
ASBR/forwarding addresses, as specified in Section
16.4.1.

(d) If the new AS external path is still indistinguishable
from the current paths in the N's routing table entry,
select the preferred path based on a least cost
comparison. Type 1 external paths are compared by
looking at the sum of the distance to the forwarding
address and the advertised type 1 metric (X+Y). Type 2
external paths advertising equal type 2 metrics are
compared by looking at the distance to the forwarding
addresses.


Vito_Corleone wrote:
Everything is the same except R2 is now redistributing as E1. Which path and why?

That one's easy :P

_________________
blog.brokennetwork.ca


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Sun Oct 23, 2011 5:23 pm 
Offline
Senior Member
Senior Member

Joined: Wed Jan 26, 2011 3:38 pm
Posts: 386
Location: New Hampshire
Infinite wrote:
chrismarget wrote:
Extra Credit!

Make R4 an ABR:

R1-R4 link: area0
R4-R3 link: area1
R3-R2 link: area1

Then:
router ospf <process-id>
no compatible rfc1583

What happens now, and why?

Damn you for making me read an RFC...

I believe this is the applicable paragraph:

RFC 1583 wrote:
(3) The inter-area routes are calculated, through examination of
summary link advertisements. If the router is attached to
multiple areas (i.e., it is an area border router), only
backbone summary link advertisements are examined.
Well, the command is: no compatible rfc1583...
:-)
The relevant details are in RFC 2178 section 16.4.1


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Sun Oct 23, 2011 5:28 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Jan 17, 2005 11:01 pm
Posts: 5148
Location: Canada eh
Certs: 350-001, CCNP, CXFF, ITILv3F
Yeh... Saw I made an error there. I changed my post.

_________________
blog.brokennetwork.ca


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Sun Oct 23, 2011 6:42 pm 
Offline
Member
Member

Joined: Sun Jun 26, 2011 6:22 pm
Posts: 108
Location: Quebec, Canada
Certs: CCNP, CCNA Security, CCNA, JNCIS-ENT
For question 1: Goes through R1. Metric it gets is the same from both R1 and R2, but the internal path in the area is shorter through R1.

For question 2: I believe it will go through R3-R2 as an E1 route would always be preferred over an E2, even if the E1 has a higher metric. Not 100% sure on that one ;D


Top
 Profile  
 
 Post subject: OSPF Quiz
PostPosted: Mon Oct 24, 2011 12:30 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Wed Jul 12, 2006 3:36 pm
Posts: 1144
Location: USA
Certs: CCNP
Vito_Corleone wrote:
Image

Assume interfaces have correct bandwidth statements and no cost commands have been added. R1 and R2 are redistributing the 192.168.1.0/24 prefix as E2 with a cost of 100.

Which path does R4 take to the 192.168.1.0/24 network? Does it load balance? Explain.

Chris, Jason, James and Darren, please PM the answer. I don't want you guys spoiling it.:P


Since the type 2 routes won't increment the metric then R4 would see both paths as equal cost and load balance across them.

That's my shot at this.

Dave


Sent from my iPad using Tapatalk

_________________
Taking the sh out of IT since 2005!


Top
 Profile  
 
 Post subject: OSPF Quiz
PostPosted: Mon Oct 24, 2011 12:37 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Wed Jul 12, 2006 3:36 pm
Posts: 1144
Location: USA
Certs: CCNP
Vito_Corleone wrote:
Keep answering people, but here's another question. What happens if we change it to:

Image

Everything is the same except R2 is now redistributing as E1. Which path and why?


The path from R4 will be through R3 and R2 since the type 1 route is preferred over the type 2 route no matter the cost.

Dave


Sent from my iPad using Tapatalk

_________________
Taking the sh out of IT since 2005!


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Mon Oct 24, 2011 12:58 am 
Offline
Member
Member
User avatar

Joined: Tue Aug 03, 2010 5:34 am
Posts: 154
Certs: CCNA,CCNP,CCIP
a.)path R4->>R1 is preferred. Even though the metrics tie, R4 chooses the best route based on the lowest cost to the ASBR(s) that advertises the metric
b.)path R4->>R3->>R2 E1 is preferred over E2 route regardless of the metric

_________________
"Success is going from failure to failure without a loss of enthusiam"
- Winston Churchill


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Mon Oct 24, 2011 7:08 am 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Mon Oct 06, 2008 8:01 am
Posts: 668
Certs: CCNA,CCNP
moods wrote:
a.)path R4->>R1 is preferred. Even though the metrics tie, R4 chooses the best route based on the lowest cost to the ASBR(s) that advertises the metric
b.)path R4->>R3->>R2 E1 is preferred over E2 route regardless of the metric



This.


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Mon Oct 24, 2011 8:41 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Jun 15, 2009 9:48 am
Posts: 2871
Location: Lynchburg VA
Certs: CC\NP\DP\IP\NA-Security\NA-Voice
I think it should load balance
by deafault OSPF doesn't increment the cost of a imported path (metric type 2 I think) if you want it to increment you have to set it to type 1 (could have those backwards though)

_________________
Freedom to all the people. Brave, true and strong.
Freedom to all the people. Unless I think you're wrong

dhimes.com


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Mon Oct 24, 2011 8:46 am 
Offline
CCIE #38070
CCIE #38070
User avatar

Joined: Wed Jun 18, 2008 7:49 am
Posts: 12424
Location: London, UK
Certs: CCIE ,CC-NP/IP, JNCIP-SP, JNCIS-ENT, BC-/SPNE/NP
dlots wrote:
I think it should load balance
by deafault OSPF doesn't increment the cost of a imported path (metric type 2 I think) if you want it to increment you have to set it to type 1 (could have those backwards though)


It won't increment, but R4 still makes a decision. What is that decision?

_________________
www.mellowd.co.uk/ccie/


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Mon Oct 24, 2011 9:03 am 
Offline
Senior Member
Senior Member

Joined: Wed Jan 26, 2011 3:38 pm
Posts: 386
Location: New Hampshire
Quote:
I think it should load balance
If R4 load balances, won't R3 also load balance? They're in the same situation: Each has two hops to an ABR going one way, and one hop to the ABR going the other way.

If they're both load balancing, that means that each router could be using the other for transit to 192.168.1.0/24.

That sounds like one looong page of traceroute output for this four router network! :-)


Top
 Profile  
 
 Post subject: Re: OSPF Quiz
PostPosted: Mon Oct 24, 2011 10:59 am 
Offline
Senior Member
Senior Member

Joined: Mon Jan 26, 2009 5:59 pm
Posts: 331
Ah, nothing like rooting through an RFC on a Monday morning to overturn a misconception.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group