Networking Forums

Networking Forums > Computer Networking > Linux Networking > route issue? machine is accessible but cannot access outside local network

Reply
Thread Tools Display Modes

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

 
 
Eric Smith
Guest
Posts: n/a

 
      09-09-2003, 10:49 AM
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
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      09-09-2003, 03:57 PM
On 09 Sep 2003 10:49:01 GMT, Eric Smith <(E-Mail Removed)> 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
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
Local network shares not accessible after VPN'ing Microsoft Windows Networking 3 12-13-2010 07:52 AM
Howto redirect traffic from local machine to internet back to local machine? Martin Kahlert Linux Networking 0 11-25-2005 07:40 AM
Windows 98 machine won't access Internet or local shared devices on startup Ture Magnusson Wireless Networks 1 06-21-2005 10:03 AM
Route breaks firewall's local access AcCeSsDeNiEd Linux Networking 3 08-31-2004 01:44 PM
How to access local machine using ethernet interface, not loopback? Anthony Linux Networking 5 11-22-2003 12:57 AM



1 2 3 4 5 6 7 8 9 10 11