This article explains how to share the internet connection from one machine to other(s).
The machine acting as server should have an additional network device. That network device requires a functional data link layer to the machine(s) that are going to receive internet access:
- To be able to share internet to several machines a switch can provide the data link.
- A wireless device can share access to several machines as well, see Software access point first for this case.
- If you are sharing to only one machine, a crossover cable is sufficient. In case one of the two computers’ ethernet cards has MDI-X capability, a crossover cable is not necessary and a regular ethernet cable can be used. Executing
ethtool interface | grep MDIas root helps to figure it.
This section assumes that the network device connected to the client computer(s) is named
net0 and the network