Linux errmsg: SIOCADDRT: Invalid arguments

1. route add ==> SIOCADDRT: Invalid argument

Hi all,

I tried using some lines from the NET-3-HOWTO to configure
a test ethernet between a solaris 2.5.1 machine and a
Linux-2.0.29 box and got the following error message:

    # ifconfig eth0 192.168.1.10 netmask 255.255.255.0 up
    # route add -net 192.168.0.0 netmask 255.255.255.0 eth0
    # route add default gw 192.168.1.1 eth0

    SIOCADDRT: Invalid argument

Can anybody tell me what that should mean ?

Thanks,

--
Allan Brighton

2. MS Inport mouse...

3. SIOCADDRT: Invalid argument...

4. windows-commander

5. HELP: SIOCADDRT: Invalid argument

6. fs/exec.c and binfmt-xxx in 2.4.14

7. SIOCADDRT: Invalid Argument

8. How to configure Netscape 1.1 mime type for sound

9. SIOCADDRT: Invalid argument

10. SIOCADDRT: invalid argument

11. Getting "SIOCADDRT: Invalid argument" with 'route add' ...?

12. What does "SIOCADDRT: Invalid Argument" mean?

13. SIOCADDRT: Invalid argument