cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
12995
Views
5
Helpful
7
Replies

Static DHCP bindings

aldboccio
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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

__

Edison.

View solution in original post

7 Replies 7

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

!

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.

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

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.

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

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

__

Edison.

Review Cisco Networking products for a $25 gift card