Link to home
Start Free TrialLog in
Avatar of ejs
ejs

asked on

Linux Routing

I have just set up Linux with what seems to be all the necessary items ie(route, hosts.conf, etc.) My problem though is that although I can ping myself using loopback, I cannot see anyone on the network.   I get an error  "Unable to connect to remote host: No route  to host.  I would like to know how to cure this problem.
Avatar of mlev
mlev

Check 'route' - does it show everything you need?

If you have a PPP connection, you need a default route:
route add -net default <peer address>
Do you have support compiled for your ethernet card?  does it
detect it at boot time?
Do you have a gateway configured?  route add default gw <IP addy>
paste the results of "netstat -nr" after adding your gateway if
you're still having problems, and let us take a look

Pinging yourself using loopback is net very helpful. Try to ping yourself with your IP-address. If it works, you have a routing problem, if it doesn't you have an ifconfig problem.

ASKER CERTIFIED SOLUTION
Avatar of dux
dux
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial