From owner-freebsd-net@FreeBSD.ORG Wed Mar 21 12:46:09 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F29A0106564A for ; Wed, 21 Mar 2012 12:46:09 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from dash.upc.es (dash.upc.es [147.83.2.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7CBAF8FC0C for ; Wed, 21 Mar 2012 12:46:09 +0000 (UTC) Received: from entelserver.upc.edu (entelserver.upc.es [147.83.39.4]) by dash.upc.es (8.14.1/8.13.1) with ESMTP id q2LCk7HW008458 for ; Wed, 21 Mar 2012 13:46:08 +0100 Received: from webmail.entel.upc.edu (wireless.upc.es [147.83.39.6]) by entelserver.upc.edu (Postfix) with ESMTP id D1FA52CBD0E for ; Wed, 21 Mar 2012 13:46:02 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 21 Mar 2012 14:21:33 +0100 From: Gustau Perez Querol To: In-Reply-To: <4F69B540.7070706@icritical.com> References: <51f939ac5fb636ae90ba1b0fd628e40b@mail.mikej.com> <4F69B540.7070706@icritical.com> Message-ID: <4e8108fbc66bbfe24a18d743497cadbd@webmail.entel.upc.edu> X-Sender: gperez@entel.upc.edu User-Agent: RoundCube Webmail/0.5.1 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (dash.upc.es [147.83.2.50]); Wed, 21 Mar 2012 13:46:08 +0100 (CET) Subject: Re: Cloning VLAN 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: Wed, 21 Mar 2012 12:46:10 -0000 On Wed, 21 Mar 2012 11:02:24 +0000, Matt Burke wrote: > On 03/20/12 14:54, Gustau Perez Querol wrote: >> VBoxManage modifyvm "FreeBSD virtual machine" --nic1 bridge >> --nictype >> bridge virtio --bridgeadapter vlan10 > > On my machines running virtualbox-ose-4.0.14, VBoxManage won't accept > vlan > interfaces either - I need to kill the GUI then edit the config files > to > change the physical interface to vlanN. Mmm, I first tried the 4.1.51r40008 (the devel one). Now I'm running 4.1.X (from redports) and the VBoxManage accepts an vlan interface as a bridged interface. > > Also, when altering any other setting by the GUI, the process needs > repeating. > That is correct, I have just checked that behavior and it also happens to me. I also noticed that the vbox GUI gets confused only if you go the properties of the machine using a bridged vlan interface. If you don't go to the properties of the virtual machine, you will see in the panel on the right side that the virtual interfaces remain bridged to your real vlan interfaces. It would appear I've been lucky, as I'm running vbox in a headless machine so I have always used the TUI (which doesn't get confused about using vlan interfaces). If you succeed with ng, please let us know, I'm interested in netgraph. If you don't, at least you know you can do it by using the VBoxManage tool... Gustau