04-29-2004 11:36 PM - edited 03-02-2019 03:22 PM
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
!
04-30-2004 12:26 AM
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
05-03-2004 12:53 AM
Seems to be the typo I've had in the exclude range (133 instead of 33)... A sanity check would have been nice :-)
05-04-2004 03:23 AM
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
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