[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: route, 2.2.x and slink



On Wed, Sep 15, 1999 at 10:29:32AM -0700, tjm wrote:
> cause harmless warning messages".  The 'route
> add -net' seems not to work and there are
> some warning messages both during boot and 
> when trying the route commands.  For instance,
> 
> route add -net 127.0.0.0
> yields a response of
> SIOCADDRT: Invalid argument
> 
> It seems that the route add -net command is the
> one in the scripts that's causing the problem.


Hon hon, since the beginning of 2.2.x kernels, the new syntaxis is:

route add -net 127.0.0.0 netmask 255.255.255.0 broadcast 192.168.1.255

(IF you're in the 192.168.x.x slice, of course ;-> )

But you can notice that, even if it says 'SIOCADDRT......' the setting
is good; so this new setting only removes the error msg.

JY


Reply to: