cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2373
Views
5
Helpful
13
Replies

Cisco 3850 IP dhcp pool IP address released

I want to know maximum how many ip address can be released from ip dhcp pool on cisco 3850 switch.

 

Regards 

Anirban Shil

13 Replies 13

Please anyone help me!!!!

 

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

Is your question 'how many DHCP scopes can be configured', or 'how do you release DHCP bindings'?

 

cheers,

Seb.

Actually my question is "how do I release DHCP bindings in a ip dhcp pool".

 

Also How can remove/release dhcp ip from a specific pool.

 

With the following command:

 

clear ip dhcp binding <ip_address>

 

 

 

Hi Seb,

How can release dhcp ip from a specific pool?

Hi there,

If you wan to release a DHCP lease, firstly confirm the lease is active:

sh ip dhcp binding

 

...then once you have confirmed the lease, use the command mentioned earlier, eg:

clear ip dhcp binding 192.168.100.69

 

You do not need to mention the pool where the lease was obtained from.

 

cheers,

Seb.

Hi Seb,

 

I applied dhcp in the pool not interface so that i want to release all dhcp ip from this pool. I have no ip binding. I can see all ip address from show arp. I have configured multiple dhcp pool.

 

Actually I want to release all ip address from a specific pool.

Is it possible?

 

Regards 

Anirban Shil

Hi Anir,

 

yes you can release all IP from specific pool.

 

But for batter explanation can you show basic diagram or explain DHCP Pool and network details?

 

Regards,

Nirmit

Hi there,

How can I release all IP from specific pool MLAN? 

 

Not another pool just release from dhcp pool MLAN.

 

Please find the attached screenshot. 

 

Code:

--------------------------------------

interface VLAN 10

ip address 192.168.10.1 255.255.255.0

!

interface VLAN 20

ip address 192.168.20.1 255.255.255.0

!

interface VLAN 100

ip address 192.168.100.1 255.255.255.0

!

IP excluded 192.168.10.1-192.168.10.15

IP excluded 192.168.20.1-192.168.20.15

IP excluded 192.168.100.1-192.168.100.15

!

ip dhcp pool LAN

network 192.168.10.0/24

domain-name cisco.com

dns server 192.168.10.1 8.8.8.8

default-router 192.168.10.1

!

ip dhcp pool WLAN

network 192.168.20.0/24

domain-name cisco.com

dns server 192.168.20.1 8.8.8.8

default-router 192.168.20.1

!

ip dhcp pool MLAN

network 192.168.100.0/24

domain-name cisco.com

dns server 192.168.100.1 8.8.8.8

default-router 192.168.100.1

!

 

 

Hi there,

From your description it sounds like you have created a DHCP scope on a subnet which already has active IP addresses, either issued from another DHCP server or statically assigned. Either way you will not be able to release or force the end devices to renew their IP addresses from the router in question.

 

You first need to determine that your router is the only DHCP server for the subnet, then you will need to visit the devices in the ARP table and ensure their interfaces are configured for DHCP. Bounce their interfaces and you should see them in the DHCP bindings on your router.

 

cheers,

Seb.

Hi Seb,

Thank you. 

 

balaji.bandi
Hall of Fame
Hall of Fame

Apart from Gateway Router IP, you can release all the IP

 

example : for /24 subnet

 

192.168.1.0/24

Gateway IP excluded 192.168.1.1 (thinking that 1 is gateway)

 

you can use 192.168.1.2-192.168.1.254

 

is this make sense ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

HI Balaji,

yes, But we have configured ip dhcp pool.

 

Here,

----------------------------

interface VLAN 100

ip address 192.168.100.1 255.255.255.0

!

IP excluded 192.168.100.1-192.168.100.15

!

ip dhcp pool name1

network 192.168.100.0/24

domain-name cisco.com

dns server 192.168.10.1 8.8.8.8

default-router 192.168.100.1

!

---------------------------

 

Question: How can release dhcp ip from a specific pool name1?

Review Cisco Networking for a $25 gift card