Date: Tue, 19 Oct 1999 12:11:25 +0200 From: "Zuidam, Hans" <Hans.Zuidam@nl.origin-it.com> To: "'hackers@freebsd.org'" <hackers@freebsd.org> Subject: natd question Message-ID: <9B7E8CE3E214D311A3050008C7A4BDDB934693@nlehx061.ehvvon.nl.origin-it.com>
index | next in thread | raw e-mail
Hi,
I want to set up a test network which (partly) mirrors our production
side network. To match reality as close as possible we keep the IP
addresses in the test network the same as in the production network. In
order not to run around with tapes between the two networks, I would like
to create the following setup:
(~~~~~~~~~~) (~~~~~~~~~~)
( ) +---------+ ( )
+ + | | + +
( 130.144.120/22 ) ------ | FreeBSD | ------ ( 130.144.120/22 )
+ (real) + | | + (test) +
( ) +---------+ ( )
(~~~~~~~~~~) (~~~~~~~~~~)
I envision on the FreeBSD box some kind of mapping between the real and
test network's IP addresses. Something along the following lines:
130.144.120.10 ->
10.0.0.10
+----------------+ +---------+ +----------------+
| | | | | |
| 130.144.120.10 | ------ | FreeBSD | ------ | 130.144.120.10 |
| | | | | | | |
+----------------+ | +---------+ | +----------------+
| |
| <--- SRC = 130.144.120.10
| DST = 10.0.0.10
|
<--- SRC = 10.0.0.10
DST = 130.144.120.10
---> SRC = 130.144.120.10
DST = 10.0.0.10
---> SRC = 10.0.0.10
DST = 130.144.120.10
Assuming routes are configured properly, is this possible using natd?
Regards,
Hans
--
Hans Zuidam e-mail: hans.zuidam@nl.origin-it.com
Origin, BAS/AM-CE tel. +31 40 2735569
Gebouw SK-520 fax. +31 40 2736936
Glaslaan 2
5616 LW Eindhoven
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9B7E8CE3E214D311A3050008C7A4BDDB934693>
