Re: Route tables

From: jack (not_at_all.org)
Date: 02/03/04


Date: Tue, 03 Feb 2004 20:13:42 +0100

Scott Dortch wrote:

> The IP address for this machine is 192.168.1.222
> After a route-n the table currently looks like:
>
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.1.222 0.0.0.0 255.255.255.255 UH 0 0 0
> eth0
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
> eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
> lo
> 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0
> eth0

OK, first off all this routing table is a bit messed, but otherwise
valid. Firstly, You needn't have Your own IP in it, and secondly,
You needn't have Your loopback in it. Those entries are redundant
and hence senseless, but not harmful.

The thing is that Your default route (the last one) points to Your
"default gateway". Is that box with 192.168.1.1 up and running and
connected to Your network properly, _and_, is it configured to
allow forwarding (and NATting) traffic from Your client?

Try to check that step by step.

Cheers, Jack.

-- 
----------------------------------------------------------------------
My personal reading of the string "MicroSoft" expands to "NanoWeak"...


Relevant Pages

  • Re: Why newbies dont RTFM...
    ... > Kernel IP routing table ... Obviously your wireless adapter is working. ... > adapter to connect to my own network rather than the neighbor's. ...
    (comp.os.linux.misc)
  • Re: cannot ping internal network (ping operation not permitted)
    ... Below the routing info from my FedoraCore1 ... >>iface lo inet loopback ... >>Kernel IP routing table ... Apologies for the inconvenience but this is to reduce spam.) ...
    (comp.os.linux.networking)
  • Re: Debian Sarge Routing
    ... > I'm trying to get very basic routing happening between two locally connected subnets on Debian Sarge. ... > I'm doing some disaster recovery planning at work which requires me to test some replication with two subnets connected by an IPSec tunnel, but for my testing I'm just routing between the two using VMWare. ... > iface lo inet loopback ...
    (Debian-User)
  • Debian Sarge Routing
    ... I'm trying to get very basic routing happening between two locally connected subnets on Debian Sarge. ... I'm doing some disaster recovery planning at work which requires me to test some replication with two subnets connected by an IPSec tunnel, but for my testing I'm just routing between the two using VMWare. ... iface lo inet loopback ...
    (Debian-User)