[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Setting debian to use Win2k as it's Internet gateway?



On Tue, 28 Oct 2003 09:09:33 +0000, Kevin.Bewley wrote:

> Kevin.Bewley@hpa.org.uk
> Hi,
>   I have a win2k box set to do ICS and dial on demand (not the question)
>   - 192.168.0.1
> 
> I have my Debian laptop attached to this eth0 192.618.0.10. They share
> files via samba. But, I'd like to be able to set Debian so that it uses
> 192.168.0.1 as it's internet gateway.
> 

Just edit your /etc/network/interfaces. It should look like this (I guess
your network interface on your laptop is eth0)

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 192.168.0.10
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1


Greetings
Andre




Reply to: