Hi all,
I've two RFC1918
networks with a RedHat Linux 7.3 box in the middle.
They are 10.4.2.0
and 10.4.7.0. There are a couple of boxes on each network,
but I can't ping a
box on one network from the other.
Destination
Gateway
Genmask Flags Metric
Ref Use Iface
217.78.4.128 * 255.255.255.192 U 0 0 0 eth2
10.4.7.0 * 255.255.255.0 U 0 0 0 eth3
10.4.2.0 * 255.255.255.0 U 0 0 0 eth0
192.168.200.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 217.78.4.190 0.0.0.0 UG 0 0 0 eth2
217.78.4.128 * 255.255.255.192 U 0 0 0 eth2
10.4.7.0 * 255.255.255.0 U 0 0 0 eth3
10.4.2.0 * 255.255.255.0 U 0 0 0 eth0
192.168.200.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 217.78.4.190 0.0.0.0 UG 0 0 0 eth2
The above is the routing table of the machine. All iptables policies
are set to accept.
I can access the
internet fine from the 192 and 10 networks, as masquerading is enabled on
eth2.
However, I do not
want to masquerade the address from 10.4.2.0 onto 10.4.7.0
and
vice-versa.
Am I missing
something obvious?
Cheers,
Dave.