Routing between two RFC1918 networks.
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
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.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Just a hunch: is forwarding enabled? i.e., 'echo 1 > /proc/sys/net/ipv4/ip_forward'
Quoted 5 lines · Dave Hunt
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,
Quoted 5 lines
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
Quoted 1 line
10.4.7.0 * 255.255.255.0 U 0 0
0 eth3
Quoted 1 line
10.4.2.0 * 255.255.255.0 U 0 0
0 eth0
Quoted 1 line
192.168.200.0 * 255.255.255.0 U 0 0
0 eth1
Quoted 2 lines
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
Quoted 12 lines
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.
Quoted 4 lines
--
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is believed to be clean.
- --
Jason A. Pattie
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+EG6KuYsUrHkpYtARAqUXAJ960GrM0q2N9r5w408H3PZ9nVRbxwCgggvy r3745Y0oFWzeh/CjPBncht4=BOMI
-----END PGP SIGNATURE-----
Signature · 7 lines
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/