Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Step-by-Step Configuration and Troubleshooting Best Practices for the NGFW, NGIPS and AMP Technologies A Visual Guide to the Cisco Firepower Threat Defense (FTD)
Community Member

How Do You Release A DHCP Address on the Outside?

How do you release the address on an ASA-5505 configured to grab an address from the ISP's DHCP server? I can't find a command anywhere, or anything in ASDM.

1 ACCEPTED SOLUTION

Accepted Solutions
Gold

Re: How Do You Release A DHCP Address on the Outside?

under the outside vlan interface of the asa5505, you can assign a non-bia mac-address. assign it the same mac as your other router - if you know what that is. that way your ISP won't even realize you've been swapping gear on the line.

8 REPLIES
Silver

Re: How Do You Release A DHCP Address on the Outside?

Did you try clear xlate and clear arp?

Community Member

Re: How Do You Release A DHCP Address on the Outside?

No I didn't try that, but why would either one of those release an IP address? I'd be happy if it works though.

Re: How Do You Release A DHCP Address on the Outside?

I don't know of a clear command to force the interface to release the DHCP learned address. Can you try the interface command 'no ip address dhcp' and to reenable dhcp 'ip address dhcp'.

HTH

Sundar

Silver

Re: How Do You Release A DHCP Address on the Outside?

Very simple solution. I've tried with my Comcast cable modem provider and it works.

config t

interface e0

no ip address dhcp

shutdown

ip address 1.1.1.1 255.255.255.0

no shut

(wait for about 30 seconds)

no ip address

shut

(wait for 30 seconds)

no shut

ip address dhcp setroute

Now you will have a different IP address

Community Member

Re: How Do You Release A DHCP Address on the Outside?

Thanks for the replies. I ended up trying something similar but it didn't break the lease on the ISP's DHCP server.

The reason I wanted to release it was because I was swapping devices back and forth for testing reasons, and if the address isn't released the other device won't get one. The other Verizon/Actiontec router has an address release option, so I just used that every time I wanted to break the lease and switch to the ASA. With the ASA it seems like you either have to ask the ISP to do it or just wait for the lease to expire.

Gold

Re: How Do You Release A DHCP Address on the Outside?

under the outside vlan interface of the asa5505, you can assign a non-bia mac-address. assign it the same mac as your other router - if you know what that is. that way your ISP won't even realize you've been swapping gear on the line.

Community Member

Re: How Do You Release A DHCP Address on the Outside?

Hi,

Reenter this command to reset the DHCP lease and request a new lease:

ip address dhcp [setroute]

Note:

Make sure first that interface is enabled with the "no shutdown" command.

Regards,

Rex Tillo

Community Member

Re: How Do You Release A DHCP Address on the Outside?

Srue, good thinking don't know why I didn't think of that before.

rextillojr, I didn't want to renew the lease, just release it.

Thanks to eveyone for their help.

593
Views
0
Helpful
8
Replies
CreatePlease to create content