cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
23373
Views
10
Helpful
9
Replies

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

qilin zhang
Level 1
Level 1

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

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.

View solution in original post

9 Replies 9

Andrew Cink
Level 1
Level 1

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

Why it's not work?

1.jpg

Thank you very much.

Hello,

 

what exactly do you have configured ? Post the configuation you have...

Hello,

 

ip dhcp pool static
 host 192.168.184.183 255.255.255.0
 hardware-address bce1.43d4.16b1
 default-router 192.168.183.1
 dns-server x.170.119.9 x.170.119.19 8.8.8.8 8.8.4.4
!

 

Thank you very much.

Nandan Mathure
Level 1
Level 1

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

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

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

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.

nice to know an input txt file

Best Regards

Giuseppe

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card