cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
269
Views
0
Helpful
1
Replies

IOS DHCP Server Host Binding

snarayanaraju
Level 4
Level 4

Hi Experts,

I am configuring IOS DHCP server in the 4510 switch. I am trying to manually bind some clients using their MAC address.

ip dhcp pool MYSUBNET

network 192.168.1.0 255.255.25.0

default-router 192.168.1.254

I thought I could create host to MAC address mapping inside the pool MYSUBNET. But I read in Cisco DOC that, a separate host pool like below has to be created

ip dhcp pool SAIRAM

host 192.168.1.3 255.255.255.0

hardware-address 0090.f549.4d31

Also I noticed that I am able to map one host only under one pool. Is it so? If I have 100 host do i have to create 100 pools.

How it works? How this host get the default gateway. Will it fetch from the corresponding pool say in our case MYSUBNET?

Please explain the concept.It may be very fundamental, but I am not aware this concept

Thanks in advance

sairam

1 Accepted Solution

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Sairam,

you may consider also the client-identifier command

http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_dhc1.html#wp1011901

>> How it works? How this host get the default gateway. Will it fetch from the corresponding pool say in our case MYSUBNET?

and yes your understanding is right there is the concept of inheriting attributes

see

http://www.cisco.com/en/US/docs/ios/ipaddr/configuration/guide/iad_dhcp_svr_cfg_ps6350_TSD_Products_Configuration_Guide_Chapter.html#wp1155127

>> "The DHCP server database is organized as a tree. The root of the tree is the address pool for natural networks, branches are subnetwork address pools, and leaves are manual bindings to clients. Subnetworks inherit network parameters and clients inherit subnetwork parameters. Therefore, common parameters, for example the domain name, should be configured at the highest (network or subnetwork) level of the tree.

Inherited parameters can be overridden. For example, if a parameter is defined in both the natural network and a subnetwork, the definition of the subnetwork is used."

Hope to help

Giuseppe

View solution in original post

1 Reply 1

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Sairam,

you may consider also the client-identifier command

http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_dhc1.html#wp1011901

>> How it works? How this host get the default gateway. Will it fetch from the corresponding pool say in our case MYSUBNET?

and yes your understanding is right there is the concept of inheriting attributes

see

http://www.cisco.com/en/US/docs/ios/ipaddr/configuration/guide/iad_dhcp_svr_cfg_ps6350_TSD_Products_Configuration_Guide_Chapter.html#wp1155127

>> "The DHCP server database is organized as a tree. The root of the tree is the address pool for natural networks, branches are subnetwork address pools, and leaves are manual bindings to clients. Subnetworks inherit network parameters and clients inherit subnetwork parameters. Therefore, common parameters, for example the domain name, should be configured at the highest (network or subnetwork) level of the tree.

Inherited parameters can be overridden. For example, if a parameter is defined in both the natural network and a subnetwork, the definition of the subnetwork is used."

Hope to help

Giuseppe

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:

Review Cisco Networking products for a $25 gift card