02-26-2009 08:29 AM - edited 03-06-2019 04:16 AM
Hi,
I'm very new to Cisco, so bear with me. I am setting up an 1812 and I'm having trouble using DHCP to distribute static addresses. I have had quite a bit of experience doing this with other routers and thought I had it right. Using SDM, I defined the DHCP pool and created the DHCP bindings but the servers didn't pick up thise addresses and I had to configure one each separately. I would like to have DHCP do the job since it would also update the DNS settings when necessary.
I tried allocating the entire subnet to DHCP and that didn't work. Then I allocated a small block to DHCP with the bindings outside the block, this is the way I would normally configure static DHCP. Neither way worked, what am I missing?
Thanks,
Al
Solved! Go to Solution.
02-28-2009 08:17 AM
02-26-2009 09:00 AM
Please refer to the documentation:
HTH,
__
Edison.
02-27-2009 05:02 AM
Thanks for the quick reply. My problem is not entering the address assignments, the servers are not getting the assignments, they get a pool address. I have temporarily setup each server but would like to use the 1812. Here are my assignments from the sdmconfig.txt, is this correct?
!
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.123.1 192.168.123.49
ip dhcp excluded-address 192.168.123.151 192.168.123.254
!
ip dhcp pool sdm-pool1
network 192.168.123.0 255.255.255.0
default-router 192.168.123.254
dns-server 167.206.112.138 167.206.7.4
!
ip dhcp pool Canon7105
host 192.168.123.245 255.255.255.0
hardware-address 0000.855d.188a
!
ip dhcp pool CLS3-1
host 192.168.123.251 255.255.255.0
hardware-address 0019.b9e0.9fd2
!
ip dhcp pool CLS3-2
host 192.168.123.252 255.255.255.0
hardware-address 0019.b9e0.9fd4
!
ip dhcp pool Vonage
host 192.168.123.253 255.255.255.0
hardware-address 0015.e9b8.ef3a
!
ip dhcp pool UPS-Backup
host 192.168.123.160 255.255.255.0
hardware-address 0016.ec45.5478
!
02-27-2009 06:19 AM
Try using client-identifier instead of hardware-address
http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_dhc1.html#wp1011901
HTH,
__
Edison.
02-27-2009 06:54 AM
Thanks again, I will try this over the weekend, it's to busy today to restart a server. I already setup 2 static assignments for test.
Al
02-27-2009 07:06 AM
The key is identifying what's being received by the router in the form of DHCP request packet.
show ip dhcp bindings will show you what's the correct client identifier or hardware address from those servers.
http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_dhc3.html#wp1018057
HTH,
__
Edison.
02-28-2009 05:45 AM
Thanks very much, that worked! I have always used GUIs setting up routers before so I am a little hesitant to jump into IOS, even though I have extensive experience with command line OSs.
Al
02-28-2009 08:17 AM
Glad to be of help, please remember to rate helpful posts
__
Edison.
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