---Hafid Akhiat <[EMAIL PROTECTED]> wrote:
>
> Dear helpers,
>
> I have connected two pc's (ethernet card's):
>
> 1st : IP = 156.83.168.1 (netmask = 255.255.255.0)
> 2nd : IP = 156.83.168.2 ( ,, ,, )
>
> If I try to login (with telnet) to the other computer, I get the
> message: ------Host not available. No route to host.---------
>
Are those interfaces working ok? if ifconfig gives you correct info,
then you have an incomplete route table. just type: "route add -net
156.83.168.0 netmask 255.255.255.0 dev eth0" or "route add -net
156.83.168.0 eth0" then your box will know how to reach the
156.83.168.0 network and telnet should work.
to check your routing table type "netstat -nr"
> Do you need a route if you have a local network (no connection to the
> outside world)?
yes... a route to your lan through the ether cards.
>
> I use Red Hat 5.1.
>
> Thanks,
>
> Hafid Akhiat
===
*****************************************
* Renzo Alejandro Granados *
* Linux NetAdmin *
* Bogota-Colombia *
* http://members.xoom.com/renzoal *
* http://www.nettaxi.com/citizens/renzo*
*****************************************
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]