cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
551
Views
0
Helpful
3
Replies

Stand alone DHCP server on a Cat3550

admin_2
Level 3
Level 3

I try to configure a DHCP server with no external resources on a 3550 running (C3550-I5Q3L2-M), Version 12.1(20)EA1a. Upon requesting a DHCP address on a client I get "address pool public is empty" in debug output. Any suggestions?

My config:

===================================================

no ip dhcp conflict logging

ip dhcp excluded-address 192.33.128.1 192.133.128.29

ip dhcp excluded-address 192.33.129.1 192.133.129.29

!

ip dhcp pool office

network 192.33.129.0 255.255.255.0

domain-name epac04.ch

dns-server 129.129.190.11 129.129.230.11

default-router 192.33.129.1

!

ip dhcp pool public

network 192.33.128.0 255.255.255.0

domain-name epac04.ch

dns-server 129.129.190.11 129.129.230.11

default-router 192.33.128.1

netbios-name-server 129.129.190.15

netbios-node-type h-node

!

3 Replies 3

Hello,

I assume your DHCP server is not actually dishing out an address to your client ? Can you post the output of:

debug ip dhcp server events

Also, just a thought, make sure that your config does not contain the line:

no service dhcp

Regards,

Georg

Not applicable

Seems to be the typo I've had in the exclude range (133 instead of 33)... A sanity check would have been nice :-)

epang
Level 1
Level 1

Hi,

Here is what I did, may not be the ideal way, but isn't this what a test system is for :)

1) You may need to enable CEF.

2) Assign your default-gateway, and ip addess in Vlan1. (may not be needed).

3) enable dhcp snooping.

4) the port that is to assign dhcp enable dhcp snooping.

5) enable vlan1 - ip dhcp snooping information trusted.

Very interesting possibilities... :)

========================================

ip dhcp pool public

network 192.168.0.0 255.255.255.0

default-router 192.168.0.1

dns-server 192.168.0.1

interface FastEthernet0/3

switchport mode access

ip dhcp snooping trust

interface Vlan1

ip address 192.168.0.50 255.255.255.0

ip dhcp relay information trusted

==================================================

Debug of dhcp...

00:31:39: DHCPD: assigned IP address 192.168.0.1 to client 0100.061b.cc37.fc