System: openwrt 8.09 in a WRT54GL:
I don't want to use the dhcp server inside openwrt. So if the dhcp server is a computer in my lan, how do I make clients joining the wireless network get an ip from it?. The wifi and lan are not bridged, do the dhcp server has to be on the same network than the clients?
LONG STORY:
I am testing a captive portal. I want it to capture clients connecting wirelessly. For this I have set the wireless device and the switch on different interfaces, breaking the bridge br-0 that was set by default.
I have set the gateway for the wifi interface to the ip of the captive portal, add rules to the firewall to forward traffic between lan and wifi interfaces and not added a DHCP section for the wifi part since the captive portal is offering this service. However the clients can't join the wireless conecction. I set the dhcp service for the wifi in openwrt just to test and then the clients started joining the wireless connecion. So I guess the problem is that my clients can't obtain an ip address from the captive portal.
Maybe this is more a networking question... but I hope you can help me I don't why it doesn't work.
Thanks!