I was following a manual from here :https://github.com/churchers/vm-bhyve
Instead of the suggested step:
I tried
vm switch add public wg0
.. and I cannot. The message I get is
Since wg0 is already not a physical adapter , rather a virtual one, how do I get a VM to use it?
Do I clone it or create an epair?
I am relying upon bhyve since I was unable to do the same using jails as well.
I do not want to go back to virtualbox which just seamlessly works and will happily create a NAT and will use my host's wg0.
Instead of the suggested step:
vm switch add public em0I tried
vm switch add public wg0
.. and I cannot. The message I get is
Code:
/usr/local/sbin/vm: ERROR: failed to add member wg0 to the virtual switch public
Since wg0 is already not a physical adapter , rather a virtual one, how do I get a VM to use it?
Do I clone it or create an epair?
I am relying upon bhyve since I was unable to do the same using jails as well.
I do not want to go back to virtualbox which just seamlessly works and will happily create a NAT and will use my host's wg0.