OpenWrt Forum Archive

Topic: Configure router to forward dhcp requests

The content of this topic has been archived on 27 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

i have the following scenario. I have two routers that are chained. The first one is connected to a DHCP server and retrieves successfully ip addresses. Is it possbile to configure this one so that it forwards the dhcp requests of the second one, so that the second one also retrieves an ip address from the dhcp server(running at my pc)? In general, how can i configure the first router to forward all the trafic with destination of the second router after the second has retrieved successfully an ip address?

Thanks!

(Last edited by igurov on 9 Jul 2012, 13:05)

Sounds like the first one should act like a switch. If it has a dedicated wan interface (eth1) then bridge it to lan and set the lan bridge to dhcp. If wan is a switch port then reconfigure the switch to include all ports in the lan vlan and set the bridge to dhcp.

This is covered in the dumb ap recipe: http://wiki.openwrt.org/doc/recipes/dumbap

The discussion might have continued from here.