I am trying to set up a small Linux box as a standalone internal
router. I have both NIC cards installed and they work. Thing is that
if I try to ping a machine from one side to the other it comes back
with a request timed out. BUT I can ping the nic card on the other
side of the router. I have the one machine that is sitting in the 2
subnet pointing to the router as default gateway but the 1 subnet is
pointing to 192.168.1.1 which is our internal nic for our proxy.
The network is two subnets of 192.168.1.0 and 192.168.2.0 with net
masks of 255.255.255.0. The ip addresses for the router are
192.168.1.2 and 192.168.2.1. The routing table looks like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
192.168.2.1 * 255.255.255.255 UH 0 0
0 eth1
192.168.1.254 * 255.255.255.255 UH 0 0
0 eth0
192.168.2.0 * 255.255.255.0 U 0 0
0 eth1
192.168.1.0 * 255.255.255.0 U 0 0
0 eth0
127.0.0.0 * 255.0.0.0 U 0 0
0 lo
default 192.168.1.1 0.0.0.0 UG 0 0
0 eth1
default 192.168.1.1 0.0.0.0 UG 0 0
0 eth0
default 192.168.2.1 0.0.0.0 UG 1 0
0 eth1
Any suggestions what I am missing and needs to be corrected?
Please respond here as I am sure someone else will have this problem.
Thanks
Chris