08-03-2017 06:07 AM - edited 03-05-2019 08:56 AM
Hi,
We have 2 wan links at branch end to reach the DC. When we are trying to access to DC applications outgoing traffic is going one link and return traffic is taking other link.
We want return traffic on same link.
Please suggest how we take fix the issue.
Regards,
Deepak
08-03-2017 06:11 AM
Hi,
Have you modified the OSPF cost under the interfaces, it should prefer the lowest value.
Also have you analyzed why it is preferring other link from the DC?
You can use a show ip ospf database and show ip route <branch source network>
08-03-2017 07:25 AM
08-03-2017 07:36 AM
Thank you Deepak,
Could you please share diagram (no a high level design) to know how it is connected?, The traffic from the branch to the DC is going to the correct path, right but it is not the same from the DC to the branch.
I would like to see why the DC selects other patch.
For example
Branch, source network send a packet to DC through link 1
DC: Reply a response to Branch through link 2.
Is possible to execute a show ip route <source network> from the DC location? Probably the source is not being known through the link 1 just through the link 2, or there are different metrics.
Thank you.
08-03-2017 09:07 AM
Hi,
Here is logs from DC and attached configuration at DC end.
sh ip route 10.221.1.37
Routing entry for 10.221.1.37/32
Known via "connected", distance 0, metric 0 (connected)
Routing Descriptor Blocks:
* directly connected, via GigabitEthernet0/0/0
Route metric is 0, traffic share count is 1
08-03-2017 09:20 AM
Thank you, can you provide an output for other network not directly connected.
Thank you in advance.
08-03-2017 09:33 AM
Hi,
08-03-2017 10:57 AM
There is a lot of information missing here. It is not clear what is exactly current design.
Possibilities with OSPF are design dependent (generally summarization and manipulation with route types are preferred with OSPF design traffic engineering (if design allows it)).
1. If you are trying to use the same traffic path for all networks advertise different network types to ISPs (in both directions). For example you can advertise external routes E1 type from DC and Branch to ISP1 for specific set of routes (or all routes) and advertise external routes E2 type from DC and Branch to ISP2 for all routes (or for load balancing some portion of routes can be advertised as E1 to ISP2).
2. Route summarization (or route leaking) to one ISP1 for traffic engineering and send unsumarized routes to ISP2 that is preferred for specific routes.
Since you have area 0 and area 4 I guess at least one of the scenarios should be available (I guess scenario 2 would seem to be preferred).
- Problem with changing interface cost value is that cost is affecting all route calculations.
- Problem with changing interface bandwidth value will influence QoS and all route calculations.
But, once again, it is OSPF design dependent...
08-03-2017 12:50 PM
there are many subnets learned through these interfaces:
GigabitEthernet0/0/0
GigabitEthernet0/1/0
Im assumming this device is located into the DC location, could you indicate what interface should be used to have symmetric traffic?
08-03-2017 08:42 AM
We want return traffic on same link.
While using both links or just one of the two links?
If you only desire to direct all you traffic across one link, both directions, as Paul and Julio have noted, insuring one link is preferred over the other, would be the way to accomplish it.
However, if you're looking to use both links, concurrently, and have individual application flows use the same path for both inbound and outbound, that's much more difficult to accomplish.
If that's also what you're trying to accomplish, may I ask why?
08-06-2017 04:15 PM
Hello
In this case the options you could use for basic path manipulation would be:
Between those options, Applying a higher opsf interface interface cost is less disruptive and most simplistic
either side of the peering--
in x/x
ip ospf cost xxx
res
Paul
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide