>route add -net 192.168.1.0 eth0
>
>This gives me the error 
>SIOCADDRT: Invalid Argument

You need to specify a netmask:

route add -net 192.168.1.0 netmask 255.255.255.0 eth0


--David
.----------------------------------------------------------------------------.
|  David A. Ranch - Linux/Networking/PC hardware         [EMAIL PROTECTED]  |
!----                                                                    ----!
`----- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -----'


_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]

Reply via email to