1
General Discussion / Re: Bhyve on OPNsense for virtualization in 2023
« on: December 18, 2023, 03:57:10 am »
Update: I found out what I needed to do to be able to assign the tap interface in the UI, or at least why I couldn't initially. It seems that opnsense filters out some interfaces from appearing in the assignment list, as per https://www.jafdip.com/renaming-ethernet-interfaces-under-freebsd/ I renamed tap0 to something else and I was then able to assign it via the UI, then add firewall rules and get traffic routing working.
to rename in the current running session:
then to make it permanent add it to /etc/rc.conf:
to rename in the current running session:
Code: [Select]
ifconfig tap0 name hyve0
then to make it permanent add it to /etc/rc.conf:
Code: [Select]
ifconfig_tap0_name=”hyve0″