09-18-2019 12:37 PM
I have set up my DHCP Pool to bind by Interfaces' as the Client ID
for example:
Pool Marquees : Utilization mark (high/low) : 100 / 0 Subnet size (first/next) : 0 / 0 Total addresses : 254 Leased addresses : 0 Excluded addresses : 97 Pending event : none 1 subnet is currently in the pool : Current index IP address range Leased/Excluded/Total 10.10.7.1 10.10.7.1 - 10.10.7.254 0 / 97 / 254 97 reserved addresses are currently in the pool : Address Client 10.10.7.14 g1/0/13 10.10.7.109 g3/0/37 10.10.7.110 g3/0/38 10.10.7.15 G1/0/14 10.10.7.16 Gi1/0/15 10.10.7.17 G1/0/16 10.10.7.18 G1/0/17 10.10.7.19 G1/0/18 10.10.7.20 G1/0/19 10.10.7.21 G1/0/20 10.10.7.22 G1/0/21 10.10.7.23 G1/0/22 10.10.7.24 G1/0/23
But the DHCP Binding table shows that the MAC addresses of what I am assuming are the ports but not moving from the Selecting state
Bindings from all pools not associated with VRF: IP address Client-ID/ Lease expiration Type State Interface Hardware address/ User name 10.10.7.14 0067.312f.302f.3133 Infinite Manual Selecting Unknown 10.10.7.15 0047.312f.302f.3134 Infinite Manual Selecting Unknown 10.10.7.16 0047.6931.2f30.2f31. Infinite Manual Selecting Unknown 35 10.10.7.17 0047.312f.302f.3136 Infinite Manual Selecting Unknown 10.10.7.18 0047.312f.302f.3137 Infinite Manual Selecting Unknown 10.10.7.19 0047.312f.302f.3138 Infinite Manual Selecting Unknown 10.10.7.20 0047.312f.302f.3139 Infinite Manual Selecting Unknown 10.10.7.21 0047.312f.302f.3230 Infinite Manual Selecting Unknown 10.10.7.22 0047.312f.302f.3231 Infinite Manual Selecting Unknown 10.10.7.23 0047.312f.302f.3232 Infinite Manual Selecting Unknown 10.10.7.24 0047.312f.302f.3233 Infinite Manual Selecting Unknown 10.10.7.25 0047.312f.302f.3234 Infinite Manual Selecting Unknown 10.10.7.26 0047.312f.302f.3235 Infinite Manual Selecting Unknown
I don't see any errors in the DHCP Debug in the log
Any ideas?
thanks
09-18-2019 12:53 PM
Hello,
there are two ways to make client reservations, one uses the actual hardware address, the other with a client identifier (01 for Ethernet) prepended. The first is used mainly for e.g. Linux clients, the second predominantly for Windows clients. How are your reservations configured ?
ip dhcp pool CLIENT_1
host 192.168.1.2 255.255.255.0
hardware-address 0050.b656.49b5
default-router 192.168.1.1
!
ip dhcp pool CLIENT_1
host 192.168.1.2 255.255.255.0
client-identifier 0100.50b6.5649.b5
default-router 192.168.1.1
09-18-2019 01:56 PM
I am trying to use the Client-Identifier, trying to make this a plug and play so that if the end device is replaced it would still pull the same IP Address
sh run int g1/0/13 Building configuration... Current configuration : 160 bytes ! interface GigabitEthernet1/0/13 description ***MARQUEE*** switchport access vlan 7 switchport mode access ip dhcp server use subscriber-id client-id end
09-18-2019 02:14 PM - edited 09-19-2019 12:53 AM
Hello
Okay make more sense - Have you enabled subscriber-id globally?
conf t
ip dhcp use subscriber-id client-id
The dhcp pools usually append the client Id 01 to the static bindings but the subscriber-id should do this now.
ip dhcp pool xx
address x.x.x.x client-id
09-18-2019 02:35 PM - edited 09-18-2019 02:35 PM
Thank you for your advice so far
I did enable the subscriber-id globally prior
and when I tried to edit the client-id on an interface I get the following
###-FLOOR-SW03(config-if)#ip dhcp client client-id 01G1/0/16 ^ % Invalid input detected at '^' marker. ###-FLOOR-SW03(config-if)#
Should I delete the interface client-id and re add it instead?
or were you referring to appending the MAC address?
09-18-2019 11:41 PM
Hello,
the '01' needs to be prepended to the MAC address in the DHCP pool:
ip dhcp pool CLIENT_1
host 192.168.1.2 255.255.255.0
client-identifier 0100.50b6.5649.b5
default-router 192.168.1.1
Either way, post the full running configuration so we can see what you have so far...
09-19-2019 12:59 AM - edited 09-19-2019 01:08 AM
Hello
@Rckoutloud wrote:
Should I delete the interface client-id and re add it instead?
or were you referring to appending the MAC address?
Append client-id to the dhcp pool
example:
host 10.10.7 15 port gig0/7.
ip dhcp pool Marquees
network 10.10.7.0 255.255.255.0
address 10.10.7.X client-id gig0/7ascii
EDITED- Forgot to query do you have the subscriber interface enable gloably also?
ip dhcp subscriber-id interface-name
09-18-2019 01:49 PM
Hello
Those static bindings are not valid mac- addresses - if they were client-id bindings then the Client-id 01 would be preceding the original mac address and if they were hardware ID's then it would just be the original mac address.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide