As in the diagram below I have two routers on two different subnets. I connected them together but have not set static routes yet.
However, when connecting from Access Point A's SSID, I get an IP from Router B on its network (192.168.2.x), and when connecting via Access Point B, I get an IP from Router A (192.168.0.x). Also, the DHCP relay function is disabled on Router A (EdgeRouter X), but didn't find that option on Router B (TP-Link R470T+).
How to make sure only the DHCP server on the same network responds to DHCP requests? I am trying to block UDP ports 67/68 on the outgoing interface of the Edgerouter without any success so far, but I hoped there might be a more straightforward solution.
Thank you.