Solved

Linux Routing

Posted on 1997-05-06
4
459 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

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…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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