2.1.27; /sbin/route isn't happy anymore

Ben Goodwin (ben@acol.com)
Wed, 25 Dec 1996 02:05:50 -0500

/sbin/route doesn't like the redhat route statements with 2.1.27 .. this is
a move from 2.0.18, so I don't know where it broke down. I get kernel
messages saying I forgot netmask statements, or invalid args .. the route
for loopback doesn't exist, yet I can telnet back to myself on 127.0.0.* ..
I can't manually add the route cuz it complains ..
> /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
146.115.172.0 * 255.255.255.0 U 32767 0 0 eth0

ifup-eth contains:

ifconfig ${DEVICE} ${IPADDR} ${NETMASK} ${BROADCAST}
echo /sbin/route add ${FLAGS} ${NETWORK} ${NETMASK} ${DEVICE}
/sbin/route add ${FLAGS} ${NETWORK} ${NETMASK} ${DEVICE}
if [ "${GATEWAY}" != "" -a "${GATEWAY}" != "none" ]
then
# route add default gw ${GATEWAY} metric 1 ${DEVICE}
route add default gw ${GATEWAY}
fi

The comment above was necessary o/w the route for my network didn't get
added .. I would get "SIOCADDRT: Bad address" with the first line.
(any time I use metric, I seem to get this)

I also get all kinds of unaligned traps (harmless, but it's a lot more
frequent, and the traps more than not are kernel traps), .. i also see:
Dec 25 02:03:48 phoenix kernel: Taking exception at [<fffffc00004251a4>]
(fffffc000042527c)
And upon a shutdown -r, right as it's about to finish up and reboot, I get
a kernel ooops, can't handle paging request, and then it proceeds to reboot.
Anyway. yes it's a 2.1.x series, but it's info that may help, and I may
need to be pointed in the right direction about some stuff.. ie glibc
upgrade necessary perhaps, or a netkit upgrade?
I'm running redhat 4.0 pretty much stock .. on a UDB with 48 meg ram 1 gig HD.
Anywho.. I can continue to use the system.. at least AFAIK .. none of this
has been fatal.. yet.. :)
I recall something about another list being create for kernel stuff.. ?
What list would that be? This probably belongs in there.
Thanks!
- Ben

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices