I'm re-using a wifi router as a switch for my network, but it seems I have severe problems getting the IP address from the DHCP server.
This is the topology: I have a netgear router connecting to my ADSL serving many clients via ethernet and wifi,with a working dhcp server. One of the ports is connected to another digicom router, which is set as a bridge, with dhcp server disabled and wifi AP enabled.
When I connect via ethernet or wifi to my netgear router, I have no problem. When I connect to the digicom switch (which is really a router) via ethernet, it seems to work properly. If I connect to the digicom switch via wifi with a static IP address, I have no problem. If, instead, I connect via wifi to the digicom switch using DHCP, Android, Linux and Mac OS have severe problems trying to get the IP address assigned. I see from the logs that the netgear router receives the request and assigns an address, but the client receives nothing. If I try many times, it seems every OS succeeds, but it may require several attempts and reboots of the digicom switch. After the address is received, everything works properly.
Any idea why it seems the address is not received via wifi from the digicom switch?
This is a scheme of the topology. Everything works properly except those Andorid, Linux and Mac OS clients when connecting to the digicom device via wifi link. Those are DHCP clients. Mac OS is assigned a fixed address in the DHCP server. There are other clients trying to connect here and there, but those are the ones failing.