From owner-freebsd-net@FreeBSD.ORG Tue Feb 27 09:58:27 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 6371F16A404 for ; Tue, 27 Feb 2007 09:58:27 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id EA38513C4AC for ; Tue, 27 Feb 2007 09:58:26 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [10.0.0.178] ([10.0.0.178]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.13.8) with ESMTP id l1R9xFIB025072 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Feb 2007 09:59:17 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <45E400B2.7090101@unsane.co.uk> Date: Tue, 27 Feb 2007 09:58:10 +0000 From: Vince User-Agent: Thunderbird 1.5.0.7 (X11/20061027) MIME-Version: 1.0 To: Eygene Ryabinkin References: <8B9F8433B684734581EB519F1A3E5AF47B1D48@blr-m3-msg.wipro.com> <20070227085447.GR1084@codelabs.ru> In-Reply-To: <20070227085447.GR1084@codelabs.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: tanniru.sankar@wipro.com, freebsd-net@freebsd.org Subject: Re: How to enable VLAN interface on normal interface 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: Tue, 27 Feb 2007 09:58:27 -0000 Eygene Ryabinkin wrote: >> I need some help on enabling VLAN interface on an ethernet interface. >> Please provide me the steps to configure and enable VLAN interface on >> FreeBSD 6.0 OS. >> > > Is your Google worse than mine? > See http://people.freebsd.org/~arved/vlan/vlan_en.html, the third > link in Google on the request 'freebsd vlan'. > Its actually even easier than that these days. using an0 as its the only interface on this laptop. kldload if_vlan ifconfig an0.1 create ifconfig an0.1 an0.1: flags=8842 mtu 1496 ether 00:40:96:43:24:09 media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps) status: associated vlan: 1 parent interface: an0 Vince