Aha
You have an access point, not a router. It's not going to work.
An access point simply passes through everything from a wired to a wireless network. There is no routing device inside it, so the modem, which can only speak to one device at a time, gets confused. The access point cannot allocat IP addresses, and cannot control what is being passed to where.