Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-05-2008, 12:48 PM
|
#1
|
|
Member
Registered: Apr 2002
Location: Philadelphia
Posts: 48
Rep:
|
connect: Network is unreachable
I recently re-installed the operating system on my Dell Server, running RH Enterprise AS 3.0. Somehow, I lost connection to my local network (and thus the Internet). I tested eth0 from the system diagnostic CD and it is perfect. The ethernet wire from the upstairs office seems to be working fine (the LEDs on the Dell eth0 connection flash when I try to ping the Dell). But when I try to communicate from the Dell, I get the message "connect: Network is unreachable".
The Dell has a fixed IP address of 192.168.123.75. I can ping this address successfully at the Dell and I can also ping the loopback address 127.0.0.1. But, if I try to ping anything else, I get the message: "connect: Network is unreachable". And, of course, I can't ping the Dell from any other computer on the network. I successfully added 192.168.123.0 using the route command and stopped and restarted the network using "ifdown eth0 " and "ifup eth0". But, then the routing table changes are automatically reset.
I tried everything useful that I could find in previous LinuxQuestions postings of a similar nature, but nothing helped.
|
|
|
|
01-05-2008, 05:30 PM
|
#2
|
|
Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697
Rep:
|
I am assuming it is eth0. Post contents of /etc/sysconfig/network-scripts/ifcfg-eth0
Output from the commands
/sbin/ifconfig -a
/sbin/route -n
Now is there a firewall or selinux enabled on the RHAS machine? If so disable them and try again.
Brian
|
|
|
|
01-05-2008, 06:36 PM
|
#3
|
|
Member
Registered: Apr 2002
Location: Philadelphia
Posts: 48
Original Poster
Rep:
|
Problem solved thanks to Brian
Hi Brian,
You saved the day. When I saw the contents of /etc/sysconfig/network-scripts/ifcfg-eth0 it was obvious what went wrong. The broadcast, netmask and network addresses were all wrong. I easily corrected them, stopped and restared the interface and I am back in business.
Many thanks,
Peter
|
|
|
|
01-06-2008, 11:53 AM
|
#4
|
|
Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697
Rep:
|
Glad to be of help.
Brian
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:23 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|