Hafid Akhiat wrote:

> 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 (   ,,                     ,,         )

Have you actually been assigned the 156.83.168.0 network? If not, you
should use one of the reserved address ranges instead.

> If I try to login (with telnet) to the other computer, I get the
> message:      ------Host not available. No route to host.---------
> 
> Do you need a route if you have a local network (no connection to the
> outside world)?

Yes. You still need a route to the LAN, e.g.

        route add -net 156.83.168.0 netmask 255.255.255.0 dev eth0

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to