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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

DHCP to allocate same IP to client everytime

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: DHCP to allocate same IP to client everytime

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

5 REPLIES
Cisco Employee

Re: DHCP to allocate same IP to client everytime

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

New Member

Re: DHCP to allocate same IP to client everytime

I have a 3750 switch working as a DHCP server.

Thanks for the quick responce,

Jaime

Cisco Employee

Re: DHCP to allocate same IP to client everytime

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

Cisco Employee

Re: DHCP to allocate same IP to client everytime

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

Re: DHCP to allocate same IP to client everytime

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 :)

165
Views
5
Helpful
5
Replies