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
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
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
you may consider also the client-identifier command
>> 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
>> "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