04-26-2019 11:50 AM
Hi,
if you have a router connected to two public links, and there are some applications published through link 1, and other applications published through link 2. NAT is used for all application and mapped to different IP.
The router has a default route through both links to access the internet, it might be BGP or static route ,,, etc.
my question is, if a user from the internet wants to communicate to an application, the router will NAT and route the packet to back-end server, the server will reply, and when the packet reaches the router, it has two possible route to the internet, it might choose the other link which has different public IP.
how we can let it forward this packet through the correct link?
without doing so, the end-user machine will drop the packet because public IP changed.
thanks,
04-26-2019 11:55 AM
Hope below example help you :
04-27-2019 06:18 AM - edited 04-27-2019 06:20 AM
Hello
There are multiple ways to perform route path manipulation
One such way with static routing would be Policy Based routing
In this case you would ONLY have one default static not two which would send all non local traffic via that specified next hop and with PBR also active any source traffic matching say within a access-list relating to this policy would be routed via the secondary path
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