I installed an alpine linux 3.19 guest VM under VBox 7.0 (macOS Bigsur host).
The alpine uest has bridged network connectivity over eth0 and the interface has an address of 10.0.2.15.
My host is in the local 192.168.178.0 network. I can reach the 10.0.2.0 network over the gateway 192.168.178.1.
I'd rather have a configuration, where the alpine VM obtains its IP from the DHCP of the 192.168.178.1 router.
The VM network configuration is set to NAT.
When I change this to bridged networking, I see dhcpd timeouts and the interface eth0 doesn't get an IP.
How do I have to configure the networking in the guest and the VBox.
network connectivity of alpine linux guest
Re: network connectivity of alpine linux guest
Found the solution in my case myself: choose bridged networking in the VM settings and en3 (thunderbolt) ethernet.
This way the IP is leased from the hosts dhcp server (in the router to the internet)
This way the IP is leased from the hosts dhcp server (in the router to the internet)
-
- Volunteer
- Posts: 714
- Joined: 3. Mar 2015, 07:27
- Primary OS: Mac OS X other
- VBox Version: OSE other
- Guest OSses: Linux, macOS, Windows
Re: network connectivity of alpine linux guest
If you are trying to use bridged networking over WiFI then I am afraid it is not possible. Apple changed their rules on allowing wifi bridging in macOS Ventura. I recall that the only reason it worked before that, was due to a buggy wifi driver which Apple then "fixed".
However, bridged networking will still work over an ethernet connection (i.e. hard wired).
However, bridged networking will still work over an ethernet connection (i.e. hard wired).