[Gllug] Debian gateways
Stephen Harker
steve at pauken.co.uk
Thu Jan 31 11:50:01 UTC 2002
On Thursday 31 January 2002 10:47, you wrote:
> On 1/31/02, 9:26:04 AM, "Jackson, Harry"
> <HJackson at colt-telecom.com> wrote
>
> regarding RE: [Gllug] Debian gateways:
> > Hi Stephan
> >
> > Go to /etc/network/interfaces and you should find one for eth0 in
> > there.
>
> It
>
> > should be something like this.
> >
> >
> > # The first ethernet interface
> > iface eth0 inet static
> > address 192.168.10.2
> > netmask 255.255.255.0
> > gateway 192.168.10.1
> > broadcast 192.168.10.255
> >
> > at the shell
> > $ifdown
> > $ifup
> > $route -n
> > and you should see the gateway there. I am not sure if the ifdown
> > ifup commands are required.
>
> They are if you didn't add the route any other way. The interfaces
> file is read when the ifup and ifdown commands are executed, so
> changing the file has no effect until then.
Ta. I should have read the ifup manpage, but at the time the man
package wasn't installed yet :-). apt-get on one console, me tweaking
the network settings on another...
--
Stephen Harker
steve at pauken.co.uk, http://www.pauken.co.uk
" " - Marcel Marceau
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list