-   Fedora (
-   -   connect: Network is unreachable (

teach42 08-10-2004 11:34 AM

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!

teach42 08-10-2004 06:16 PM

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!

All times are GMT -5. The time now is 11:41 PM.