From owner-freebsd-net@FreeBSD.ORG Thu Oct 18 01:49:54 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 03C3B232 for ; Thu, 18 Oct 2012 01:49:53 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id BE2398FC0C for ; Thu, 18 Oct 2012 01:49:53 +0000 (UTC) Received: from JRE-MBP-2.local (c-50-143-149-146.hsd1.ca.comcast.net [50.143.149.146]) (authenticated bits=0) by vps1.elischer.org (8.14.5/8.14.5) with ESMTP id q9I1nkd0057884 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 17 Oct 2012 18:49:47 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <507F603A.4050808@freebsd.org> Date: Wed, 17 Oct 2012 18:49:46 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Mariano Cediel Subject: Re: one physical interface -> n virtual interfaces References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2012 01:49:54 -0000 On 10/16/12 1:35 PM, Mariano Cediel wrote: > How do I create, from a physical interface, n virtual interfaces, but > all effects are real, their MAC different, on which we can do > individually NAT, etc, etc.? > > I need one external interface has 2 public IPs, and I'll do every NAT > over every (with ipfw and divert) > individually (each of them has its own gateway) > > A little help to start researching ..... > Greetings. > > (sorry for my poor english) use netgraph ng_eiface, ng_bridge and ng_ether