From owner-freebsd-hackers Tue Oct 19 3:11:49 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from gw-nl1.origin-it.com (gw-nl1.origin-it.com [193.79.128.34]) by hub.freebsd.org (Postfix) with ESMTP id 4EF5B165D5 for ; Tue, 19 Oct 1999 03:11:32 -0700 (PDT) (envelope-from Hans.Zuidam@nl.origin-it.com) Received: from mail.nl.origin-it.com (localhost.origin-it.com [127.0.0.1]) by gw-nl1.origin-it.com with ESMTP id MAA17312 for ; Tue, 19 Oct 1999 12:11:31 +0200 (MEST) (envelope-from Hans.Zuidam@nl.origin-it.com) Received: from mail.nl.origin-it.com(172.16.127.67) by gw-nl1.origin-it.com via mwrap (4.0a) id xma017297; Tue, 19 Oct 99 12:11:31 +0200 Received: from nlehx900.ehvovh.nl.origin-it.com (nlehx900.ehvovh.nl.origin-it.com [172.16.92.111]) by mail.nl.origin-it.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id MAA11108 for ; Tue, 19 Oct 1999 12:11:26 +0200 (MET DST) Received: by nlehx900.ehvovh.nl.origin-it.com with Internet Mail Service (5.5.2448.0) id ; Tue, 19 Oct 1999 12:11:26 +0200 Message-ID: <9B7E8CE3E214D311A3050008C7A4BDDB934693@nlehx061.ehvvon.nl.origin-it.com> From: "Zuidam, Hans" To: "'hackers@freebsd.org'" Subject: natd question Date: Tue, 19 Oct 1999 12:11:25 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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