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.

-- 
Allan Jude

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to