Community discussions

MikroTik App
 
FinlayDaG33k
just joined
Topic Author
Posts: 24
Joined: Sat Jun 08, 2019 7:29 pm

DHCP relay not working?

Sun Jun 09, 2019 1:15 am

Hii there,

I'm trying to have my MikroTik hAP AC Lite use my router's (CRS326-24G-2S+RM) DHCP.
To do so, I have done the following (following the guide on the Manual, with some minor changes that should have no effect?):
  1. Plugged the ether1 port from the AP (still off at this time) into the ether3 from my router.
  2. Set the IP of my router's ether 3 to 172.16.0.1/12.
  3. Created a pool "Parents" with range "192.168.0.3-192.168.254.254" on my router
  4. Created a DHCP server on my router called "Parents" using the "bridge" interface (to which all ports on my router are hooked) with the relay set to "192.168.0.1" and assigned the pool to it.
  5. Created two networks:
    • "172.16.0.0/12" with gateway "172.16.0.1"
    • "192.168.0.0/24" with gateway "192.168.0.1"
  6. Turned on the AP
  7. Create a wifi network on wlan1
  8. Set the ip of ether1 to "172.16.0.2/12" with the network set to "172.16.0.0"
  9. Set the ip of wlan1 to "192.168.0.1" with the network set to "192.168.0.0"
  10. Add a DHCP relay on interface wlan1 with dhcp server "172.16.0.1" and local address "192.168.0.1"
  11. Connect my phone(s) to the wifi network
Unfortunately, this is as far as I have come...
The phones don't get a DHCP lease and as such just disconnect.
in the logs of the AP I can see: the following:
<MAC>@wlan1: connected
<MAC>@wlan1: disconnected, received deauth: sending station leaving (3)
On the router, no logs appear.

I hope somebody can help me out :)
 
FinlayDaG33k
just joined
Topic Author
Posts: 24
Joined: Sat Jun 08, 2019 7:29 pm

Re: DHCP relay not working?

Sat Jun 15, 2019 5:27 pm

I have managed to get this working in the time it took for a mod to approve my post :)
Unfortunately, I have forgotten what I exactly did...