From owner-freebsd-virtualization@freebsd.org Sat Oct 1 23:45:54 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6376CA944AA for ; Sat, 1 Oct 2016 23:45:54 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor.nl2k.ab.ca (doctor.nl2k.ab.ca [204.209.81.1]) (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 49905D98; Sat, 1 Oct 2016 23:45:54 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor by doctor.nl2k.ab.ca with local (Exim 4.88) (envelope-from ) id 1bqTyU-000Ahh-UJ; Sat, 01 Oct 2016 17:45:46 -0600 Date: Sat, 1 Oct 2016 17:45:46 -0600 From: The Doctor To: Allan Jude Cc: Paul Vixie , freebsd-virtualization@freebsd.org Subject: Re: Multiple VM hosting using bhyve Message-ID: <20161001234546.GA40557@doctor.nl2k.ab.ca> References: <20160927201118.GC64360@doctor.nl2k.ab.ca> <20160927210207.GA34361@doctor.nl2k.ab.ca> <20160927220029.GA45391@doctor.nl2k.ab.ca> <57EC4D8E.7000005@redbarn.org> <705658cd-b73f-003a-884c-3c73bc9e0643@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <705658cd-b73f-003a-884c-3c73bc9e0643@freebsd.org> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Sat, 01 Oct 2016 23:45:54 -0000 On Wed, Sep 28, 2016 at 07:15:17PM -0400, Allan Jude wrote: > On 2016-09-28 19:09, Paul Vixie wrote: > > > > > > The Doctor wrote: > >> How do I "bridge" these "Taps"? > > > > here's rc.conf from my second bhyve milking machine: > > > > hostname="mm2.redbarn.org" > > defaultrouter="149.20.59.1" > > ipv6_defaultrouter="2001:4f8:3:1006::1" > > > > ifconfig_igb0="inet 149.20.56.188/29" > > ifconfig_igb0_ipv6="inet6 2001:4f8:3:1007::4/64" > > > > autobridge_interfaces="bridge0" > > autobridge_bridge0="tap* igb1" > > ifconfig_igb1="up media 1000baseTX" > > cloned_interfaces="bridge0 tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7" > > ifconfig_bridge0="inet 149.20.59.4/24" > > ifconfig_bridge0_ipv6="inet6 2001:4f8:3:1006::4/64 auto_linklocal up" > > ifconfig_tap0="up" > > ifconfig_tap1="up" > > ifconfig_tap2="up" > > ifconfig_tap3="up" > > ifconfig_tap4="up" > > ifconfig_tap5="up" > > ifconfig_tap6="up" > > ifconfig_tap7="up" > > > > > > You might also find the sysctl: > net.link.tap.up_on_open=1 > > useful, as it will re-up the tap devices when bhyve opens them. Else > rebooting a bhyve might end up with the tap interface in a down state. > Check, check and check. Hoever, yes I install the virtual machines but they cannot see the network once installed :-( The ifconfig_bridge0 should that be the virtual switch interface hence the defaultrouter / default gateway interface on the VM? right now I am assigning the VM from me 204.209.81.0/24 stack with the 204.209.81.1 hosting all Vitural machines and being the NS1 and 204.209.81.3 being the NS2 with 204.209.81.2 being the default gateway >From my /etc/rc.local /sbin/ifconfig igb0 alias 10.0.0.2 netmask 0xffffffff /sbin/ifconfig igb0 alias 10.0.0.3 netmask 0xffffffff /sbin/ifconfig igb0 alias 10.0.0.4 netmask 0xffffffff /sbin/ifconfig igb0 alias 10.0.0.5 netmask 0xffffffff /sbin/ifconfig igb0 alias 10.0.0.6 netmask 0xffffffff /sbin/ifconfig igb0 alias 10.0.0.7 netmask 0xffffffff /sbin/ifconfig igb0 alias 10.0.0.8 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.50 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.51 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.52 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.53 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.54 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.55 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.56 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.57 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.58 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.59 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.60 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.61 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.62 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.63 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.64 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.65 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.66 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.67 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.68 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.69 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.70 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.71 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.72 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.73 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.74 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.75 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.76 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.77 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.78 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.79 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.80 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.81 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.82 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.83 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.84 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.85 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.86 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.87 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.88 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.89 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.90 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.91 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.92 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.93 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.94 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.95 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.96 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.97 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.98 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.99 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.100 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.101 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.102 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.103 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.104 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.105 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.106 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.107 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.108 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.109 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.110 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.111 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.112 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.113 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.114 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.115 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.116 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.117 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.118 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.119 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.120 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.121 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.122 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.123 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.124 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.125 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.126 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.127 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.128 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.129 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.130 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.131 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.132 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.133 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.134 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.135 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.136 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.137 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.138 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.139 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.140 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.141 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.142 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.143 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.144 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.145 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.146 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.147 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.148 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.149 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.150 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.151 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.152 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.153 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.154 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.155 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.156 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.157 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.158 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.159 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.160 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.161 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.162 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.163 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.164 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.165 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.166 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.167 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.168 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.169 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.170 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.171 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.172 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.173 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.174 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.175 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.176 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.177 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.178 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.179 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.180 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.181 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.182 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.183 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.184 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.185 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.186 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.187 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.188 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.189 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.190 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.191 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.192 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.193 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.194 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.195 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.196 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.197 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.198 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.199 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.200 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.201 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.202 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.203 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.204 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.205 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.206 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.207 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.208 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.209 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.210 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.211 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.212 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.213 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.214 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.215 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.216 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.217 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.218 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.219 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.220 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.221 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.222 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.223 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.224 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.225 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.226 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.227 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.228 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.229 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.230 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.231 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.232 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.233 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.234 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.235 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.236 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.237 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.238 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.239 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.240 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.241 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.242 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.243 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.244 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.245 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.246 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.247 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.248 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.249 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.250 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.251 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.252 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.253 netmask 0xffffffff /sbin/ifconfig igb0 alias 204.209.81.254 netmask 0xffffffff -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism Time for the USA to hold a referendum on its republic and vote to dissolve!!