DHCP relay not working?
Posted: 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?):
The phones don't get a DHCP lease and as such just disconnect.
in the logs of the AP I can see: the following:
On the router, no logs appear.
I hope somebody can help me out
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?):
- Plugged the ether1 port from the AP (still off at this time) into the ether3 from my router.
- Set the IP of my router's ether 3 to 172.16.0.1/12.
- Created a pool "Parents" with range "192.168.0.3-192.168.254.254" on my router
- 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.
- 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"
- Turned on the AP
- Create a wifi network on wlan1
- Set the ip of ether1 to "172.16.0.2/12" with the network set to "172.16.0.0"
- Set the ip of wlan1 to "192.168.0.1" with the network set to "192.168.0.0"
- Add a DHCP relay on interface wlan1 with dhcp server "172.16.0.1" and local address "192.168.0.1"
- Connect my phone(s) to the wifi network
The phones don't get a DHCP lease and as such just disconnect.
in the logs of the AP I can see: the following:
Code: Select all
<MAC>@wlan1: connected
<MAC>@wlan1: disconnected, received deauth: sending station leaving (3)
I hope somebody can help me out