: >
: > My IP is actually 192.168.104.49 - this "route" looks a bit odd...
: > Kernel IP routing table
[and so on]
: Mine looks similar, I think route and ifconfig aren't reporting correctly,
: route will also show a deleted route when in fact it's gone. There have been
: articles on this in the kernel mailing list, I'll live with it as it's not
: causing any harm.
I had a bit of that too; and I found an explanation (copied from a post by
'In [kernel] 2.1.x ifconfig effectively implies the corresponding "route
add -net".'
[...]
> I didn't change anything with my bootscripts during the kernel change
[from 2.0.x to 2.1.x]
That will be the cause of your problem.'
The m*of the story is: you have to remove the explicit "route -add
net" commands from your network configuration scripts (on my RH4.1
installation it was /etc/sysconfig/network-scripts/ifup. I commented out
the following lines:
if [ "$IPSETUP" != yes ]; then
ifconfig ${DEVICE} ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
# if [ "$ISALIAS" = no ] ; then
# route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE}
# else
# route add -host ${IPADDR} ${DEVICE}
# fi
Now, my route output looks normal again.
Peter