Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2016 19:15:17 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        Paul Vixie <paul@redbarn.org>, The Doctor <doctor@doctor.nl2k.ab.ca>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: Multiple VM hosting using bhyve
Message-ID:  <705658cd-b73f-003a-884c-3c73bc9e0643@freebsd.org>
In-Reply-To: <57EC4D8E.7000005@redbarn.org>
References:  <20160927201118.GC64360@doctor.nl2k.ab.ca> <ff64db03-c468-aa4d-a7b0-7f5999656061@freebsd.org> <20160927210207.GA34361@doctor.nl2k.ab.ca> <a25cb936-d833-4cec-b1e1-ee8940bc2347@freebsd.org> <20160927220029.GA45391@doctor.nl2k.ab.ca> <57EC4D8E.7000005@redbarn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--huLpmQuJAk0XjcRfMOQg9PIG0dWeauRi3
Content-Type: multipart/mixed; boundary="sHBjrTPSHkxP1Gcn4S13t6V8dgbbOlUEU";
 protected-headers="v1"
From: Allan Jude <allanjude@freebsd.org>
To: Paul Vixie <paul@redbarn.org>, The Doctor <doctor@doctor.nl2k.ab.ca>
Cc: freebsd-virtualization@freebsd.org
Message-ID: <705658cd-b73f-003a-884c-3c73bc9e0643@freebsd.org>
Subject: Re: Multiple VM hosting using bhyve
References: <20160927201118.GC64360@doctor.nl2k.ab.ca>
 <ff64db03-c468-aa4d-a7b0-7f5999656061@freebsd.org>
 <20160927210207.GA34361@doctor.nl2k.ab.ca>
 <a25cb936-d833-4cec-b1e1-ee8940bc2347@freebsd.org>
 <20160927220029.GA45391@doctor.nl2k.ab.ca> <57EC4D8E.7000005@redbarn.org>
In-Reply-To: <57EC4D8E.7000005@redbarn.org>

--sHBjrTPSHkxP1Gcn4S13t6V8dgbbOlUEU
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2016-09-28 19:09, Paul Vixie wrote:
>=20
>=20
> The Doctor wrote:
>> How do I "bridge" these "Taps"?
>=20
> here's rc.conf from my second bhyve milking machine:
>=20
> hostname=3D"mm2.redbarn.org"
> defaultrouter=3D"149.20.59.1"
> ipv6_defaultrouter=3D"2001:4f8:3:1006::1"
>=20
> ifconfig_igb0=3D"inet 149.20.56.188/29"
> ifconfig_igb0_ipv6=3D"inet6 2001:4f8:3:1007::4/64"
>=20
> autobridge_interfaces=3D"bridge0"
> autobridge_bridge0=3D"tap* igb1"
> ifconfig_igb1=3D"up media 1000baseTX"
> cloned_interfaces=3D"bridge0 tap0 tap1 tap2 tap3 tap4 tap5 tap6 tap7"
> ifconfig_bridge0=3D"inet 149.20.59.4/24"
> ifconfig_bridge0_ipv6=3D"inet6 2001:4f8:3:1006::4/64 auto_linklocal up"=

> ifconfig_tap0=3D"up"
> ifconfig_tap1=3D"up"
> ifconfig_tap2=3D"up"
> ifconfig_tap3=3D"up"
> ifconfig_tap4=3D"up"
> ifconfig_tap5=3D"up"
> ifconfig_tap6=3D"up"
> ifconfig_tap7=3D"up"
>=20
>=20

You might also find the sysctl:
net.link.tap.up_on_open=3D1

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.

--=20
Allan Jude


--sHBjrTPSHkxP1Gcn4S13t6V8dgbbOlUEU--

--huLpmQuJAk0XjcRfMOQg9PIG0dWeauRi3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJX7E8JAAoJEBmVNT4SmAt+Ft4P/1xMs6E1ftOGvhABwD1cEMmF
tt4HLl6XMJmOiHex5ZomgATGwKKyw015+UmdwDoTjwvEKsBTeOG2mt+LhKRhV3b2
PCPbQpz/8r7zE7QowkzX0oFPM2x3YMvae3mZsEkYJu5aasI/lZ0aYZ3Pqc9PHftQ
RLLHrcrvnvDPUKa4gihflLHa5ZjYbCggsZmVJ/VmZy/RtqJY936tnglhzyS07+FW
IWbZMB7hSVsdtiH0op9fL2tlpV1PgoNa3JzsPLQsD/k8EXu1cvSJqDZCjX47HjR0
NfA2aO+bVECWmPe8+F2TSpjQhgBrYul9QcnBs3Hrosh7vmhtog+xsgz38KciosIc
q0oV7ZIh26WM2MYrJUZZFhhAVRZJN4CbO5hoJIKl4LzVAd5xvO4tiGOg+xtJNCa7
HIZVIfv89Zo77KRL7TuJ11w0m5WP7IlYGqB0DFSrqNPkdkdZVbSI1h/O9XotUwif
UNA5/zzzqk31bCNhS42prFB9aDukR1nEppMmJNCXzedC+kiTbne8zQ3EHdJJZVGC
ZiMW35EwETOdHuepxnKGmSq6rnDsBzuJbFSQBVGrHQ8I+3q4YMKh92LdVwenY4Q8
3BZ/yX161iO2rHu0QYk60VhXEnRk65mKGvJZkM0yxTkgZQJ7M/T/3C8O3yFCqRKD
Dv2psUIfqOr3Gmrp7oMQ
=iH8R
-----END PGP SIGNATURE-----

--huLpmQuJAk0XjcRfMOQg9PIG0dWeauRi3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?705658cd-b73f-003a-884c-3c73bc9e0643>