LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-05-2008, 12:48 PM   #1
phahn
Member
 
Registered: Apr 2002
Location: Philadelphia
Posts: 48

Rep: Reputation: 15
Unhappy 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.
 
Old 01-05-2008, 05:30 PM   #2
Brian1
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,700

Rep: Reputation: 61
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
 
Old 01-05-2008, 06:36 PM   #3
phahn
Member
 
Registered: Apr 2002
Location: Philadelphia
Posts: 48

Original Poster
Rep: Reputation: 15
Smile 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
 
Old 01-06-2008, 11:53 AM   #4
Brian1
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,700

Rep: Reputation: 61
Glad to be of help.

Brian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
connect: network is unreachable xeebeeeeeee Linux - Networking 6 03-22-2007 04:03 AM
Unable to connect to Internet. (Network is unreachable) georgiozoze Linux - Newbie 22 10-14-2006 05:51 AM
Getting message "connect: Network is unreachable" trying to access the Internet denver1980 Linux - Networking 5 12-29-2004 05:22 PM
connect: Network is unreachable teach42 Fedora 1 08-10-2004 06:16 PM
connect: Network is unreachable joenomad Linux - Networking 11 04-21-2002 10:33 AM


All times are GMT -5. The time now is 06:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration