From: "Dave Hunt" Date: Mon, 30 Dec 2002 13:44:45 +0000 Subject: [LARTC] Routing between two RFC1918 networks. MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0002_01C2B0D2.3CA285E0" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0002_01C2B0D2.3CA285E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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. ------=_NextPart_000_0002_01C2B0D2.3CA285E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
 
Hi = all,=20
 
I've = two RFC1918=20 networks with a RedHat Linux 7.3 box in the middle.
They = are 10.4.2.0=20 and 10.4.7.0. There are a couple of boxes on each = network,
but I = can't ping a=20 box on one network from the other.
 
Destination    =20 Gateway        =20 Genmask         Flags Metric=20 Ref    Use Iface
217.78.4.128   =20 *            =   =20 255.255.255.192 U     = 0     =20 0        0=20 eth2
10.4.7.0       =20 *            =   =20 255.255.255.0   U    =20 0      = 0        0=20 eth3
10.4.2.0        * &n= bsp;   =20          = 255.255.255.0   U=20     0     =20 0        0 = eth0
192.168.200.0  =20 *            =   =20 255.255.255.0   U    =20 0      = 0        0=20 eth1
127.0.0.0      =20 *            =   =20 255.0.0.0       U    =20 0      = 0        0=20 lo
default        =20 217.78.4.190   =20 0.0.0.0         = UG   =20 0      = 0        0=20 eth2
The above is the routing table of the machine. All iptables = policies=20 are set to accept.
I can = access the=20 internet fine from the 192 and 10 networks, as masquerading is enabled = on=20 eth2.
However, I do not=20 want to masquerade the address from 10.4.2.0 onto 10.4.7.0 =
and=20 vice-versa.
Am I = missing=20 something obvious?
Cheers,
Dave.
 
------=_NextPart_000_0002_01C2B0D2.3CA285E0-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/