Link to home
Create AccountLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

E1 and E2 OSPF route types

I have been trying to understand the difference between E1 and E2 OSPF route types, but it seems like I could not get to understand the E1 type well

http://www.thebryantadvantage.com/CCNPBSCIExamE2E1OSPFRoutes.htm
it says:
"The key with E2 routes is that the cost of these routes reflects only the cost of the path from the ASBR to the final destination; the cost of the path from R4 to R1 is not reflected in this cost."

I thought R1 is the ASBR..... it s confusing.

"E1 routes give you the cost for the full path from the local router to the remote network.

Not clear about what they mean


any help?

Thanks
SOLUTION
Avatar of Don Johnston
Don Johnston
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of jskfan

ASKER

in the example given in the link :

http://www.thebryantadvantage.com/CCNPBSCIExamE2E1OSPFRoutes.htm

They mentioned R1 and R4 only.
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
They mentioned R1 and R4 only.

You are correct. But what's the question?
Avatar of jskfan

ASKER

Let 's clear it up
R1 - is ASBR
R1 is in OSPF in one interface and in RIP in the other interface
R4 is in OSPF and in the same area as R1
To my understand(according to the link above) when RIP is redistributed to OSPF , the Route Type will show as E2 in R4 evn if R4 is connected to R5 in the same area routes of type E2 will also show in R5.

Now, E1 type, is it the round trip value? I mean the cost going from R1 to R4 and Probably to R5 and all the way back to R1 ?

I see:
R1(config-router)#redistribute rip subnets metric-type 1

if we had R5  it will be 2 hops :
R1(config-router)#redistribute rip subnets metric-type 2
and the routes will still show up as E1. Correct ?

basically I wanted to understand what they mean by :
"The key when working with OSPF and route redistribution is to keep in mind that the default OSPF route type for redistributed routes does not reflect the cost of the full path, but rather from the point of redistribution (the ASBR) to the destination network. E1 routes give you the cost for the full path from the local router to the remote network.
"
is the cost of the full path means:
 cost of round-trip R1-->R4 then back R4--> R1 ???

Thanks
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of jskfan

ASKER

* * so all we need to get real metric is to use this command on  the ASBR:
R1(config-router)#redistribute rip subnets metric-type 1

** Does it matter. at the first place, if the route shows as E1 or E2 ??

Thanks
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of jskfan

ASKER

Let me see if I understand now the difference:

example:

R1 is the ASBR (Between OSPF and RIP)
R4 is in the OSPF area
R6 is in the RIP area

when R1 injects(redistribute) RIP routes to OSPF, they will show up as E2 in R4 route table
the metric will represent only the distance between R1 to R6 (From ASBR to the next router in RIP area that it received RIP routes from).
E2, is kind of overwrites the metric between R4 to R1
E1 adds the metric from R4 to R1 to the metric received by R1(ASBR) from RIP router.
That s how I understood it....
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of jskfan

ASKER

Thanks guys!