From owner-freebsd-net@FreeBSD.ORG Sat Jan 31 17:38:51 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 BA66C16A4D0; Sat, 31 Jan 2004 17:38:51 -0800 (PST) Received: from tromso-dhcp-235-56.bluecom.no (tromso-dhcp-235-56.bluecom.no [62.101.235.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66DF343D46; Sat, 31 Jan 2004 17:38:50 -0800 (PST) (envelope-from lists@jonepet.net) Received: from localhost (localhost.jonepet.net [127.0.0.1]) by tromso-dhcp-235-56.bluecom.no (Postfix) with ESMTP id 6FD686D1; Sun, 1 Feb 2004 02:40:43 +0100 (CET) Received: from tromso-dhcp-235-56.bluecom.no ([127.0.0.1]) by localhost (discovery.jonepet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05498-04; Sun, 1 Feb 2004 02:40:43 +0100 (CET) Received: from jonepet.net (atlantis.wlan.jonepet.net [10.2.33.4]) by tromso-dhcp-235-56.bluecom.no (Postfix) with ESMTP id 323216D0; Sun, 1 Feb 2004 02:40:43 +0100 (CET) Message-ID: <401C58AF.3000600@jonepet.net> Date: Sun, 01 Feb 2004 02:38:55 +0100 From: Jon-Eirik Pettersen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at jonepet.net cc: freebsd-ipfw@freebsd.org Subject: Merge a NAT-router and a Non-NAT-server 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: Sun, 01 Feb 2004 01:38:51 -0000 Hi. I'm trying to merge two "servers", one of them is only a NAT-router for the rest of the LAN another one is a host without NAT that needs a unique IP. I have 3 network interfaces on the other. I want that to take over the NAT-routing, but I need to use one network device to that server, and one other to the NAT-routing. All connections from this host should go thru ed0 without NAT. Server: NIC0 (vr0): NAT-network - rest of the network (NET0) - Switch 0 NIC1 (ed0): Default outgoing interface - Internet (NET1) - Switch 1 NIC2 (xl0): LAN (NAT'ed thru vr0) - Internet (NET1) - Switch 1 xl0 and vr0 is on the same switch to the same network, but with different IP's. Is this possible? And another network question: Is it possible to make a virtual network interface bridged to another one?