cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2336
Views
5
Helpful
5
Replies

DHCP to allocate same IP to client everytime

jaimewalker
Level 1
Level 1

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

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

View solution in original post

5 Replies 5

ankbhasi
Cisco Employee
Cisco Employee

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

I have a 3750 switch working as a DHCP server.

Thanks for the quick responce,

Jaime

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

ajagadee
Cisco Employee
Cisco Employee

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

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

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: