" both connected to the hub, which is connected to the cable modem. "

The hub needs to be tossed and a router installed.

Bob