Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

How to specify the static IP-to-MAC map for dhcp pool

Dears,

When I use ip dhcp pool cmd on Cisco Router to provide dhcp server service for pc and phones, how can I assign the fixed IP address according to the MAC address of the phones and PCs. I can't find the cmd.

Thanks.

Qilin

1 ACCEPTED SOLUTION

Accepted Solutions
Purple

How to specify the static IP-to-MAC map for dhcp pool

Hi,

You can do it without configuring multiple pools as of IOS  12.3(11)T

http://www.cisco.com/en/US/docs/ios/12_3t/12_3t11/feature/guide/gtdhcpsm.html

Regards.

Alain

Don't forget to rate helpful posts.
6 REPLIES
New Member

How to specify the static IP-to-MAC map for dhcp pool

You have to make a custom "pool" for each host... like:

ip dhcp pool TestReservation

host 172.16.2.254

hardware-address 02c7.f800.0422 ieee802

client-name testPCone

domain-name mydomain.com

How to specify the static IP-to-MAC map for dhcp pool

Hi Qilin!

ip dhcp pool HOST2 
 host 192.168.1.2 255.255.255.0 
 hardware-address aaaa.aaaa.aaaa

ip dhcp pool HOST3
 host 192.168.1.3 255.255.255.0 
 hardware-address bbbb.bbbb.bbbb
Or you can use "clien-identifier" instead of "hardware-address"

client-identifier 01aa.aaaa.aaaa.aa [just add 01 as pre-fix] some hosts use client-indentifier.

Please go throught this document:

http://www.cisco.com/en/US/docs/ios-xml/ios/ipaddr_dhcp/configuration/12-4t/config-dhcp-server.html#GUID-C1DE449D-3B56-4832-AE3F-7F82E94E5510

Let me know if this helped.

Thanks,

Nandan Mathure

New Member

How to specify the static IP-to-MAC map for dhcp pool

Hi Nandan,

Fine, but if I have a lot of clients will use IP-to-MAC map, so is there any simple way to input the map? or I have to input the entries one by one?

Thanks,

Qilin

How to specify the static IP-to-MAC map for dhcp pool

As per my knowledge you will have to do it manually. I totally agree that lot of manual work but ultimately thats what we want to achieve .

Kindly rate if useful. Thanks.

Nandan Mathure

Purple

How to specify the static IP-to-MAC map for dhcp pool

Hi,

You can do it without configuring multiple pools as of IOS  12.3(11)T

http://www.cisco.com/en/US/docs/ios/12_3t/12_3t11/feature/guide/gtdhcpsm.html

Regards.

Alain

Don't forget to rate helpful posts.
Hall of Fame Super Silver

How to specify the static IP-to-MAC map for dhcp pool

nice to know an input txt file

Best Regards

Giuseppe

3127
Views
5
Helpful
6
Replies
CreatePlease to create content