cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1653
Views
0
Helpful
8
Replies

DHCP not working on VLAN

huwyhuwy123
Level 1
Level 1

Hi there,

I'm trying to setup dhcp to working on a particular vlan but for whatever reason it doesn't work.

I have attached the config. The vlan I am trying to setup is vlan 400 (aka ticketing - 192.168.32.0/24). DHCP seems to work perfectly fine on the vlans 27 and 600 and I can't see what the difference is. Can anyone help?

Thanks a lot,

Huw

8 Replies 8

Jon Marshall
Hall of Fame
Hall of Fame

Huw

Can't open the text file - get an encoding error.

If the DHCP server is not on the same subnet then have you included under the vlan 400 interface an ip helper-address ie.

int vlan 400

ip helper-address x.x.x.x <--- where x.x.x.x is the DHCP server address.

If you have done the above are there any acls on the vlan 400 interface ?

If not then check the scope setup on the actual DHCP server.

Jon

thanks jon.

here is the file again.

I'm trying to setup dhcp on the switch itself?

-Huw

In the attached file everything is OK.  Try to shutdown interface vlan 400 and unshutdown. 

try and update me.

thanks for coming back.

I tried running

int vlan 400

sh

no sh

Still doesn't work though sadly.....?

Hi,

Can you sniff on the host attached to this vlan and post  capture file.

Regards.

Alain

Don't forget to rate helpful posts.

glen.grant
VIP Alumni
VIP Alumni

   Is there a reason in your dhcp config  that you have specified 192.168.32.240 as your default router when the SVI address  for vlan 400 is 192.168.32.251 ?   Normally it should be the SVI as the default router address.

Julio Garcia
Level 1
Level 1

huwy,

can you clarify the symptoms you are seeing -- is it clients not recieving any info at all from DHCP ,  or that they are not connecting the way that you want them to?

Hi All,

Thanks for the responses.

The SVI address needs to be changed to 192.168.32.240 as that is now the default gateway. There's no other reason for this its just out of date.

Clients do not receive any dhcp details - if I connect a laptop to this network it ends up with a 169.254 address. I have had to setup a windows server on this subnet just to provide dhcp as an interim solution.

I can setup a wireshark or something to sniff this but it will have to wait until I'm in the office next.

Thanks again I appreciate the help with this.

H