Skip to content
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

Add support for Host-only network to VirtualBox/macOS #14

Open
afbjorklund opened this issue Sep 29, 2024 · 0 comments
Open

Add support for Host-only network to VirtualBox/macOS #14

afbjorklund opened this issue Sep 29, 2024 · 0 comments

Comments

@afbjorklund
Copy link
Collaborator

Starting with macOS 13, the VirtualBox network options changed

https://www.virtualbox.org/manual/topics/networkingdetails.html#network_hostonly

On macOS hosts, choose the Host-Only Network option when configuring a network adapter.
The Host-Only Adapter option is provided for legacy support.


Hosts running recent macOS versions do not support host-only adapters

This is what the current driver uses: VBoxManage list hostonlyifs

The other alternative is hostonlynets, network name not interface name.

These adapters are replaced by host-only networks, which define a network mask and an IP address range,
where the host network interface receives the lowest address in the range.

So this new option needs to query for the actual IP address received...

https://github.com/minikube-machine/machine/blob/0.16.2/drivers/virtualbox/virtualbox.go#L771

@afbjorklund afbjorklund changed the title Add support for Host-only network to VirtualBox, to replace Host-only adapter Add support for Host-only network to VirtualBox Sep 29, 2024
@afbjorklund afbjorklund changed the title Add support for Host-only network to VirtualBox Add support for Host-only network to VirtualBox/macOS Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant