High, On Mon, 6 Aug 2001 [EMAIL PROTECTED] wrote:
> I'm setting up a cable modem in my house, and it will be connected to a hub. > Can I just connect my networked computers to that hub to share the internet > connection? What kind of configuration do I need to do? Also, is there > anything special I need to do to use all my machines on the same IP for the > internet? [As in, keep 10.0.0.1, 10.0.0.2, etc., but have an internet > address, like 185.178.11.467 shared between them]. > Do not go that way, unless you have multiple IP adresses assigned by your provider. It seems that you have not, so first set up a well working 192.168.0.* network (or 10.0.0.* if you prefer). Then put a second nic in the computer you would like to set up as a gateway. Make your cable modem work on your gateway, then install the package 'ipmasq' (if you have a 2.2 kernel), configure this computer as gateway on the other machines (route add default gw 192.168.1.1 netmask 255.255.255.0 eth0) and you should be able to share your internet connection. That is the story in a nutshell. Look in the various howto's for more information. Greetz, Sebastiaan