DHCP to allocate same IP to client everytime

Answered Question
Jan 16th, 2008

I would like laptops to get the same IP address from the DHCP pool every time they join the network. Is there a way of binding the laptop MAC address to an IP address so the same IP address is given to the laptop every time?

I have this problem too.
0 votes
Correct Answer by ankbhasi about 8 years 10 months ago

Hi Jaime,

Have a look at this link and I believe should help you achieving what you want

http://www.cisco.com/en/US/docs/ios/12_1/iproute/command/reference/1rddhcp.html#wp1017558

HTH

Ankur

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Loading.
ankbhasi Wed, 01/16/2008 - 09:27

Hi Jaime,

Yes that is very well possible on cisco routers/switches working as DHCP server. Can you confirm is you have cisco switches/routers working as DHCP server or some external server?

Regards,

Ankur

jaimewalker Wed, 01/16/2008 - 09:40

I have a 3750 switch working as a DHCP server.

Thanks for the quick responce,

Jaime

ajagadee Wed, 01/16/2008 - 09:31

If you want to configure manual bindings, create a host pool for the 10.10.135.111 address. For example:

ip dhcp pool STATIC

host 10.10.135.111 255.255.255.0

Client-identifier (aabb.ccdd.eeff ...)

default-router 10.10.135.1

domain-name domain.com

option 150 ip 172.16.1.11

dns-server 172.16.1.40 172.17.1.250

netbios-name-server 172.16.1.40 172.17.1.250

ip dhcp pool Data

network 10.10.135.0 255.255.255.0

default-router 10.10.135.1

domain-name domain.com

option 150 ip 172.16.1.11

dns-server 172.16.1.40 172.17.1.250

netbios-name-server 172.16.1.40 172.17.1.250

Below is the URL that has some additional details.

http://www.cisco.com/en/US/docs/ios/12_1/iproute/configuration/guide/1cdipadr.html

I hope it helps.

Regards,

Arul

shrikar.dange Thu, 01/17/2008 - 01:13

hi

An address binding is a mapping between the IP address and MAC address of a client. The IP address of a client can be assigned manually by an administrator or assigned automatically from a pool by a DHCP server.

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.

reffer following link for IOS 12.2 mailline:

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800ca75c.html#wp1001108

HTH

regards,

shri :)

Actions

This Discussion