Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 2.1.27; /sbin/route isn't happy anymore
@ 1996-12-25  7:05 Ben Goodwin
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Goodwin @ 1996-12-25  7:05 UTC (permalink / raw)


/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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.1.27; /sbin/route isn't happy anymore
       [not found] <3.0.32.19961225020549.0069ac04@acol.com>
@ 1996-12-25  7:39 ` Ben Goodwin
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Goodwin @ 1996-12-25  7:39 UTC (permalink / raw)


To add to that note .. I get:
Doing: route add -net 146.115.172.0 netmask 255.255.255.0 eth0
SIOCADDRT: Operation not supported by device

But if I drop the eth0, add a gw (my ether interface), it's ok..
oddly enough, my network route IS in the table.
but the loopback route isn't.  If I try the modified statement for
loopback, it accepts it, but doesn't show in the table.  Trying the same
command again errors out with a file exists message..
Almost seems like routing now must be numbered instead of interface'd and
the tools/kernel don't have it down right  yet.. ? /proc/net/routes
doesn't show the loopback route either .. 

Thanks again,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
:                 Benjamin C. Goodwin - ben@acol.com                      :
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-12-25  7:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3.0.32.19961225020549.0069ac04@acol.com>
1996-12-25  7:39 ` 2.1.27; /sbin/route isn't happy anymore Ben Goodwin
1996-12-25  7:05 Ben Goodwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox