[Gllug] Debian gateways

Stig Brautaset stigbrau at start.no
Thu Jan 31 02:29:00 UTC 2002


* 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

-- 
brautaset.org
Registered Linux User 107343

``Oh, how I wish `undo' was ported to everyday life.''

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list