I have a 1812 cisco router, I have 2 vlans (172.31.0.0/24 and 172.31.2.0/24) and I configured this :
ip dhcp pool dhcp-vlan2
network 172.31.0.0 255.255.255.0
ip dhcp pool dhcp-vlan3
network 172.31.2.0 255.255.255.0
ip dhcp pool name1
The problem is that this manual binding in the end is not working; the host with that MAC gets another IP everytime I renew the dhcp request.
Before setting this manual binding I had that host setup staticly with that IP.
Where is the problem?
Try using the client-identifier instead of the hardware-address command.
I found this is the command reference:
Microsoft DHCP clients require client identifiers instead of hardware addresses. The client identifier is formed by concatenating the media type and the MAC address. For example, the Microsoft client identifier for Ethernet address b708.1388.f166 is 01b7.0813.88f1.66, where 01 represents the Ethernet media type. For a list of media type codes, refer to the "Address Resolution Protocol Parameters" section of RFC 1700, Assigned Numbers.
The following example specifies the client identifier for Mac address b7.0813.8811.66 in dotted-hexadecimal notation:
If you want more detail you can start with this link: