Re: 2.1.15 vs. "route"

A.N.Kuznetsov (kuznet@ms2.inr.ac.ru)
Sun, 15 Dec 1996 21:32:25 +0300 (MSK)


>
> random:~# route add 0.0.0.0 gw 152.52.28.23 netmask 0.0.0.0 ppp0
>
> it adds it as 255.255.255.255 (which isn't correct).
>

You forgot -net.

"route add -net 0.0.0.0 netmask 0.0.0.0" is exacly the same
thing as "route add default".

Well, the only difference is that "route add default" will warn
about netmask.

Alexey Kuznetsov.