Solved

Linux Routing

Posted on 1997-05-06
4
464 Views
Last Modified: 2010-03-18
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.
0
Comment
Question by:ejs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 2

Expert Comment

by:mlev
ID: 1584539
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>
0
 
LVL 19

Expert Comment

by:xterm
ID: 1584540
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

0
 
LVL 3

Expert Comment

by:pc012197
ID: 1584541
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.

0
 
LVL 2

Accepted Solution

by:
dux earned 50 total points
ID: 1584542
If you network card works correctly, add a route to your network like this:

route add - net your_net

where your net is your network address. (ex. for a C class: 193.226.6.0)
0

Featured Post

Schedule a Tour of the ATEN booth at InfoComm 2017

Tour the ATEN booth to see the the Latest Addition to the Modular Matrix Switch Series, New 4K HDMI Over IP Extender and more! Enter ATEN's Ultimate Giveaway Sweepstakes for a chance to win one of several great prizes, including an ATEN US7220 2-Port Thunderbolt 2 Sharing Switch!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question