The IP address of a client can be assigned manually by an administrator or assigned automatically from a pool by a DHCP server.
Manual bindings are IP addresses that have been manually mapped to the MAC addresses of hosts that are found in the DHCP database. Manual bindings are stored in NVRAM on the DHCP server. Manual bindings are just special address pools. There is no limit on the number of manual bindings but you can only configure one manual binding per host pool.
To configure a manual binding, first create a host pool, then specify the IP address and hardware address of the client or client identifier. The hardware address is the MAC address. The client identifier, which is required for Microsoft clients (instead of hardware addresses), is formed by concatenating the media type and the MAC address of the client. Refer to the "Address Resolution Protocol Parameters" section of RFC 1700, Assigned Numbers, for a list of media type
Example Configuration
ip dhcp pool DHCP-TEST
host 10.1.2.10 255.255.255.0
hardware-address c204.07d0.0001 ieee802
default-router 10.1.2.1
dns-server 10.1.2.1
!
ip dhcp pool DHCP-TEST1
host 10.1.2.11 255.255.255.0
hardware-address 1111.1111.1111 ieee802
!
Verify Configuration
R3#sh ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type
Hardware address/
User name
10.1.2.10 c204.07d0.0001 Infinite Manual
10.1.2.11 1111.1111.1111 Infinite Manual
No comments:
Post a Comment