Networking Forums

Networking Forums > Computer Networking > Linux Networking > Network is unreachable

Reply
Thread Tools Display Modes

Network is unreachable

 
 
L Lewis
Guest
Posts: n/a

 
      04-14-2004, 11:33 PM
Linux networking newbie here. I just installed Fedora and everytime I
try to access an exteral IP address, I get "Network is unreachable".
I am using SBC/Yahoo DSL with static IP addresses. I am using the
Cayman/Netopia router. I have set up my server with the IP address
192.168.1.1, gateway 68.248.34.210 (listed as the "static IP gateway
on my reference sheet), and netmask 255.255.255.0. Using the Netopia
configuration tool, I created an IP map, mapping my server's IP
address (192.168.1.1) to one of the static IP addresses supplied by
SBC. I can ping 192.168.1.1, but I can't ping the mapped static
address, nor can I ping anything else (gateway, DNS server, etc).
When I type "netstat -rn" I get:

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0

I don't see an entry for the default route. Should I? Reading other
posts, it appears I should. I tried to add one using:

route add -net default gw 68.248.34.210 metric 1

When I try this, I still get "network unreachable".

I do have a Windoze computer attached and getting an IP address
dynamically, it works fine.

Any help would be appreciated.
 
Reply With Quote
 
 
 
 
Doug Holtz NOSPAM in adress
Guest
Posts: n/a

 
      04-15-2004, 12:40 AM

"L Lewis" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> Linux networking newbie here. I just installed Fedora and everytime I
> try to access an exteral IP address, I get "Network is unreachable".
> I am using SBC/Yahoo DSL with static IP addresses. I am using the
> Cayman/Netopia router. I have set up my server with the IP address
> 192.168.1.1, gateway 68.248.34.210 (listed as the "static IP gateway
> on my reference sheet), and netmask 255.255.255.0. Using the Netopia
> configuration tool, I created an IP map, mapping my server's IP
> address (192.168.1.1) to one of the static IP addresses supplied by
> SBC. I can ping 192.168.1.1, but I can't ping the mapped static
> address, nor can I ping anything else (gateway, DNS server, etc).
> When I type "netstat -rn" I get:
>
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
> 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
>
> I don't see an entry for the default route. Should I? Reading other
> posts, it appears I should. I tried to add one using:
>
> route add -net default gw 68.248.34.210 metric 1
>
> When I try this, I still get "network unreachable".
>
> I do have a Windoze computer attached and getting an IP address
> dynamically, it works fine.
>
> Any help would be appreciated.


Your gateway is the IP address of the netopia, 192.168.0.1 ??

Doug


 
Reply With Quote
 
L Lewis
Guest
Posts: n/a

 
      04-15-2004, 12:34 PM
> Your gateway is the IP address of the netopia, 192.168.0.1 ??
>
> Doug


Yes, that is right (actually, 192.168.1.254). I was able to add the
default route successfully. I'm still unable to ping a DSN server,
etc. but that is a little farther.

Thanks a lot.
 
Reply With Quote
 
Bill Marcum
Guest
Posts: n/a

 
      04-15-2004, 03:49 PM
On 14 Apr 2004 16:33:41 -0700, L Lewis
<(E-Mail Removed)> wrote:
> When I type "netstat -rn" I get:
>
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
> 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
>
> I don't see an entry for the default route. Should I? Reading other
> posts, it appears I should. I tried to add one using:
>
> route add -net default gw 68.248.34.210 metric 1
>
> When I try this, I still get "network unreachable".
>

You need a route to 68.248.34.210, and then you can add that address
as a default gateway.


--
Giraffe: a ruminant with a view.
 
Reply With Quote
 
Georg Armbruster
Guest
Posts: n/a

 
      04-16-2004, 03:12 PM
On Wed, 14 Apr 2004 16:33:41 -0700, L Lewis wrote:

> Linux networking newbie here. I just installed Fedora and everytime I
> try to access an exteral IP address, I get "Network is unreachable".
> I am using SBC/Yahoo DSL with static IP addresses. I am using the
> Cayman/Netopia router. I have set up my server with the IP address
> 192.168.1.1, gateway 68.248.34.210 (listed as the "static IP gateway
> on my reference sheet), and netmask 255.255.255.0. Using the Netopia
> configuration tool, I created an IP map, mapping my server's IP
> address (192.168.1.1) to one of the static IP addresses supplied by
> SBC. I can ping 192.168.1.1, but I can't ping the mapped static
> address, nor can I ping anything else (gateway, DNS server, etc).
> When I type "netstat -rn" I get:


Hi L Lewis,
your computer is supposed to have the router (netopia) as
default gateway. Both should have a similar ip address within
the same subnet. Private ip addresses would include (for example)
the range 192.168.1.1-192.168.1.254 using a 255.255.255.0 subnet.

Your resolv.conf should list the domain name server your
provider gave you.

Then you have to configure your router for internet access, probably
using a webinterface or something.

That's it. I would reset the router to its default values and get
everything working first. You can fool aroung with port forwarding
if you really need it. (remember: your computer offers its services
then to the whole internet - nothing you necessarily want!).

Good luck - and don't fear the penguins!
Peace,
Georg
 
Reply With Quote
 
Georg Armbruster
Guest
Posts: n/a

 
      04-18-2004, 02:01 PM
On Thu, 15 Apr 2004 05:34:27 -0700, L Lewis wrote:

> Yes, that is right (actually, 192.168.1.254). I was able to add the
> default route successfully. I'm still unable to ping a DSN server,
> etc. but that is a little farther.


Hi L Lewis,
have you put the ip of your dns server in resolv.conf?
Just curious, can you post the output of
$ iptables -L
and
$ tcpdump -i eth0 when trying to ping some internet host?

Peace,
Georg
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ping - network unreachable Andrew L. Linux Networking 1 10-18-2007 02:47 PM
network becomes unreachable Greg Linux Networking 0 11-14-2006 06:35 PM
Network is unreachable, please help Phisherman Linux Networking 5 02-02-2004 06:45 PM
Network Unreachable. Baruah Linux Networking 1 12-29-2003 08:18 AM
network unreachable. peter stickney Linux Networking 1 09-01-2003 05:30 AM



1 2 3 4 5 6 7 8 9 10 11