cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
482
Views
0
Helpful
5
Replies

1841 - ip dhcp Pool StaticClients

mauric
Level 1
Level 1
Hello together

I'am Running in a small Office with me Router 1841 and i fight with DHCP Static Assigning.
here i have Printers, NAS, and Wifi AP, after confiugure this devices with Static DHCP in me
router i see only the Printers that will become the right assigned IP-Adresses.
the other Devices will take any other adresses from the free DHCP Range, but not this i want
to assign to Device.
After troblehooting and play with the Option:
clear arp-cache, and disconnect devices from the Switch, always the system will assign any
free ip from DHCP Range but never this that i have fix assigned with MAC Address.
 - Client-Identifier 0000.1234.0000.4321
 - Hardware-Address 0000.1234.0000.4321
if will change the Option from client-identifier <> Hardware-Address, i have the the same expiriences.
here me Example_
ip dhcp pool SRV_PRT_CH001
 host 192.168.1.11 255.255.255.240
 client-identifier 0011.321f.3092
ip dhcp pool Xerox
 host 192.168.1.12 255.255.255.240
 client-identifier 00AC.12Gf.2102
ip dhcp pool NAS
 host 192.168.1.13 255.255.255.240
 client-identifier abcd.0000.efgh.0000
ip dhcp pool CiscoAP
 host 192.168.1.14 255.255.255.240
 client-identifier 1234.abcd.5678.0000
Nothing DHCP Exclussion to this Static IP Adresses are set.
Please i don't see me Mistake, for any possible help i am Happy.
best Regards

Mauri
5 Replies 5

johnlloyd_13
Level 9
Level 9

hi,

could you use the keyword hardware-address instead?

ip dhcp pool SRV_PRT_CH001
 host 192.168.1.11 255.255.255.240
 hardware-address 0011.321f.3092

Hello

After troblehooting and play with the Option: clear arp-cache, and disconnect devices from the Switch, always the system will assign any free ip from DHCP Range but not this that i have fix assigned with MAC Address.

 - Client-Identifier 0000.1234.0000.4321
 - Hardware-Address 0000.1234.0000.4321
if changing the Option from client-identifier <> Hardware-Address, i have the the same result.
best regrads
Mauri

Hello,

I think you need to add the Ethernet media type (01 for Ethernet) to the client identifier.

I have tried to convert the identifiers and added the leading 01, I am not sure if the conversion is right, but the 01 needs to be added.

client-identifier 00AC.12Gf.2102 --> 01AC.12Gf.2102

client-identifier abcd.0000.efgh.0000 --> 01ab.cd00.00ef.gh00

client-identifier 1234.abcd.5678.0000 --> 0112.34ab.cd56.7800

Hi

You are correct about client-identifier, but I think it is written in the format 0100.0012.3400.0043.21 if the hardware address is  0000.1234.0000.4321

/Mikael

Hello

sh ip dhcp binding
debug ip dhcp server packet ( establish if user is using a client id or hardware address)

1.1.1.1/24 = mac address 1234.5678.9000

ip dhcp pool static
host 1.1.1.1 255.255.255.0
client-identifier 0112.3456.7890.00 ( 01 extension added to mac add of client)
default-router 1.1.1.254  < usually taken from primary dhcp pool but can be applied here also

or

ip dhcp pool static
host 1.1.1.1 255.255.255.0
hardware-address 1234.5678.9000 ieee802 <-- defined ieee network
default-router 1.1.1.254

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card