I'm running a somewhat-upgraded version of Debian 2.1 with
kernel 2.2.6, and I've noticed this worrying message in my
startup sequence.
After some investigation, I've discovered it's occurring
during /etc/init.d/network, specifically, the "route"
command.
This is my /etc/init.d/network file:
#! /bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
ifconfig eth0 192.168.1.2
route add -net 192.168.1.0 dev eth0
..and each (yes, I get it twice) of the "route add" lines
produces:
SIOCADDRT: Invalid argument
I've tried issuing the commands manually as well, and
get the same thing. However, the routing table
does appear to be being updated correctly. I can
ping loopback, and my computer works fine on my local
mini-LAN via eth0.
This happens if just the loopback is used, as well -- i.e.,
if I remove the last two lines. (Actually, this
started before I even added the eth0 device to my PC.)
I know this has been happening ever since I upgraded my
kernel to 2.2.6 -- I'm not sure if it happened before, but
I don't think it did...
It doesn't seem to be a serious error, but it worries me,
and I'd like to fix it.
If anyone could shed some light on this, I'd appreciate it.
Thanks...
-----------------------------------------------------------------
Alex Taylor BA - CIS - University of Guelph
-----------------------------------------------------------------