From owner-freebsd-net@FreeBSD.ORG Mon Oct 16 06:13:01 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 9E78C16A403 for ; Mon, 16 Oct 2006 06:13:01 +0000 (UTC) (envelope-from wagnerr@zoomtown.com) Received: from smtp2.fuse.net (mail-out2.fuse.net [216.68.8.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1710D43D55 for ; Mon, 16 Oct 2006 06:13:00 +0000 (GMT) (envelope-from wagnerr@zoomtown.com) Received: from gx6.fuse.net ([72.49.91.97]) by smtp2.fuse.net (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20061016061255.CBYI29181.smtp2.fuse.net@gx6.fuse.net> for ; Mon, 16 Oct 2006 02:12:55 -0400 Received: from raymond2 ([72.49.91.97]) by gx6.fuse.net (InterMail vG.1.02.00.02 201-2136-104-102-20041210) with ESMTP id <20061016061255.CNQK10743.gx6.fuse.net@raymond2> for ; Mon, 16 Oct 2006 02:12:55 -0400 From: "Raymond Wagner" To: Date: Mon, 16 Oct 2006 02:12:47 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757 Thread-Index: Acbw6hoJ/qxyYPHgRDuQpjPcDgQxRA== Message-Id: <20061016061255.CNQK10743.gx6.fuse.net@raymond2> Subject: Virtual Network Interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2006 06:13:01 -0000 My ISP provides me up to 5 dynamically assigned addresses out of a /20 block. I have more than 5 machines on my network, so I have no choice but to run NAT, however I would like to force two of those machines onto their own external addresses. If I had static addresses, I could simply alias the addresses into the external interface and then use "binat" in pf to redirect the traffic. However, the addresses have to be requested from the DHCP server, and expire after 4 hours. I can get this to work by running the NAT function under QEMU and just giving the virtual machine several interfaces bridged to the physical external interface. Running a VM is far from ideal. Is there any way I could set up a virtual network interface that could be bridged to the true interface and grab its own DHCP address? Thanks, Raymond Wagner