University Crest

[wlug] static NAT?

 
wlug archive index About the wlug list Mailing lists home
To The University of Waikato HomepageWaikato Home > Waikato Mailing Lists > wlug Info > wlug archives
Perry Lorier perry@c...
Thu Dec 21 21:43:06 NZDT 2000


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

> Here's a curly one for you all...
> I actually have a partial solution, but would love some fresh thoughts.
> 
> I have a client who wishes to map several IP addresses on one class C subnet
> to IP addresses on a different class C subnet on a one to one basis.
> 
> e.g.   1.2.3.4 -- 192.168.1.1
>        1.2.3.5 -- 192.168.1.2
>        1.2.3.6 -- 192.168.1.3
> 
> and so on - 6 of them to be precise.
> 
> Now, one of the specifications is to use RH 6.2, and the current stable
> kernel - 2.2.18 - therefore no iptables allowed - ipchains solutions only.
> 
> Any ideas?
> 

create eth0:1 -> eth0:6 with the 'real ip's  (assuming your masqing onto
eth0, if it's ppp0 then use that)

use iproute2 to set up source based routing routing each of them onto a
different eth0:*

set up 6 ipmasq rules to masq each one individually.

No idea if it works.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.3 (GNU/Linux)
Comment: You can stop being paranoid when your certain they have you.
Filter: gpg4pine 4.1 (http://azzie.robotics.net)

iEYEARECAAYFAjpBwqwACgkQcAgRpy8z8UR6xwCfUVWKVIeWuXzIU35m3skRKUKD
NSgAoMyz8sk3HpfRd2s8Y7cD9O7fx2HP
=zBZ4
-----END PGP SIGNATURE-----

------------
WLUG - The Waikato Linux Users Group
To unsubscribe, send an email to majordomo@l...
with "unsubscribe wlug" in the body of the message.



More information about the wlug mailing list
NOTICE: This is an archive of a public mailing list. The University of Waikato is not responsible for its contents.

The University of Waikato - Te Whare Wananga o Waikato