Bluehost.com Web Hosting $6.95

route issue? machine is accessible but cannot access outside local network

This is a discussion on route issue? machine is accessible but cannot access outside local network within the Linux Networking forums, part of the Linux Forums category; I have a route as follows: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 193.173....


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-09-2003
Eric Smith
 
Posts: n/a
Default route issue? machine is accessible but cannot access outside local network

I have a route as follows:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
193.173.210.192 * 255.255.255.192 U 0 0 0 eth0
default * 0.0.0.0 U 0 0 0 eth0

This is identical to a live functionaing server on another network.

The above machine can be accessed on a number of ports but it is unable
to ping or telnet to any address other than the router on
193.173.210.192.

FWIW here is /etc/network/interfaces:

iface lo inet loopback
auto lo eth0
iface eth0 inet static
address 193.173.210.205
netmask 255.255.255.192
broadcast 193.173.210.255
network 193.173.210.0

up route add default eth0
down route del default eth0



How might I fix this?

Thanks

Eric Smith

Reply With Quote
  #2 (permalink)  
Old 09-09-2003
David Efflandt
 
Posts: n/a
Default Re: route issue? machine is accessible but cannot access outside local network

On 09 Sep 2003 10:49:01 GMT, Eric Smith <es@fruitcom.com> wrote:
> I have a route as follows:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 193.173.210.192 * 255.255.255.192 U 0 0 0 eth0
> default * 0.0.0.0 U 0 0 0 eth0
>
> This is identical to a live functionaing server on another network.
>
> The above machine can be accessed on a number of ports but it is unable
> to ping or telnet to any address other than the router on
> 193.173.210.192.


You have no route to anything but your local network. Your default route
has a bogus gw (loops back to yourself).

> FWIW here is /etc/network/interfaces:
>
> iface lo inet loopback
> auto lo eth0
> iface eth0 inet static
> address 193.173.210.205
> netmask 255.255.255.192
> broadcast 193.173.210.255
> network 193.173.210.0


That "network" should be 193.173.210.192 (based on ip/netmask). Although,
your routing (1st route) shows the correct network.

> up route add default eth0
> down route del default eth0
>
>
> How might I fix this?


Add a real default route with a gw that points to the remote IP of your
gateway. If that gw IP is not within your network, you would first need a
-host route to it.

--
David Efflandt - All spam ignored http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:06 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0