Question: how to connect 2 computers to one 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.