How to assign a static ip to a mac-address through DHCP :-
DHCP stand for “ Dynamic Host Configuration Protocol ” that is used to assign IP-address in the client computers automatically. DHCP server can be a Windows Server machine , a linksys router , a Cisco router , Linux and Unix machine.
DHCP server can provide :-


But there are lots of condition where you have define IP-address statically like Printer Serevr , NVR , Proxy server etc. Today i am going to show you How to assign a static ip to a mac-address through DHCP ?
Now open DHCP server from the Start > Programs > Administrative Tools > DHCP.
Now expand your DHCP server scope, click on the Particular Scope in which you want to bind your IP-address. here you have the Reservation option, Right-click on the Reservation option and select the New Reservation option.

Now you have to enter your Reservation name , IP-address and mac-address of client. Select the DHCP only option and add it.

Your Windows server DHCP reservation configuration done here.

The DHCP Reservation page will appear. You can check the MAC Address corresponding to the IP Address of the device on the first table.

3.On Cisco Router :-
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.
Automatic bindings are IP addresses that have been automatically mapped to the MAC addresses of hosts that are found in the DHCP database. Automatic bindings are stored on a remote host called a database agent. The bindings are saved as text records for easy maintenance.
All DHCP clients send a client identifier (DHCP option 61) in the DHCP packet. To configure manual bindings, you must enter the client-identifier DHCP pool configuration command with the appropriate hexadecimal values identifying the DHCP client.
To configure a manual binding, first create a host pool, then specify the IP address of the client and client identifier or hardware address.
To configure manual bindings, use the following commands beginning in global configuration mode:
1- Router(config)# ip dhcp pool Test
2- Router(dhcp-config)# host 192.168.1.22 255.255.255.0
3-Router(dhcp-config)# client-identifier unique-identifier
Specifies the unique identifier for DHCP clients. This command is used for DHCP requests.
DHCP clients require client identifiers. The unique identification of the client is specified in dotted hexadecimal notation, for example, 01b7.0813.8811.66, where 01 represents the Ethernet media type.
4- Router(dhcp-config)# hardware-address hardware-address type
Specifies a hardware address for the client. This command is used for BOOTP requests.
The type value: Indicates the protocol of the hardware platform. Strings and values are acceptable.
The string options are:
ethernet
ieee802
The value options are:
1 10Mb Ethernet
6 IEEE 802
If no type is specified, the default protocol is Ethernet.
For more info :-
http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfdhcp.html
Hope you like my post.How to assign a static ip to a mac-address through DHCP.
DHCP stand for “ Dynamic Host Configuration Protocol ” that is used to assign IP-address in the client computers automatically. DHCP server can be a Windows Server machine , a linksys router , a Cisco router , Linux and Unix machine.
DHCP server can provide :-
- IP address
- Subnet mask
- Domain name
- Default gateway (routers)
- DNS server address
- WINS server address
But there are lots of condition where you have define IP-address statically like Printer Serevr , NVR , Proxy server etc. Today i am going to show you How to assign a static ip to a mac-address through DHCP ?
1. On Windows Server :-
I am assuming, your server is already configured for DHCP server. DHCP server have the feature of DHCP Reservation where you are able to bind particular PC mac address with particular IP-address. After binding particular mac-address with DHCP server reservation, your DHCP server will assign a static IP to a particular IP-address.Now open DHCP server from the Start > Programs > Administrative Tools > DHCP.
Now expand your DHCP server scope, click on the Particular Scope in which you want to bind your IP-address. here you have the Reservation option, Right-click on the Reservation option and select the New Reservation option.
Now you have to enter your Reservation name , IP-address and mac-address of client. Select the DHCP only option and add it.
Your Windows server DHCP reservation configuration done here.
2.On Linksys Wireless Router :-
Open your Linksys router web-admin page, Once in the web-based setup page, make sure the DHCP Server under the Network Setup section is set to Enabled, then click the DHCP Reservation button.The DHCP Reservation page will appear. You can check the MAC Address corresponding to the IP Address of the device on the first table.
3.On Cisco Router :-
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.
Automatic bindings are IP addresses that have been automatically mapped to the MAC addresses of hosts that are found in the DHCP database. Automatic bindings are stored on a remote host called a database agent. The bindings are saved as text records for easy maintenance.
All DHCP clients send a client identifier (DHCP option 61) in the DHCP packet. To configure manual bindings, you must enter the client-identifier DHCP pool configuration command with the appropriate hexadecimal values identifying the DHCP client.
To configure a manual binding, first create a host pool, then specify the IP address of the client and client identifier or hardware address.
To configure manual bindings, use the following commands beginning in global configuration mode:
1- Router(config)# ip dhcp pool Test
2- Router(dhcp-config)# host 192.168.1.22 255.255.255.0
3-Router(dhcp-config)# client-identifier unique-identifier
Specifies the unique identifier for DHCP clients. This command is used for DHCP requests.
DHCP clients require client identifiers. The unique identification of the client is specified in dotted hexadecimal notation, for example, 01b7.0813.8811.66, where 01 represents the Ethernet media type.
4- Router(dhcp-config)# hardware-address hardware-address type
Specifies a hardware address for the client. This command is used for BOOTP requests.
The type value: Indicates the protocol of the hardware platform. Strings and values are acceptable.
The string options are:
ethernet
ieee802
The value options are:
1 10Mb Ethernet
6 IEEE 802
If no type is specified, the default protocol is Ethernet.
For more info :-
http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfdhcp.html
Hope you like my post.How to assign a static ip to a mac-address through DHCP.