I am trying to have box A and box C communicate on a set up like this :-
Code:
------------------------------------------------------
[Box A] <==========> [Box B] <===========> [Box C]
------------------------------------------------------
192.168.1.103<---->192.168.1.101
255.255.255.0 255.255.255.0
eth0 eth1
------------------------------------------------------
192.168.2.1<--------> 192.168.2.2
255.255.255.0 255.255.255.0
eth2 eth0
------------------------------------------------------
192.168.1.100
255.255.255.0
eth0
[to Internet]
------------------------------------------------------
Here is the routing table on
B :-
Code:
[root@localhost ~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.2.0 192.168.2.2 255.255.255.0 UG 0 0 0 eth2
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
192.168.1.0 192.168.1.103 255.255.255.0 UG 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth2
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
[root@localhost ~]#
Here is the routing table on
A :-
Code:
[root@localhost ~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.101 0.0.0.0 UG 0 0 0 eth0
[root@localhost ~]#
Here is the routing table on
C:-
Code:
[root@postel ~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0
[root@postel ~]#
Any anyone see something wrong here that is preventing A and C from communicating ?
Please note that A and B can communicate; so also B and C. But NOT A and C.
Thank you very much,
K