Static DHCP bindings

Answered Question
Feb 26th, 2009
User Badges:

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

Correct Answer by Edison Ortiz about 8 years 4 months ago

Glad to be of help, please remember to rate helpful posts


__


Edison.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
aldboccio Fri, 02/27/2009 - 05:02
User Badges:

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

!


aldboccio Fri, 02/27/2009 - 06:54
User Badges:

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

Edison Ortiz Fri, 02/27/2009 - 07:06
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

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.


aldboccio Sat, 02/28/2009 - 05:45
User Badges:

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

Correct Answer
Edison Ortiz Sat, 02/28/2009 - 08:17
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

Glad to be of help, please remember to rate helpful posts


__


Edison.

Actions

This Discussion