Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Ben Goodwin <ben@acol.com>
Subject: Re: /sbin/route and 2.1.20 kernel
Date: Tue, 07 Jan 1997 20:12:00 -0500	[thread overview]
Message-ID: <3.0.32.19970107201159.006994b8@acol.com> (raw)

I had this problem as well, and spent some time working on it.
I never really found out what.. but it looks like the kernel routing table
is now manipulated differently, and may need a new route binary.  I posted
a message a week or two ago and got no response.  Does anyone know of a fix?

I don't recall the actual command line I used to get around it.. You can,
if you play with the syntax a bit, get the routes added .. but it'll still
complain about it .. weird...

At 07:54 AM 1/8/97 +0800, you wrote:
>I compiled the new 2.1.20 kernel on both our Jensen box
>and our 486.  The compiles succeeded without problems.
>On booting with the new kernel, the following 'route add'
>commands in the network setup scripts produced warning messages
>
>     /sbin/ifconfig lo ...
>>>>  /sbin/route add -net ...
>     /sbin/ifconfig eth0 ...
>>>>  /sbin/route add -net ...
>
>I am using RedHat 4.0 on our Jensen box, and Slackware 3.1
>on the 486.  The warning messages are:
>  
>     SIOCADDRT: no such device
>     route forgot to specify route netmask
>
>for each of the two 'route add' commands.  So I decided to revise
>the route add commands as follows:
>
>     /sbin/ifconfig lo ...
>     /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 dev lo
>     /sbin/ifconfig eth0 ...
>     /sbin/route add -net a.b.c.0 netmask 255.255.255.0 dev eth0
>
>Now the warning messages disappeared on both the Jensen and the 486.
>But now I can only access hosts on our local net, but not hosts on
>the internet.
>
>I must be doing something wrong here.  Please tell me.  Thanks.
>
>-Pablo-
>
>--
>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
>

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

             reply	other threads:[~1997-01-08  1:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-08  1:12 Ben Goodwin [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-01-09  1:55 /sbin/route and 2.1.20 kernel Pablo Manalastas
1997-01-08  2:23 Przemek Klosowski
1997-01-07 23:54 Pablo Manalastas
read-only archive

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