Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 08-10-2004, 11:34 AM   #1
LQ Newbie
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
connect: Network is unreachable

Well on my way to getting my fedora server up and running, but recently ran into a snag. I thought everything was going great as I got apache and mysql and such running great. However, I just discovered that my Fedora box isn't seeing outside my house. I have a D-Link router connecting to my SBC-yahoo DSL line. I'm giving my fedora box a static IP on my internal network and then patching everything through the d-link firewall. So as I said, internally, things are going great. SSH, FTP, Apache, all work great. However, I just noticed that if I open up lynx on the fedora box and try to go to yahoo (by name or by ip), I get the message "connect: Network is unreachable". I get the same message if I try to ping an outside address. Pinging inside addresses and the router both work fine. But outside addresses are unreachable.

Here's the text from ifconfig -a:

eth0 Link encap:Ethernet HWaddr 00:00:24:C9:8A:7E
inet addr: Bcast: Mask:
inet6 addr: fe80::200:24ff:fec9:8a7e/64 Scope:Link
RX packets:2375 errors:1 dropped:0 overruns:0 frame:0
TX packets:762 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:524254 (511.9 Kb) TX bytes:112421 (109.7 Kb)
Interrupt:11 Base address:0x2000

lo Link encap:Local Loopback
inet addr: Mask:
inet6 addr: ::1/128 Scope:Host
RX packets:148 errors:0 dropped:0 overruns:0 frame:0
TX packets:148 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14229 (13.8 Kb) TX bytes:14229 (13.8 Kb)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Anyone got any input on this one for me? So far everything has been going great, this one just has me stumped. Thanks!
Old 08-10-2004, 06:16 PM   #2
LQ Newbie
Registered: Aug 2004
Posts: 2

Original Poster
Rep: Reputation: 0
More Info

Ok, got some more information for ya'all. I just modified my ifconfg-eth0 file and changed it all to DHCP. Guess what? I can get right out now. So obviously something in my ifconfg-eth0 file was wrong. Here's what I had in it (hardware address is x'd out):

# DEC|DECchip 21142/43

Is there anything else that I should have had in there or something I have wrong if I want it to be a static IP address?

ANY help would be greatly appreciated!


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
Network Unreachable? biledaemon Slackware 4 10-24-2005 02:05 PM
Getting message "connect: Network is unreachable" trying to access the Internet denver1980 Linux - Networking 5 12-29-2004 05:22 PM
Network is unreachable??? Tnichols Linux - Networking 15 12-19-2003 09:44 PM
Network is unreachable radix Linux - Networking 4 05-09-2002 01:06 AM
connect: Network is unreachable joenomad Linux - Networking 11 04-21-2002 10:33 AM

All times are GMT -5. The time now is 12:32 AM.

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