04-07-2008 02:09 AM - edited 03-05-2019 10:14 PM
|---R2----R5---|
R1---| |--R6
|---R3----R4---|
there are lo11 on R1 and Lo66 on R6 i need the traffic between them take the path R2,R5 All the routers are in Area 0
I can't use the cost command beacuse that will force all the traffic but i need the traffic between these 2 loopbacks only
Any help will be appreciated?
04-07-2008 02:10 AM
|---R2----R5---|
R1---| |--R6
|---R3----R4---|
04-07-2008 02:11 AM
R1 is connected to both of R2,R3 and R6 connected to both of R5,R6
04-07-2008 03:39 AM
I think you will have to do this with a policy route.
I don't think you can do it with OSPF. The reason is that, within a single area, the OSPF database is unaware of the cost of individual prefixes. It only knows about the cost of the links. So what is valid for one prefix is valid for all of them.
Kevin Dorrell
Luxemboueg.
04-07-2008 05:05 AM
but how can i use the cost for individual Prefix
04-07-2008 06:11 AM
As far as I know, there is no way you can within an area. The cost is the cost of a link, and applies to all prefixes. OSPF is link-state, and so it only knows about links. The cost of each link is the same for all prefixes.
If you have external routes, then you can set the cost at the ASBR. However, even then you cannot differentiate the cost by prefix.
The LSA carries a cost for a link, but says nothing about each prefix.
Kevin Dorrell
Luxembourg
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: