03-20-2011 02:48 PM - edited 03-06-2019 04:10 PM
I have a problem with not getting dhcp ip address, I have tried everything but no results?
03-20-2011 02:54 PM
Are you using the 2960 as a DHCP server?
If you are, can you post the config of the entire switch?
03-20-2011 02:59 PM
03-20-2011 03:30 PM
Can you remove the "IP DHCP snooping" commands and try again?
03-20-2011 03:39 PM
03-21-2011 01:01 AM
Hi,
Your clients get no IP from DHCP?
first can you add in global config mode: ip dhcp excluded-address 10.10.10.1
Then try again and if it doesn't work then post output of following commands:
- sh ip int br | in Vlan
-sh run | i ip routing
-sh ip dhcp pool
-sh ip dhcp binding
-sh ip int Vlan1
Regards.
Alain.
03-21-2011 01:44 AM
03-21-2011 02:08 AM
Hello,
after seeing your config, below are my points, your config is
##########################
ip dhcp pool LAN
import all
network 10.10.10.0 255.255.255.0
default-router 10.10.10.1
lease 0 2
###########################
my suggestion is
###################################
conf t
no ip dhcp pool LAN
ip dhcp pool LAN_PCFREAK
network 10.10.10.0 255.255.255.0
domain-name pcfreak.com
default-router 10.10.10.1
dns-server *.*.*.* (your DNS server IP)
lease 7
interface vlan 1
ip add 10.10.10.1 255.255.255.0
no ip route-cache
ip tcp adjust-mss 1460
ip dhcp snooping
ip dhcp-server 10.10.10.1
####################################
you can try this.
Best regards,
Jigar
Please rate helpful posts.
03-21-2011 02:40 AM
okay that works but now I can not connect to the Internet
03-21-2011 08:00 AM
Hi,
Appreciate if you share your connectivity diagram, without knowing it, perhaps what solution provided to you can go into your network-down condition, we dont want to take that risk.
Thanks,
Jigar
03-21-2011 08:04 AM
it is the intention that I have Internet on the switches, the otherwise
03-21-2011 08:24 AM
Hello,
From your previous config. of SW1, it seems that you dont have default route to next device connected to ( either router or other L3 Switch - from where you connects with internet)
pls add
ip route 0.0.0.0 0.0.0.0 x.x.x.x ( where x.x.x.x is next device connecting interface)
this should work.
- JD
03-21-2011 08:32 AM
I have seen that the command does not exist on the switches
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