most cable companies new 'modems' will only allow for 1 system to connect. If you want to add an extra, you either pay for an additional IP address for each system, or you have to unplug the modem when you connect onto another system.
this keeps from sharing the connection, I think it holds onto a MAC list in the modem for the first connected computer.
To get by this, and to share seamlessly with multiple systems, put a router in, reset the modem and have the router the first and only computer that the modem sees.
Then the router (not hub or switch) will connect to all other computers on the network. If you have need to further split the connection, more than the router has ports, I suggest putting a switch in after that. But for the original posters request, a router is the best possible route to go.