cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
384
Views
5
Helpful
2
Replies

Cant get IP dhcp from Vlan

denizpecel
Level 1
Level 1

Hi

I have a router switch twain with vlans configured. From one of my subinterface i have configured ip address dhcp (i also tried ip address dhcp client-id etc), however i can not get ip address. When i configure without vlan and connect the ethernet directly to the router there is no problem. what is the problem?

Thanks in advance.

deniz

2 Replies 2

gpulos
Level 8
Level 8

if you've configured the port with a vlan you may also need to configure UDP forwarding so that VLAN has the ability to have hosts request UDP DHCP addresses and these requests get forwarded to the vlan/subnet that the dhcp server resides on.

does your dhcp server reside on a different subnet? if so, configure the SVI with 'ip helper-address x.x.x.x' to have all dhcp requests forwarded properly.

when you connect the ethernet directly to the router, you would not need UDP forwarding for dhcp requests to be forwarded properly; so it makes sense this would work as you've stated.

please see the following link for more UDP forwarding info:

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_command_reference_chapter09186a0080087387.html#wp1018606

Thank you, i will try and let you know the result.