i have two linux boxes at my house running caldera OL
they both are running to a 5 port hub i have, and i want to get them to ping and telnet back and forth from each other.

I have not been successful in this though. the ip addresses for the machines are and  when i try to telnet from one to the other though, i get error messaage 'no route to host' what should my default gateway be? or is it even possible to peer to peer these like this?
i really need some detailed step by step help on this if you can. thanks
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

lugnut1221Connect With a Mentor Commented:
ok if your IPs are and one subnetmask that will work is      *        U     0      0        0 eth1

This is the route that it sounds like your missing.  To add this route Type:
(all one line)

route add netmask eth0

You will need to do this on both PCs then everything should be fine.  

this will fix the problem provided the hub works, cables are made correctly and the ethernet devices are configured correctly.

Hope this helps
The default gateway doesn't apply when talking to a host on a locally attached network, only when accessing hosts outside of the local network. However, this presumes that each box's ethernet is up and that both boxes have the same netmask set, probably in this situation.

Check to see that both boxes actually have their ethernet adapter up and running, that the correct IP is bound to the interface, and that the netmasks are the same (ifconfig -a). For instance:

levie> ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:60:97:8E:F0:7F
          inet addr:  Bcast:  Mask:
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:649505 errors:2 dropped:0 overruns:2 frame:2
          TX packets:4650 errors:0 dropped:0 overruns:0 carrier:0
          collisions:10 txqueuelen:100
          Interrupt:3 Base address:0x300

Tells me that eth0 has an ip of, with a netmask of, that its UP and RUNNING.
there was a mistake the route that you would be missing would be   *  U  0  0   0 eth0

the instructions to add this route are the same..

Sorry about that
All Courses

From novice to tech pro — start learning today.