Internet sharing

Craig Colton meerkats at
Sun Oct 21 05:37:26 PDT 2001

On Sunday 14 October 2001 04:56 pm, you wrote:
> I'm sorry, but do you mean setting up your Linux box to use your Win98 box
> as a gateway?  If so, merely run 'route add default gw IP IF' at startup,
> after ifconfig runs, where IP is that of your windows gateway and IF is the
> name of the NIC which connects to that box (most likely eth0).  This will
> make any packets addressed to IP's outside of your local LAN (anything that
> isn't apart of it), routed to your Windows gateway which will deal with it
> appropriately.  Also, make sure that you have 'nameserver IP' in your
> /etc/resolv.conf, again using the IP of your Windows box, so that the DNS
> works properly.  That's it!  If you want you can run DHCP, but in a small
> home setting using only a couple boxes, it's not necessary; static IPs will
> work just fine.  I just did all of this last night on my once-again-rebuilt
> LFS box, so it should be accurate.  Have fun!

That is indeed what I meant, and your suggestion works - how easy. Thanks.

Unsubscribe: send email to listar at
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list