tap interfaces disappears after bhyve guests shutdowns

Miroslav Lachman 000.fbsd at quip.cz
Mon Feb 13 12:38:05 UTC 2017

C. L. Martinez wrote on 2017/02/13 13:09:

>   Why when a bhyve guest shutdowns or reboot tap interfaces goes down and lost IP assigned address?. I need to use same tap interface for several guests and assign an IP to this tap interface to act as a router for these guests.
>   How can I do a "persistent tap" interface??

I think you need this sysctl:

# sysctl -d net.link.tap.up_on_open
net.link.tap.up_on_open: Bring interface up when /dev/tap is opened

More information about the freebsd-virtualization mailing list