I recently noticed this in rc.conf(5):
When I start my bhyve VM, a tap0 is created, but it is not being added to bridge0 automatically.
Is something not working properly, or are my expectations incorrect?
I thought I would make use of this to automatically add tap(4) interfaces to a bridge when they are created byautobridge_interfaces
(str) Set to the list of bridge interfaces that will have newly arriving interfaces checked against to be automatically added. If not set to “NO” then for each whitespace separated element in the value, a autobridge_⟨element⟩ variable is assumed to exist which has a whitespace separated list of interface names to match, these names can use wildcards. For example:
autobridge_interfaces="bridge0"
autobridge_bridge0="tap* dc0 vlan[345]"
bhyve
, so added the following to my /etc/rc.conf:
Code:
ifconfig_igb0="DHCP"
cloned_interfaces="bridge0"
ifconfig_bridge0="addm igb0"
autobridge_interfaces="bridge0"
autobridge_bridge0="tap*"
When I start my bhyve VM, a tap0 is created, but it is not being added to bridge0 automatically.
Is something not working properly, or are my expectations incorrect?