Adding a route?

Oliver Grawert hostmaster at grawert.net
Mon Oct 25 07:33:13 UTC 2004


hi,
Am Montag, den 25.10.2004, 12:36 +0800 schrieb Senectus .:
> On Sun, 24 Oct 2004 20:44:11 -0700, Matt Zimmerman <mdz at canonical.com> wrote:
> Persistent Routes:
>   Network Address          Netmask  Gateway Address  Metric
>           0.0.0.0                    0.0.0.0     172.24.192.5      10
> (this lets me use the non-proxied link to the internet)
> I want this route to only come into affect on this network.. but I
> want to have to enable/disable it every time I get on or off it..
to add the route type:

sudo route add default gw 172.24.192.5

in your terminal.
to delete the route try:
 
sudo route del default

ciao
	oli

-- 
got ubuntu ? --------------> GET UBUNTU !!!
http://www.ubuntulinux.org/





More information about the ubuntu-users mailing list