lkml.org 
[lkml]   [1996]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.1.15 vs. "route"
Date


>
> 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.

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.044 / U:4.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site