Link to home
Create AccountLog in
Avatar of Mac2010
Mac2010Flag for Netherlands

asked on

Cisco ASA 5505; how to change DHCP to static ip on outside interface?

Hi Experts,

I'm encountering an issue on my test Cisco ASA 5505 and would like to 'hear' you opinion.

My ASA is using DHCP (client) on the outside interface and is DHCP server on the inside. I want to change the outside DHCP to static IP. But when I change that, there is no network traffic possible between the computers and the internet.

What I've done:
- In ADSM (version 6.4, ASA version 8.4) I changed the outside IP in the "interfaces" pane.
- In "DHCP Server" settings I added the DNS servers of my ISP to the list.
- Added the same DNS servers in the "DNS Client" pane.
- Saved it to RAM of the ASA (not the flash memory)

After doing this the computers connected to the ASA (Macs) can't access the internet. When I give the ASA the reload command, things work fine again, but that's with DHCP on the outside interface, not static.

So, what am I doing wrong? Do I need to add a static route? If so, how do I do that?

I found in this answer in the Knowledgebase, but the solution there doesn't work in my case
https://www.experts-exchange.com/questions/23255897/ASA-5505-with-static-ip-will-not-work.html


Yes, I'm a bit of a newbie with these devices... but I hope you like the points ;-)
Avatar of Istvan Kalmar
Istvan Kalmar
Flag of Hungary image

did you set 'route outside 0.0.0.0. 0.0.0.0 x.x.x.x' ?
Avatar of Mac2010

ASKER

Probably not. What should I enter for "0.0.0.0. 0.0.0.0 x.x.x.x"; literally these values?
And should I enter this after using the "config t" command?

Thanks for your quick reply!
Who give you dynamic ip ? is it your ISP ? Or ypur ASA is connect to a router that give you  dynamic ip ?
Avatar of Mac2010

ASKER

@ viger29:
The dynamic IP is from my DSL router, which is DHCP server sharing a private IP range.
I'm sure this problem has not to do with the DSL router. It is something on the ASA that needs to be fixed.
ASKER CERTIFIED SOLUTION
Avatar of viger29
viger29
Flag of Italy image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Mac2010

ASKER

This is it. It works now. I also see now where it appears in the ASDM application. I'm trying to learn both interfaces (asdm and console) but there is a lot to learn and limited time available...
Thanks! (and thanks for saving me time)