02-13-2011 09:53 AM - edited 03-06-2019 03:31 PM
Hi,
I have created this config on switch.
p dhcp pool CARLSON
network 10.36.247.64 255.255.255.224
domain-name carlson.com
dns-server 203.122.63.152 203.122.63.154
default-router 10.36.247.81
!
ip dhcp pool pool2
host 10.36.247.82 255.255.255.224
hardware-address 0100.16d3.0f1d
interface Vlan1
ip address 10.36.247.81 255.255.255.224
end
DHCP works fine but i need to map MAC addresses. I saw a doc where it was mentioned if i need to do that i need to go for special pool so i created pool2.
still the machine is getting IP address dynamic way.
Switch#sh ip arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.36.247.81 - ecc8.82f4.76c0 ARPA Vlan1
Internet 10.36.247.67 0 0016.d30f.1db3 ARPA Vlan1
Switch#
Can some help me what i am missing here ?
Thanks
Ajay
02-13-2011 10:32 AM
Hi,
Can you avoid putting the same post in different sections.
Please delete this duplicate post as it is already in the wan and routing section.
Regards.
Alain.
02-14-2011 01:33 AM
Hi Ajay,
Your problem will get solve by following the below steps...
Specify a new DHCP pool for each differentiated with each hardware-address
that you want to tie in.
ip dhcp pool CLIENTS
network 192.168.198.0 255.255.255.0
default-router 192.168.198.1
dns-server 192.168.200.5 192.168.199.5
domain-name example.local
lease 0 4
!
ip dhcp pool RESERVED-HOST
host 192.168.198.80 255.255.255.0
client-identifier 0100.4096.3944.3f
!
So the client with MAC 0040.9639.443f will always lease the IP
192.168.198.80/24 with the other options from the pool CLIENTS
Please rate the helpfull posts.
Regards,
Naidu.
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