Quote:>I have been trying to set up a linux box + LAN to provide that LAN
>access to the internet via the linux box. However, the IP masquerading
>howto isn't very clear on a few points:
> Specifically: Which IP's do I use in netconfig? Should the host IP be
>my ISP assigned one, or my LAN one? Should my GATEWAY be my ISP assigned
>one, or the localhost?
> Also - if someone could point me in the direction of more adequate
>documentation, I would be most grateful.
> Rince.
It does not really matter. As long as your ISP thinks you are a
workstation with the IP he gave you (usually dynamically assigned via
PPP or SLIP, not netconfig), you should be alright.
In my setup (which I am using right now), my local net is using
192.168.1.x addresses (linux box as a gateway is 192.168.1.1 on the
local ethernet as set in netconfig). The ISP assigns me an address in
the range of 204.49.XX.YY, which is the IP of the SLIP interface (a
given machine can have different addresses for ethernet and PPP).
The Windoze machines on the ethernet have 192.168.1.1 as a gateway
(they do not have to know the ISP assigned IP)
However, the linux gateway must have ist default route set to the ISP
provided IP, otherwise, the linux box will not know where to send the
packets.
Didier