for packet routing puzzle lovers--aka, routing problem

VB plug-discuss@lists.plug.phoenix.az.us
Tue, 7 May 2002 19:28:33 -0700


> 
> 
> Hi Eric. I didn't look at your specific routing tables below, and I don't
> know the first thing about Windows...
> 
> However, I'm willing to bet that your problem is "Computer B" (your
> windows machine) does not have IP forwarding turned on (for both
> interfaces). More than likely, that's the root of your problems.
> 

I have Internet Connection Sharing turned on box b.  This is the same as ip
forwarding.  It seems like box b knows at least a little bit of what is going
on because box c is able to ping the public ip on box a.  therefore, box b
knows how to accept the packet from c, deliever it to a, accept the return
packet from a, and deliver to c.  Isn't that right?  

> ~Jay
> 
> 
> 
> On Tue, 7 May 2002, Eric wrote:
> 
> > This stuff is supposed to be basic but it gets confusing.  Could someone
> > help me understand a routing problem?  I very much appreciate it; I know
> > there are lots of characters on this page.  But this problem is preventing
> > me from scp'ing from my firewall (computer C) to fileserver (computer A),
> > which is what I need to do.
> >
> > Topology
> >
> > Computer A (e-smith)
> > eth1 public ip
> > eth0 10.0.0.1
> >
> > Computer B (w2K)
> > 10.0.0.2
> > 192.168.0.1
> >
> > Computer C (rh7.1)
> > 192.168.0.10
> >
> > Computers A and C are obviously separated by computer B.
> >
> > PROBLEM:
> >
> > Computer A can ping only 10.0.0.2 and public IP's, but not anything on
> > 192.168.0.x.
> > Computer B can ping everything.
> > Computer C can ping anything on 192.168.0.x and any public IP, but
> > **cannot** ping any 10.0.0.x.
> >
> > **So in essence, A cannot reach C, and C cannot reach A.
> >
> > I told computer C how to get to A, and A how to get to C, and B how to get
> > to A and C.  But it doesn't work.  What am I doing wrong.
> >
> > Here are the routing tables:
> >
> > ***Computer A
> > Kernel IP routing table
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags Metric Ref    Use
> > Iface
> > 10.0.0.0 	    *               255.255.255.0   U     0      0        0 eth0
> > 192.168.0.0	    pc-0002         255.255.255.0   UG    0      0        0 eth0
> > 226.4.216.0     *			  255.255.255.0   U     0      0        0 eth1
> > 127.0.0.0       *               255.0.0.0       U     0      0        0 lo
> > default         226-4-216-1.ge 0.0.0.0         UG    0      0        0 eth1
> >
> >
> > ("pc-0002" showed up after I did "route add -net 192.168.0.0/24 gw
> > 10.0.0.2".)
> >
> >
> > ***Computer B
> > Active Routes:
> > Network Destination        Netmask          Gateway       Interface  Metric
> >           0.0.0.0          0.0.0.0         10.0.0.1        10.0.0.2       1
> >          10.0.0.0    255.255.255.0         10.0.0.2        10.0.0.2       1
> >          10.0.0.0        255.0.0.0      192.168.0.2     192.168.0.1       1
> >          10.0.0.2  255.255.255.255        127.0.0.1       127.0.0.1       1
> >    10.255.255.255  255.255.255.255         10.0.0.2        10.0.0.2       1
> >         127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
> >       192.168.0.0    255.255.255.0      192.168.0.1     192.168.0.1       1
> >       192.168.0.0    255.255.255.0         10.0.0.2        10.0.0.2       1
> >       192.168.0.1  255.255.255.255        127.0.0.1       127.0.0.1       1
> >     192.168.0.255  255.255.255.255      192.168.0.1     192.168.0.1       1
> >         224.0.0.0        224.0.0.0         10.0.0.2        10.0.0.2       1
> >         224.0.0.0        224.0.0.0      192.168.0.1     192.168.0.1       1
> >   255.255.255.255  255.255.255.255         10.0.0.2        10.0.0.2       1
> > Default Gateway:          10.0.0.1
> > ===========================================================================
> > Persistent Routes:
> >   Network Address          Netmask  Gateway Address  Metric
> >          10.0.0.0        255.0.0.0      192.168.0.2       1
> >
> >
> >
> >
> > ***Computer C
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags Metric Ref    Use
> > Iface
> > 192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
> > 10.0.0.0        192.168.0.1     255.0.0.0       UG    0      0        0 eth0
> > 127.0.0.0       *               255.0.0.0       U     0      0        0 lo
> > default         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
> >
> >
> >
> > ________________________________________________
> > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
> >
> > PLUG-discuss mailing list  -  PLUG-discuss@lists.plug.phoenix.az.us
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> 
> -- 
> ~Jay
> 
> 
> 
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
> 
> PLUG-discuss mailing list  -  PLUG-discuss@lists.plug.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss