cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
80591
Views
10
Helpful
3
Replies

DHCP reservation on router

Andy White
Level 3
Level 3

Hello,

I've created a DHCP pool on a router for a remote office and it is workgin fine, I need to add some DHCP reservations now do I create separate DHCP pools for each user on does it have to be added to the current DHCP pool I have created for the office?

Pool

ip dhcp excluded-address 192.168.28.10 192.168.28.10

!

ip dhcp pool Dublin

   network 192.168.28.0 255.255.255.0

   next-server 192.168.28.8

   domain-name domain.local

   default-router 192.168.28.1

   dns-server 192.168.28.10

Reservation

ip dhcp pool Test_User

host 10.20.30.100

hardware-address aaaa.bbbb.cccc

client-name Test_User

Thanks

3 Replies 3

cadet alain
VIP Alumni
VIP Alumni

Hi,

each reservation is one separate pool. take care about hardware-address command because it will only work if the client-identifier is the MAC address otherwise you should use client-identifier command instead. To verify just use sh ip dhcp binding to see the client-identifier used by the clients getting a dynamic IP.

You can also use this feature if available instead of creating the hosts pools manually:http://www.cisco.com/en/US/docs/ios-xml/ios/ipaddr_dhcp/configuration/12-4t/config-dhcp-server.html#GUID-BF29D8F0-2449-42F9-BEFC-76929001FBA5

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

Hi,

I seem to be having trouble with this one.

I've added:

ip dhcp pool Test_User

host 10.20.30.100

hardware-address 782b.cbac.3152

client-name Test_User

And the user connected and got an IP of 192.168.28.2 in the bindings table it has an extended mac address:

782b.cbac.3152.80

Why is the mac address this long?  an ipconfig /all shows it is

782b.cbac.3152.

Thanks

Hi,

It should be either the MAC address or the MAC prefixed with 01 but not the MAC sufixed with 80, that's weird

Anyway just use the client-identifier 782b.cbac.3152.80 in your host pool instead of hardware-address.

don't forget tho clear the dynamic binding first with clear ip dhcp binding 192.168.28.2 before configuring the pool

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.