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....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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/ |