-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When just networkX_type and networkX_device are provided in the VM's config file, no network device is passed to bhyve #570
Comments
Hey, do you also use switch or just manual network devices? |
No vm-bhyve defined switch used. I have a bridge with a specific setup that I use (to also handle jails). The network devices are created outside vm-bhyve and passed on in the config file. |
I have this same issue on FreeBSD 14.2. I have manually configured bridges and tap devices and do not use vm-bhyve switch (leads to other issues in my setup). Before v 1.6.0 this worked without issues. Therefore, it would be nice to return the old behavior so that vm-bhyve would support also manual bridge/tap configurations not defined using vm-bhyve switch. |
I wonder why that happened. I looked at some of the commits and I didn't really see any major changes. |
I have two test systems, both are running FreeBSD 14.2 and were working on bhyve v1.5 (rev. 105102). Now: System A with v1.5 (rev. 105102) works. network setup in vm config on both systems: System A vm-bhyve.log NOTE: "initialising network device tap0" System B vm-bhye.log NOTE: no information about network initialization. System B seems to ignore even erroneous network0 statements. For example, even if I try to assign non existent device to the vm, it does not give any error. |
After upgrade to version 1.6.0, when a VM's configuration includes only networkX_type, networkX_device and networkX_mac (i.e. no vm-bhyve bridge), there are no Ethernet device arguments passed to bhyve, and hence no Ethernet interface given to the host VM as can be seen in the log file.
File extract for networking:
A temporary workaround is to pass the device explicitly to bhyve e.g. to add in the vm configuration file the following:
(FreeBSD 14.1, pkg latest, v1.6.0, debian VMs using grub)
The text was updated successfully, but these errors were encountered: