Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

ASA 5505 Static route with 2 Dynamic IPs ISP

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

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
VIP Green

Well, I would think that the

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 rate and select a correct answer
3 REPLIES
VIP Green

Yes this is possible.  The

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 rate and select a correct answer
New Member

Thanks,Those commands work

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 ?

VIP Green

Well, I would think that the

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 rate and select a correct answer
114
Views
0
Helpful
3
Replies
CreatePlease to create content