I want to allow the DHCP client PC (A) connected to ETH1 port of the mAPlite (B) to an existing DHCP server (C)in accessible by the LAN where the WLAN interface of the mAPlite is connected.
But I cannot get the IP from the DHCP server, with Torch I see the requests but no response.
If I enable the DHCP on the mAPlite the PC get an address from it but not from external DHCP server.
DHCP CLIENT A >>>> eth1 of B
wlan1 of B >>>> C DHCP SERVER
Ideally A should get address from C.
I’ve bridged ETH1 and WLAN, no rules on firewall or NAT.
With Torch on the bridge I can see the DHCP client requests coming from A.
Can someone please say me what’s missing?
Wifi is not made for bridging wired parts of LAN transparent in L2 sense. Vendors introduced incompatible solutions and later came WDS (which itself is a small mess).
So it is important to know how both wireless devices are configured - you mentioned mAP lite, but not the other end of wireless connection.
You don’t need dhcp client or server on station bridge device, just assign ip address from your first router LAN network to the Bridge on the second router. First router wlan must be in ap-bridge mode and if dhcp-server is on bridge, then wlan interface must be in the same bridge. Everything must work and the PC must receive IP address from first routers dhcp network.
On your main Mikrotik router (C DHCP SERVER)
/interface wireless
set mode=ap-bridge ssid=YOUR-SSID wds-default-bridge=bridge-local wds-mode=static-mesh
/interface wireless wds
add disabled=no master-interface=wlan1 wds-address=xx.xx.xx.xx.xx.xx (wifi MAC of remote Mikrotik = DHCP CLIENT A)
On your remote Mikrotik (DHCP CLIENT A)
clean/remove setup (especially disable DHCP, NAT, edit/remove firewall) and put all interfaces to bridge, set DHCP client on bridge and add your security profile and change wifi mode:
/ip dhcp-client
add interface=bridge-local
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk wpa2-pre-shared-key=YOUR-PASSWORD
/interface wireless
set frequency=auto mode=station-wds ssid=YOUR-SSID
All LAN ports on remote Mikrotik are now wireless connected to your LAN.