01-20-2021 08:43 AM
Greetings community,
I would like to set up routing on my ASA for about 80 subnets so that traffic to these subnets is routed to a specific interface. We would like to avoid using static routes so I need help in deciding the best alternative and also a sample config of how to achieve this. The device (ASA 5516, Version 9.8(2)) is new for a branch office so no configs on it yet. Default gateway will point to the internet facing interface of the firewall.
As an example, I would like to route all traffic destined for 192.168.10.0/24, 10.100.90.0/24, 192.168.35.0/24 and 172.16.20.0/24 to interface GE 1/4 whose IP is 192.168.9.20 - without the use of static routes.
Any help will be appreciated. Thank you in advance.
Regards
Solved! Go to Solution.
01-20-2021 09:05 AM
you need align the default route and this route - since we do not know full config here is example ;
access-list PBR1 permit ip 92.168.10.0 255.255.255.0 any
10.100.90.0/24, 192.168.35.0/24 and 172.16.20.0/24 ( add as per above example)
!
route-map RT permit 10
match ip address PBR1
set ip next-hop 192.168.9.20
!
interface gi0/0 - change interface
policy-route route-map RT
01-20-2021 09:05 AM
you need align the default route and this route - since we do not know full config here is example ;
access-list PBR1 permit ip 92.168.10.0 255.255.255.0 any
10.100.90.0/24, 192.168.35.0/24 and 172.16.20.0/24 ( add as per above example)
!
route-map RT permit 10
match ip address PBR1
set ip next-hop 192.168.9.20
!
interface gi0/0 - change interface
policy-route route-map RT
01-20-2021 10:07 AM
Thank you for the prompt response @balaji.bandi I will try this and advise within 24 hours.
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