[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SIOCADDRT : No such device



"Kapil Khosla" <khoslakapil@lycos.com> writes:

> Hi, I want to set up the route of my newly setup network. I have DEC
> 21143 chipsets and I have compiled/insmod the driver but am not sure
> if it works as I dont have the networking set up yet. I am working
> with Potato 2.2.19 kernel.

> Do I need networking setup before I can setup 'route' ?

You need to have the NICs bound to an ethernet device for route to
work.

Generally, ifconfig should show you whether or not a NIC is noticed by
the kernel. You said that you insmod'ed them - did you receive any
report that this may have not worked while doing it?

sockios.h:
/* Routing table calls. */
#define SIOCADDRT	0x890B		/* add routing table entry	*/
#define SIOCDELRT	0x890C		/* delete routing table entry	*/
#define SIOCRTMSG	0x890D		/* call to routing system	*/

The SIOCADDRT is what operation is reporting the error.

When you do an ifconfig eth0, do you see anything?

Regards, Eliizabeth


> The problem which I am having while setting up route is : route add
> -net 192.168.2.0 netmask 255.255.255.0 eth0 SIOCADDRT : No such
> device
> 
> route add default gw 192.168.2.1 eth0 Network unreachable
> 
> 192.168.2.1 is my gateway to the world and all the computers on the
> LAN have to be assigned IP in the range of 192.168.2.*
> 
> What does this error mean ( SIOCADDRT)?  Thanks Kapil


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: