09-17-2023 04:48 AM
hi
I have a scenario where I have 2 ISPs and they both have default route
route ISP1 0 0 1.1.1.1 1
route ISP2 0 0 2.2.2.2 2
i need network 192.168.1.0 to go out with ISP2 not ISP1
how can i do this in Cisco ASA
Best Regards,
Solved! Go to Solution.
09-17-2023 05:02 AM - edited 09-17-2023 05:02 AM
Hello @Mohammed.Fawzi,
You can configure PBR:
route-map PBR_MAP permit 10
match ip address ISP2_TRAFFIC
set ip next-hop 2.2.2.2
ACL ISP2_TRAFFIC match the traffic you want to send through ISP2 (2.2.2.2): 192.168.1.0/24.
Apply the route map to the inside interface where the traffic originates.
interface inside
ip policy route-map PBR_MAP
09-17-2023 04:59 AM
@Mohammed.Fawzi to route a specific network out a different ISP than the default route then you will need to use Policy Based Routing (PBR). Example:- https://integratingit.wordpress.com/2020/03/01/asa-policy-based-routing/
09-17-2023 05:02 AM - edited 09-17-2023 05:02 AM
Hello @Mohammed.Fawzi,
You can configure PBR:
route-map PBR_MAP permit 10
match ip address ISP2_TRAFFIC
set ip next-hop 2.2.2.2
ACL ISP2_TRAFFIC match the traffic you want to send through ISP2 (2.2.2.2): 192.168.1.0/24.
Apply the route map to the inside interface where the traffic originates.
interface inside
ip policy route-map PBR_MAP
09-17-2023 06:44 AM
its worked,thank you soo much
09-17-2023 07:02 AM
You're very welcome @Mohammed.Fawzi.
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