From owner-freebsd-net@FreeBSD.ORG Tue Nov 9 17:44:36 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 294C916A4CE for ; Tue, 9 Nov 2004 17:44:36 +0000 (GMT) Received: from outmx008.isp.belgacom.be (outmx008.isp.belgacom.be [195.238.3.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB4FB43D2F for ; Tue, 9 Nov 2004 17:44:30 +0000 (GMT) (envelope-from massonda@scarlet.be) Received: from outmx008.isp.belgacom.be (localhost [127.0.0.1]) with ESMTP id iA9HiJp9017192 for ; Tue, 9 Nov 2004 18:44:20 +0100 (envelope-from ) Received: from scarlet.be (27.195-78-194.adsl-fix.skynet.be [194.78.195.27]) with ESMTP id iA9Hi9ae017062 for ; Tue, 9 Nov 2004 18:44:10 +0100 (envelope-from ) Message-ID: <4191054D.1080306@scarlet.be> Date: Tue, 09 Nov 2004 18:58:37 +0100 From: "MASSON D." User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Setting up nat with FREEBSD 5.2.1 but keeping original mac address X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 17:44:36 -0000 Hello everybody, I need to connect two networks together. Those networks have total different IP ranges. Each machine in network A needs to connect with a unique "nat'ed" ip address to the network B, but it needs to keep its own MAC address (or, if this is not possible, a fake one). I try to use FREEBSD 5.2.1 with NAT to do the job but this sends as espected the mac address from the router to de destination host, in my case this is not allowed. PS A little bit firewall is welcome to. Can this be done? Perhaps with netgraph? Masson D. from a small country with great chocolates (BELGIUM) Sorry for my english it's a little bit wrong typed, I know.....