From: Niranjan THATTE (thatte@soleil)
Date: 10/07/93


From: thatte@soleil (Niranjan THATTE)
Subject: Help: SIOCADDRT error running /etc/route in NET-2
Date: 7 Oct 1993 13:12:06 GMT

Title: Help: SIOCADDRT error while executing /etc/route in net-2

Summary: SIOCADDRT: Network is unreachable - error occurs during
execution or rc.inet1 while booting. I am using kernel level
0.99p12 and net-2 TCP/IP software. Any help will be appreciated.

Hi all,
        I have been trying to install the NET-2 TCP/IP package on
my Linux box (which is a 486/33 MHz SVGA box). The ethernet
card is an SMC Elite Plus (WD 8013 - I believe). I have
recompiled the 0.99.p12 kernel to include my ethernet card, and
the boot time message claims that it has the correct IRQ, base
memory address and base I/O address for the card. subsequently,
within rc.inet1 I run ifconfig for eth0 with the IPADDR, the
NETMASK and the BROADCAST address set correctly. (I tried both
with and without broadcast, w/o any luck). It seems that the
ifconfig works correctly, because running ifconfig after booting
with no arguments shows two interfaces, loopback and eth0, with
the correct parameters. Subsequently, rc.inet1 tries to run
/etc/route as
/etc/route add 130.183.80.62 (which is the IP addr of my box)
and that generates the error
SIOCADDRT: Network is unreachable.
any executions of route generate the same error.

I know that the ethernet is correctly connected and it works, since
I can use a DOS program to run the ethernet card from my DOS
partition, which works just fine.

I would appreciate any help in the matter.
        Thanks a lot
                Niranjan Thatte

P.S. The news server here does not tag on the .berkeley.edu
suffix to the posting address, so please use the following
e-mail addresses to reply to me. I will post a summary of
replies in a couple of weeks.

e-mail: thatte@mpe-garching.mpg.de
e-mail: thatte@soleil.berkeley.edu