cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2941
Views
0
Helpful
12
Replies

no dhcp on Switches 2960

pcfreak49
Level 1
Level 1

I have a problem with not getting dhcp ip address, I have tried everything but no results?

12 Replies 12

Leo Laohoo
Hall of Fame
Hall of Fame

Are you using the 2960 as a DHCP server?

If you are, can you post the config of the entire switch?

yes this is the running-config IS, I do not know what I did but I get no ip address

Can you remove the "IP DHCP snooping" commands and try again?

yes

I

did that

but I get

no

ip

address

This is

the

current

running-config

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.

Don't forget to rate helpful posts.

the required output of various commands `s

-sh ip int br | in Vlan

-sh run | i ip routing does not work

-sh ip dhcp-pool

-sh ip dhcp binding

-sh ip int Vlan1

Jigar Dave
Level 3
Level 3

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.

okay that works but now I can not connect to the Internet

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

it is the intention that I have Internet on the switches, the otherwise

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

I have seen that the command does not exist on the switches

Review Cisco Networking for a $25 gift card