Question: how to connect two computers to one cable modem?
Answer: Direct Ethernet Connection. Insert a Ethernet cable plug into one of the Ethernet ports on the back of the cable modem. ... 
Router Connection. Run an Ethernet cable from an Ethernet output port on the cable modem to the input port on the router. ... 
Wireless Router Connection.