Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Pablo Manalastas <pmana@tapa.admu.edu.ph>
Subject: /sbin/route and 2.1.20 kernel
Date: Wed, 8 Jan 1997 07:54:56 +0800 (PST)	[thread overview]
Message-ID: <4a9dbd86f745178a271973c6427ec19d.axp-list@archive.invalid> (raw)

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

             reply	other threads:[~1997-01-07 23:54 UTC|newest]

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