> 
> Can someone help me out on this....
> 
> After using ifconfig... When I try to add a route, say...
> 
> route add 127.0.0.1
>
why would you like to do this? in redhat and other 2.2 based
kernels this route is automatically added. with a slight modification:

route add -host 127.0.0.1
 
but the one you typed above should do fine too.

> It terminates like this:    SIOCADDRT : No such device.
> 
this usually means one of too things. either your device is not
installed...which is very unlikely because loopback support is usually
enables. the only other reason and the most possible reason is that you do
not have permissions to run route. are you root?

> Why is it so? Is it because of my network card? What does SIOCADDRT means?, I can't 
>seem to find 
> this macro on the docs'... pls. help....
> 
your network card is usually assigned a ethX interface address. to add a
sample route to a 192.168.0.0/24 network.

route add -net 192.168.0.0 netmask 255.255.255.0 eth0

however, i will say it again that if you network card was autodetected
upon bootup then this interface and its routes are automatically added.

to check if you NIC was detected do a 

ifconfig

good luck and merry christmas.
 
---------------------
[EMAIL PROTECTED]
 
Mausoleum:  The final and funniest folly of the rich.
-- Ambrose Bierce
 




_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to