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

>
> Confirmed. What is the proper mask for a "default" route?
>

Apparently all zeros.

> If the default route
> netmask value doesn't matter, then the kernel shouldn't complain
> when I fail to specify one :-).
>

Doesn't matter??? The route is default == it has zero netmask,
if netmask is not zero, the route is not default.

Kernel WARNS you, when the family field in rt_genmask
was not specified, and it had to make an assumption about it.
This assumption could be right (in the case of default route) and
could be wrong (if it was interface route)
A lot of programs forget to make it,
fix them and this message will disappear.

In any case, it is just warning, kernel makes correct things.

Alexey Kuznetsov.

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