03-27-2018 02:50 AM - edited 03-05-2019 10:10 AM
Based on Diagram above:
Client computer accessing server with public IP address 2.2.2.10 through ISP2. I need the return traffic much be back with ISP2, but default AD to ISP1 is lower.
How to manage traffic to return to Client with origin ISP?
Thank,
Ratha
03-27-2018 02:54 AM
Hi,
It is possible with route-map (PBR).
Regards,
Deepak Kumar
03-27-2018 03:05 AM
03-27-2018 03:45 AM
Hi,
Can you confirm clients ip are fixed one or dynamic or your server is reahable only through isp2 from outside?
Regards,
Deepak Kumar
03-27-2018 03:54 AM
03-27-2018 04:43 AM - edited 03-27-2018 04:45 AM
Hello,
which of the devices do you control ? If you control the ASA, you can set the routing there...
03-27-2018 04:48 AM
03-27-2018 04:58 AM
Hello,
try the below. Since policy routing is done before NAT, I think you should match on the internal address:
access-list WEBSERVER extended permit ip host 192.168.1.10 any
!
route-map TO_ISP1 permit 100
match ip address WEBSERVER
set interface FastEthernet0/1
!
interface FastEthernet0/1
policy-route route-map TO_ISP1
03-27-2018 05:51 AM
03-27-2018 06:21 AM
Hello,
change the route map to:
access-list WEBSERVER extended permit ip host 192.168.1.10 any
!
route-map TO_ISP2 permit 100
match ip address WEBSERVER
set interface FastEthernet0/0
!
interface FastEthernet2/0
policy-route route-map TO_ISP2
03-27-2018 07:23 AM
03-27-2018 08:59 AM
You can extend the route map to define which traffic you want to go where:
access-list WEBSERVER extended permit ip host 192.168.1.10 any
access-list OTHER extended permit ip any any
route-map TO_ISP permit 10
match ip address WEBSERVER
set interface FastEthernet0/0
route-map TO_ISP permit 20
match ip address OTHER
set interface FastEthernet0/1
!
interface FastEthernet2/0
policy-route route-map TO_ISP
03-27-2018 06:23 PM
Assuming that web server 192.168.1.10 configure static NAT to IP 1.1.1.10(ISP1's IP) and 2.2.2.10(ISP2's IP). I need clients from internet with IP 5.5.5.5 access to web server by 1.1.1.10 via ISP1 will return traffic by ISP1, then again client 5.5.5.5 access the same web server via 2.2.2.10(ISP2) will return traffic via ISP2.
Thank
03-27-2018 09:16 PM
Hi,
Is it static/ default route or dynamic routing? you configured different ad value for both isp.
I need to check in the lab but you can archive your goal with correct routing and minor changing in load balancing feature. Again I need to test it in my lab.
If anyone have idea please share.
Regards,
Deepak Kumar
03-27-2018 09:28 PM
Static default route is configured to both ISPs which default route will go through ISP1 is lower than static default to ISP2.
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