cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
576
Views
0
Helpful
3
Replies

ASA 5505 Static route with 2 Dynamic IPs ISP

david.suntama
Level 1
Level 1

Hi All,

Is it possible to configure static route with 2 Dynamic IPs by ISP DHCP with ASA ?

If possible, how the configuration should be ?

For example :

To route 1.2.3.4 via ISP-1 (dynamic IP)

To route 3.4.5.6 via ISP-2 (dynamic IP) 

 

ASA Ver 8.2(5)

 

Thanks

1 Accepted Solution

Accepted Solutions

Well, I would think that the ISP default gateway would be a static IP, so whatever IP you receive as the default route (using the setroute command) could be used as the next hop.  It would not make sense that the ISP would be using a dynamic IP for its default gateway configuration in the DHCP server.  The same should go for the second ISP uplink also.  So if you don't see the next hops using the show route command I suggest calling your ISP / ISPs and ask them to provide you with the next hop and then punch that into your config.

--

Please remember to select a correct answer and rate helpful posts

--
Please remember to select a correct answer and rate helpful posts

View solution in original post

3 Replies 3

Yes this is possible.  The only thing that is not possible is to have 2 default routes that point out different interfaces. In this case only one of the default routes would be active.

To configure the static routes do the following:

route outside1 1.2.3.4 255.255.255.255 1.1.1.1 1
route outside2 5.6.7.8 255.255.255.255 2.2.2.2 1

ciscoasa(config)# show route

S    1.2.3.4 255.255.255.255 [1/0] via 1.1.1.1, outside1
S    5.6.7.8 255.255.255.255 [1/0] via 2.2.2.2, outside2

 

--

Please remember to select a correct answer and rate helpful posts

--
Please remember to select a correct answer and rate helpful posts

Thanks,

Those commands work well with Static IP ISPs.

However for Dynamic IP which getting IP from "ip address dhcp  setroute"

I could not set those static route config as the next hop is getting from DHCP.

Any advise ?

Well, I would think that the ISP default gateway would be a static IP, so whatever IP you receive as the default route (using the setroute command) could be used as the next hop.  It would not make sense that the ISP would be using a dynamic IP for its default gateway configuration in the DHCP server.  The same should go for the second ISP uplink also.  So if you don't see the next hops using the show route command I suggest calling your ISP / ISPs and ask them to provide you with the next hop and then punch that into your config.

--

Please remember to select a correct answer and rate helpful posts

--
Please remember to select a correct answer and rate helpful posts
Review Cisco Networking products for a $25 gift card