[LARTC] Routing between two RFC1918 networks.

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just a hunch: is forwarding enabled? i.e., 'echo 1 >
/proc/sys/net/ipv4/ip_forward'

Dave Hunt wrote:
>
> 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.
>
>
> --
> 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
pattieja@pcxperience.com
-----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-----


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux