Two interfaces to same router, different costs
Posted: Mon Dec 03, 2018 8:12 pm
Hello everyone,
I'm having an issue with one router, using OSPF.
This router (A) is connected to a gateway (G) using two other routers (B, C).
Both routers are 2 hops away, so there is another router in both path before the gateway (G).
So, router A has:
ether1 connected to G with one other hop, with different path than ether2
ether2 connected to G with one other hop, with different path than ether1
Router A has a tunnel to G for some specific traffic.
I would like to:
1) Send tunnel traffic to G using ether1 path
2) Send all other traffic to G using ether2 path
My issue is that if I set an higher cost of ether2 path, traffic tunnel will follow ether1 path to reach G because it has lower cost, and vice versa.
So, how can I achieve this in a simple way on OSPF without having to use static routes?
Thank you!
I'm having an issue with one router, using OSPF.
This router (A) is connected to a gateway (G) using two other routers (B, C).
Both routers are 2 hops away, so there is another router in both path before the gateway (G).
So, router A has:
ether1 connected to G with one other hop, with different path than ether2
ether2 connected to G with one other hop, with different path than ether1
Router A has a tunnel to G for some specific traffic.
I would like to:
1) Send tunnel traffic to G using ether1 path
2) Send all other traffic to G using ether2 path
My issue is that if I set an higher cost of ether2 path, traffic tunnel will follow ether1 path to reach G because it has lower cost, and vice versa.
So, how can I achieve this in a simple way on OSPF without having to use static routes?
Thank you!