How to use OpenWRT Router as DHCP Server?

I want to enable my OpenWRT router as DHCP server for my wifi devices and use internet.
My current setup is ISP Router for all my lan and wifi devices.
But I want my OpenWRT as a 2nd DHCP server(may be different IP range also).
Is it possible to use OpenWRT router with ISP Router and connect to internet?

connect your openwrt router to the old router through the wan port, just make sure the wan and lan subnets aren't the same.

2 Likes

My old router don't have wan port it's fiber connection, so just lan ports.
and my OpenWRT router is adsl, so only lan ports there also. though it has a LAN4 port with LAN4/WAN sign on it. ISP router got IP range of 192.168.1.1.

i didn't say anything about your main router's wan port.

you can reassign one of the LAN ports, and make it WAN.

then you'll need to change the openwrt LAN side subnet.

So LAN4/WAN should be added a interface to dhcp client? and what about 3 other lan ports? can I use it as lan ports? also openwrt router has wifi, which I want to use If I'm a roaming around.

read Reconfigure lan port as wan, the syntax might be wrong though, since your hw probably isn't using swconfig any more.

yes