Wireless LAN DHCP relay

Hi,

One last question, then i will stop my spamming and in turn try to be of some assistance…

This is my configuration:

Eth1 = Connected to WAN
Eth2 (192.168.0.1) = DHCP server and NAT (masquerade) with eth1 selected as out.
Wlan1 = “Mode:AP bridge” with all the default settings

I would like wlan1 to use the DHCP server i configured and enabled on eth2. I tried using the DHCP relay setting, but that will not work for me, wireless client don’t get an IP at all but can connect to the router. I’m probably doing something wrong, these are my DHCP relay settings:

Name: Relay1
Interface: wlan1
DHCP server: 192.168.0.1
Local address: none

Maybe I have to setup a new DHCP server with a new NAT masquerade rule and select eth1 as out? Or any other suggestions?

Greetings!

I setup each interface with its own dhcp server.
For your setup, I would assign 192.168.0.1/24 to ether2 and 192.168.2.1/24 to wlan1. Then setup a dhcp server on each interface.

The masquerade can be a “shotgun” type, like:
/ip firewall nat add chain=srcnat action=masquerade out-interface=ether1
That way all will masquerade as the correct IP, even if you are a dhcp client.

Once again many thanks, works like a charm.