Hello. Maybe my understanding of the DHCP relay feature is wrong but let me try to explain what I want to get.
Current setup with general broadcast DHCP
Two SSID:
- "ssid-10" with VLAN 10
- "ssid-20" with VLAN 20
Everything is connected through a switch to MikroTik there I have a DHCP server
- VLAN 10: 10.10.0.1, pool: 10.10.x.x
- VLAN 20: 10.20.0.1, pool: 10.20.x.x
Everything works as expected:
- if I connected to "ssid-10", I would get 10.10.x.x
- if I connected to "ssid-20", I would get 10.20.x.x
DHCP Relay
I hope that I understand correctly how it should work (AP works as relay agent):
- wireless STA sends a broadcast DHCP request
- AP gets this broadcast request and sends a unicast request to the DHCP server that I preconfigured
- In other words, I have to configure different DHCP servers for each SSID: 10.10.0.1 and 10.20.0.1
- DHCP server responses to AP
- AP sends a response to the STA
Looks like that should work better than broadcast. However, without DHCP relay it works well so I'm just curios if it's possible to setup.