On 27 January 2004, Sony Lloyd [mailto:[EMAIL PROTECTED] wrote: > This is strange -> > I just type: > route add -host 192.168.1.2 netmask 255.255.255.0 eth0 and it gives me > error "Usager: inet_route [-vF ] add {host|-net} target [gw GW] [metric > M] [netmask N] [mss MSS] ..etc " > But if I do "inet_route add -host 192.168.1.2 netmask 255.255.255.0 > eth0 " I get "bash:inet_route command not found" > This is weird, since route is on my system (I have /sbin/route and > /proc/net/route) and > even if I use the complete path for the "route" command (/sbin/route > add -host 192.168.1.2 netmask 255.255.255.0 eth0), I still get the > error "Usager: inet_route [-vF ] add {host|-net} target [gw GW] [metric > M] [netmask N] [mss MSS] ..etc " > wow...I could not believe that after 10 years in tcp ip networking! > Debian Linux 1.3.1 > tried your CL on woody 3.0r1 and route 1.98 echoed the following error:- route: netmask 255.255.255.0 doesn't make sense with host route.
try:- route add -host 192.168.1.2 dev eth0 -- Alphonse Ogulla Nairobi, Kenya ----------------------------------------- University of Nairobi Mail Services "You can't afford to stay offline" http://mail.uonbi.ac.ke/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]