08-27-2009 12:43 AM - edited 03-04-2019 05:51 AM
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
Solved! Go to Solution.
08-28-2009 04:27 AM
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
>> "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
08-28-2009 04:27 AM
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
>> "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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide