cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
723
Views
0
Helpful
4
Replies

Need Basic IOS Help with DHCP Pool Configuration

jaesposito
Level 1
Level 1

I would like to ensure that one of my DHCP clients gets the same IP Address every time.  I'm not 100% sure on how to implement this configuration on my Cisco 831 router running IOS version 12.4.

Here is my existing DHCP configuration:

ip dhcp excluded-address 10.10.10.1
ip dhcp pool CLIENT
   import all
   network 10.10.10.0 255.255.255.0
   default-router 10.10.10.1
   lease 0 2

Here is the MAC address of the client of interest:

0160.eb69.426f.59

I would like the client to receive IP address 10.10.10.249 everytime.

Can you tell me what configuration changes to make?  Thank you very much!

James

1 Accepted Solution

Accepted Solutions

cadet alain
VIP Alumni
VIP Alumni

Hi,

plug in the client and when it gets an IP with dhcp then  do a sh ip dhcp bindings  on the router.

take note of client-identifier, if it is 12 chars then use the hardware-address command otherwise if it's 14 chars beginning with 01 then

use the client-identifier command in your static pool.

For the pool:

ip dhcp pool static-pool

host  10.10.10.249 255.255.255.0

hardware-address| client-identifier xxxxxxxxx

It will derive other options from parent pool CLIENT.

Regards.

Alain.

Don't forget to rate helpful posts.

View solution in original post

4 Replies 4

cadet alain
VIP Alumni
VIP Alumni

Hi,

plug in the client and when it gets an IP with dhcp then  do a sh ip dhcp bindings  on the router.

take note of client-identifier, if it is 12 chars then use the hardware-address command otherwise if it's 14 chars beginning with 01 then

use the client-identifier command in your static pool.

For the pool:

ip dhcp pool static-pool

host  10.10.10.249 255.255.255.0

hardware-address| client-identifier xxxxxxxxx

It will derive other options from parent pool CLIENT.

Regards.

Alain.

Don't forget to rate helpful posts.

Alain,

Thank you!  I will do that.

How do I update the configuration if I decide that I want to do this with a second machine?

I appreciate the help!

James

Hi,

You create another manual binding(static) pool for the other machine, igf it's the same OS it will use the same identifier(mac address or client-identifier).

take a look here :http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfdhcp.html#wp1001108

Regards.

Alain.

Don't forget to rate helpful posts.

Review Cisco Networking for a $25 gift card