From owner-freebsd-virtualization@freebsd.org Mon Feb 26 10:35:01 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 1BD99F3C0AB for ; Mon, 26 Feb 2018 10:35:01 +0000 (UTC) (envelope-from mail@osfux.nl) Received: from vm1982.vellance.net (vm1982.vellance.net [79.99.187.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A2CC76EC54 for ; Mon, 26 Feb 2018 10:35:00 +0000 (UTC) (envelope-from mail@osfux.nl) Received: from vm1982.vellance.net (localhost [127.0.0.1]) by vm1982.vellance.net (Postfix) with ESMTP id B335620157; Mon, 26 Feb 2018 11:34:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=osfux.nl; s=default; t=1519641299; bh=wnK+iXFSpr2oof5ke1eBp4C3AgrQsnLaOzLHmSKqS50=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=ZIhaIodkOxZCZiU/pMGEQfNgui10XkZXxiWa7ODzMw1jgMx0L5EWvYtPZr+Shxp0v kggno243K/O3SlLMehLXJ9B8utP4pIkSssaoJwx6c73R9FEIfxpj4J6JbKnCrIvHi9 QIQ7TyJ/F9lUZwkXess2ZIYlyW09Kts1+9tD+ihHyh30G1BisrbOTa9fk5giuTQWr3 F7ugnwCN8nEZ51oDovV05i+h3ZX2cXN6nt9QCsuw77uiUwuho/qyI7KNXXm7OfgEXN LCTD3OfA0cRUgQGzNqFFHIWGqsqQ3zp41vTnF7i1o4kT2ioNhYXXN1nREgEq0B3FBe +OsSFwsBSsqfiR6Xm3hdz8AfF6iR6IP84Pi2VKTn+iu/PEFG555KijhfGbL25QvTkr zu8TYmniDQigUJOOjKI6WzZ2WkH8RPsT5v9Dsq0NtQf60nQ869W/21q6XLsHNwKceD beKYWMIC7NC8iE+Hm68fhnWF3vPcOszzUJo5w9QZs891J9aa+RM7FVsTUh9JJHTJuP yPO2yBk4YsruUafcbyen+JXmEeCL2vMxN9k8pktAy1VV9/0j7K+2pz7pHcTrExQNCR 6VcC1JhKJ+d+EhUGZ/kO74MUMtNiMwxoS/meygLqRKEwjDOk9s+b/X6X9M5yO/7+TW e5Js3Z484Px27hZB5MlkGnxo= Received: from vm1982.vellance.net (localhost [127.0.0.1]) by vm1982.vellance.net (Postfix) with ESMTP id 31CA120126; Mon, 26 Feb 2018 11:34:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=osfux.nl; s=default; t=1519641298; bh=wnK+iXFSpr2oof5ke1eBp4C3AgrQsnLaOzLHmSKqS50=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=ensHloqyRZysamJ3VXGoaY8mSd9H+8m0oWYNZrJtt3iERzTJNm7Drnm2rJ42xmhpU QmwKE/4/4HrJ/vaYV41+db7JRSKR/O6x0IkNCtsvX1rCvzGjH9GyFJYx0/z2IwVPsw RP3uKmT8OJOV2gYmJKs3RwmXc1FMVJR3kuFfyKTeBryae5Gm3TpXoOlxLbyw9phdhv uoyXEO7ZFNRXKzZZNJOcZhl9anLZeepuyR6O3uxFwozhfaeciqjQ/tEXuO8DrejaIr 5gDwYZFWcu2/o4IS+P2bcyAudamskBfuWqjX3OheH7NOKqihVop9ItwYTIrZX5HhJe iYSHOY8/7zADI64N/IbsloUCv3VkgoO4lWNEUuG+o8EHvE6Gix0SDL09Sfbxeshoa0 nQ0JF7IROCh2ZqaPYGzoLVXudP/O0BycIgvBpibbGdzdlFF+9QIx3hLanrG+rcOVda oUzQQdLdf9sidXwDFldjZcV7UZfXlPTX1Z730Or+TuRG1J3N3VhyEQx18kSaQlDAba JOur5Zsuw9LNdJR/snucB1VCXFS+9FdmlwDbkpeMJMkQtTgxsXIhqVSnkAadjf/fvk Gzn0wZN/eNpOkkdz5UslfeNampJvRvlEprKE8kaMSRHLfatHeWhvDKwIqlX6PRSpbl Gj0JFzIfa+iV0d/7+xpueSJc= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on vm1982.vellance.net X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.1 Received: from quanza-qhq-dhcp161.q (engineering.quanza.net [91.208.87.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vm1982.vellance.net (Postfix) with ESMTPSA; Mon, 26 Feb 2018 11:34:56 +0100 (CET) Subject: superfluous host interfaces To: Harry Schmalzbauer Cc: freebsd-virtualization@freebsd.org References: <20180225131401.GA3138@v007.zyxst.net> <5A93CEB6.1080406@omnilan.de> <5A93D9D0.4090804@omnilan.de> From: Ruben Message-ID: <54f9019e-6e86-8e10-32d7-9f14d159bb0a@osfux.nl> Date: Mon, 26 Feb 2018 11:34:52 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <5A93D9D0.4090804@omnilan.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Scanned: ClamAV using ClamSMTP 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: Mon, 26 Feb 2018 10:35:01 -0000 On 26/02/2018 10:56, Harry Schmalzbauer wrote: >> Hi Harry, >> >> >> What are your reasons for preferring ng_bridge over the "normal" bridge? > Two very different main reasons: > if_bridge(4) is very standards compliant (e.g. that different reserved > MAC addresses won't get forwarded – don't know any explicit examples out > of mind), which was problematic for some SDN setups (software defined > networking, in means of sharing a PHY for multiple VMs and > simultaniously interconnect VMs to VMs) > > Another, personally very significant, reason is that you'll get a > superfluous host interface for each if_bridge(4), which makes the output > of plain ifconfig(8) kind of unreadable. > For VM SDN, I don't need/want those host interfaces, despite they don't > do any harm. > > vale(4) was extremely convinient. Simply create a switch, then each VM > attaches on the fly :-) > Unfortunately, I'm unable to debug the lockups and my setups was kind of > hacky, since I haven't used NIC's native netmap(4) support, but used > emulated netmap(4) for if_vlan(4). This leads to loss of almost all > performance advantages, but left convinience advantages. Unfortunately, > emulated netmap(4) is supposed to have some unresolved problems on > FreeBSD and upstream hackers consider my hacky setup as wrong by nature > – which it is technically speaking. For real-world usagen, one would > need to code a VLAN filter between bhyve(4) and vale(4). Skillwise, I'm > not the one :-( > > -harry Hi Harry, Thank you for elaborating on that. I took the liberty of creating a new mailthread as my questions are kind of off-topic to the original thread. By superflous host interfaces, do you mean the tap interfaces configured for each vm together with the bridge interfaces they are "bundled" in? Overall I'm very happy with my bhyve setups atm. If there are any speed-/administrative-advantages that come with bridge_ng however, I'm very interested in switching to such a setup (or at least play with it). I'm running my vm's without any helper project so I'm flexible enough to do some fiddling :P Do you know of any documentation on using bridge_ng together with bhyve? My search-engines don't turn up much Im affraid and I haven't stumbled on it before. Kind regards, Ruben