From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 18:54:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B791106564A for ; Mon, 28 Apr 2008 18:54:59 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id C6E9A8FC15 for ; Mon, 28 Apr 2008 18:54:50 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m3SIsWLN079348; Mon, 28 Apr 2008 20:54:32 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m3SIsNa8079345; Mon, 28 Apr 2008 20:54:23 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 28 Apr 2008 20:54:23 +0200 (CEST) From: Wojciech Puchar To: Vince In-Reply-To: <4814C512.1030706@unsane.co.uk> Message-ID: <20080428205353.C79145@wojtek.tensor.gdynia.pl> References: <1209310959.10040.116.camel@localhost> <4814A0E9.4010005@skoberne.net> <4814C512.1030706@unsane.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: martes@mgwigglesworth.com, User Questions , =?ISO-8859-2?Q?Nejc_=A9koberne?= Subject: Re: VLAN Trunking with Freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 18:54:59 -0000 > If you are just creating from the command line and want cisco router like > subinterfaces, the following works (I have the vlan module built into my > kernel might need to load it otherwise.) > root@crab > (19:22:09 <~>) 0 # ifconfig bge0.1 > ifconfig: interface bge0.1 does not exist > root@crab > (19:22:13 <~>) 0 # ifconfig bge0.1 create > root@crab > (19:22:15 <~>) 0 # ifconfig bge0.1 > bge0.1: flags=8842 metric 0 mtu 1500 > options=3 > ether 00:e0:81:2d:a3:16 > media: Ethernet autoselect (100baseTX ) > status: active > vlan: 1 parent interface: bge0 > root@crab > (19:22:17 <~>) 0 # ifconfig bge0.1 destroy > > Not certain how thats represented in rc.conf, Will have a look. ifconfig_bge0.1="create ip_address/mask" should work