09-06-2006 10:13 AM - edited 03-03-2019 04:50 AM
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
09-06-2006 10:31 AM
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:
09-06-2006 11:20 AM
Thank you, i will try and let you know the result.
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