[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

routing problem?




I'm not exactly sure what's going on here.  This is the setup:

  A ==== B -------- C ==== D

A, B, and C are running linux, D happens to be a running windows, if it
matters.  The A-B link is ethernet, as is C-D.  B-C is a CIPE link over
the internet (a VPN).

 A is 192.168.1.4
 B is 192.168.1.1 and 10.0.1.1
 C is 192.168.2.1 and 10.0.1.2
 D is 192.168.2.2

I have the default route on A pointing to B, on D pointing to C.  On B I
have:

Destination     Gateway         Genmask         Flags Metric Ref    Iface
10.0.1.2        *               255.255.255.255 UH    0      0        cipcb0
192.168.2.0     10.0.1.2        255.255.255.0   UG    0      0        cipcb0
192.168.1.0     *               255.255.255.0   U     0      0        eth0
192.168.0.0     *               255.255.240.0   U     0      0        eth1
10.0.0.0        *               255.0.0.0       U     0      0        eth2
loopback        *               255.0.0.0       U     0      0        lo

On C I have:

Destination     Gateway         Genmask         Flags Metric Ref    Iface
10.0.1.1        *               255.255.255.255 UH    0      0        cipcb0
192.168.2.0     *               255.255.255.0   U     0      0        eth0
192.168.0.0     10.0.1.1        255.255.240.0   UG    0      0        cipcb0
10.0.0.0        *               255.0.0.0       U     0      0        eth1
loopback        *               255.0.0.0       U     0      0        lo


What I can't do is telnet from B to D (port 5800.. VNC), but I can telnet
from A to D.  I'm not sure how I might have messed up my routing or
something else.  Maybe it's my Genmask's.  The "strange" thing is that I
can ping D from A or B without problem.  A traceroute from A to D looks
like:

traceroute to D
 1  B (192.168.1.4)  2.514 ms  1.572 ms  1.229 ms
 2  * * *
 3  D (192.168.2.2)  62.168 ms  64.307 ms  58.755 ms

If this is not enough information, just say so and I'll give more.  Maybe
I'll get creative and draw some ascii art of the big picture.. :)

Thanks
-Cedar


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il