From owner-freebsd-virtualization@freebsd.org Thu Apr 26 07:39:18 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24C69FA43A5 for ; Thu, 26 Apr 2018 07:39:18 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9597C77EED for ; Thu, 26 Apr 2018 07:39:17 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id w3Q7dFfT008519; Thu, 26 Apr 2018 09:39:15 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id D3C738A6; Thu, 26 Apr 2018 09:39:14 +0200 (CEST) Message-ID: <5AE18222.6000900@omnilan.de> Date: Thu, 26 Apr 2018 09:39:14 +0200 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Paul Esson CC: "freebsd-virtualization@freebsd.org" Subject: Re: bhyve networking References: , <201804252033.w3PKXv8M097827@pdx.rh.CN85.dnsmgr.net> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Greylist: ACL 130 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Thu, 26 Apr 2018 09:39:15 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2018 07:39:18 -0000 Bezüglich Paul Esson's Nachricht vom 25.04.2018 23:15 (localtime): > Hi Rod, > Can you share a command line for that? I also tried presenting an > access port from my switch on a specific VLAN - not trimmed. Would I > still have to tag the interface on the guest in that scenario? Hmm, I lost the overview – I'm not familar with 'vm'. To filter a specific id (tag/untag frames) inside the guest: 'ifconfig vlan[N] create vlandev vtnet0 vlan nnnn' 'ifconfig vlan[N] create vlandev vtnet0 vlan nnnm' At boot time by rc(8): vlans_vtnet0="vtnet_dmz vtnet_dmz2" create_args_vtnet_dmz="vlan nnnn" create_args_vtnet_dmz2="vlan nnnm" [To optionally also rename the vlan interfaces after manually creating cloned vlan interfaces, which is what the rc.conf(5) example does: ifconfig rename vlan0 vtnet_dmz; ifconfig rename vlan0 vtnet_dmz2; ] Hth, -harry