Christoph Haberberger wrote:
> Hi!
>
> I have now been searching for 1 month about multiple masquerading but
> I can't find anything useful.
>
> ALL I WANT is to masquerade 3 internal networks through 3 different
> official IP-addresses (3 aliases on the masquerading-router).
>
> e.g.
>
> router itself: 60.10.20.50
>
> 3 times masquerading:
>
> 192.168.1.0/24 --> 60.10.20.51
> 192.168.2.0/24 --> 60.10.20.52
> 192.168.3.0/24 --> 60.10.20.53
>
> 60.10.20.x addresses are examples.
>
If your router is the gateway for all the three "official" addresses, then
what is the problem? Are each of the three ip-masq machines on eeach of
the three seperate networks? DO they have two network cards?
I would think that all you need to do is set up masquarading on each of
the machines with the official addresses. The private machines would have
their default route set to the "official" machine.
e.g.
192.168.1.nnn ---------> 60.10.20.51 ---------> 60.10.20.50-------->
Internet
All each of the private machines need to know is how to get to their own
gateway (the machine with the official address). The gateway then has its
own gateway for default routing to the router.
I have never done this as seperate networks, but I have used ip-masq
across subnets, using one machine on one of the subnets with a static ip
address .
Good luck. (And read the IP-masquarade HOW TO. It is an excellent work.)
>
> I experimentated with IPCHAINS and IPROUTE2, but it was not possible
> to do such a configuration!
>
> PLEASE HELP ME!
> I COULDN'T BELIEVE THAT NOBODY EVER TRIED A CONFIGURATION LIKE THAT!
>
> Everybody says, that all masq-related info can be found at
> http://ipmasq.cjb.net. But there is no information for a problem like
> described above.
>
> Thanks in advance
> Christoph
> [EMAIL PROTECTED]
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]