[Gllug] Debian gateways

Stephen Harker steve at pauken.co.uk
Thu Jan 31 02:42:21 UTC 2002


On Thursday 31 January 2002 02:29, you wrote:
> * Stephen Harker <steve at pauken.co.uk> spake thus:
> > Quick question
> > How do you set the default gateway in Debian. This apt thing is
> > bloody brilliant you know. Installed the base system off the CD
> > and then added the woody sources to apt and it just works like a
> > charm. Installed the whole system via apt. Great. It's a very
> > close thing between OpenBSD ports and Debian apt as far as I'm
> > concerned. Mandrake and RedHat can get stuffed with their stupid
> > rpm based nonsense. Now if only someone would port all the cool
> > hardware-detection stuff from Mandrake to Debian (I wouldn't know
> > where to start), we would have the perfect distro.
>
> quick and dirty:
> 	# route add default gw x.y.z.w
> where x.y.z.w is the ip-address.
>
> A better explanation would probably be to tell you to check out
> /etc/network/interfaces (or at least its manpage, you'll find it in
> section 5).
>
> Stig
OK. The route add thing I can do fine. Its just finding the file that 
sets it all up on reboot that I need. OK brilliant. Reading the 
manpage reveals all. Sorry for wasting everyones bandwidth. 
gateway=a.b.c.d in the /etc/network.interfaces file. Ta. SFWET.
-- 
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