Reserver IP address via DHCP

Answered Question
Aug 26th, 2009

I defined a pool of DHCP on IOS software, I want to reserve a IP address to host, I made it, only that doesn't assigned the IP address that I defined in the pool

Help? How I can to do it?

Example

ip dhcp pool guestimport all

network 172.23.12.0 255.255.255.0

default-router 172.23.12.254

address 172.23.12.231 hardware-address 0100.14c2.c6ec.42

I have this problem too.
0 votes
Correct Answer by Juan Carlos Ari... about 7 years 3 months ago

Jorge,

First you have to create an IP dhcp pool for your clients, then for a fixed IP address create another IP dhcp pool.

Example, if your MAC is 12.34.12.34.12.34

ip dhcp pool Client1

host 172.23.12.200 255.255.255.0

client-identifier 0112.3412.3412.34

Release the IP and renew IP address and IP address 172.23.12.200 will be assign it.

Hope this helps.

Regards,

JC Arias

Correct Answer by Paolo Bevilacqua about 7 years 3 months ago

Do not use hardware-address.

Use client-identifier, chek "show dhcp server lease", you have to add one extra byte to the mac.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Loading.
Correct Answer
Paolo Bevilacqua Wed, 08/26/2009 - 16:08

Do not use hardware-address.

Use client-identifier, chek "show dhcp server lease", you have to add one extra byte to the mac.

Correct Answer
Juan Carlos Ari... Thu, 08/27/2009 - 10:24

Jorge,

First you have to create an IP dhcp pool for your clients, then for a fixed IP address create another IP dhcp pool.

Example, if your MAC is 12.34.12.34.12.34

ip dhcp pool Client1

host 172.23.12.200 255.255.255.0

client-identifier 0112.3412.3412.34

Release the IP and renew IP address and IP address 172.23.12.200 will be assign it.

Hope this helps.

Regards,

JC Arias

Actions

This Discussion