Adding a route?
Matt Zimmerman
mdz at canonical.com
Mon Oct 25 00:01:43 UTC 2004
On Mon, Oct 25, 2004 at 07:51:45AM +0800, Senectus . wrote:
> I use my laptop at work and when there I like to add a different route
> into my windows environment, How do I do this in Ubuntu?
>
> and example.. the route I add for work in widows is:
> route add 0.0.0.0 mask 255.255.255.0 10.0.0.1 metric 10 /p
> ^Dest ^netmask ^gateway ^permanent
>
> How do I do that in linux?
That's a very odd-looking route. Perhaps Windows ignores the netmask when
the address is 0.0.0.0. Anyway, it looks like you're trying to add a
default route:
sudo ip route add default via 10.0.0.1 metric 10
--
- mdz
More information about the ubuntu-users
mailing list