host-only network WITHOUT vbox dhcp but host access

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
RealJamesDean
Posts: 7
Joined: 20. Sep 2012, 14:28

host-only network WITHOUT vbox dhcp but host access

Post by RealJamesDean »

How do I set up a host-only network WITHOUT vbox running a dhcp server on it but still have host OS access with a static or dhcp CLIENT IPs?

I have managed to create a host-one network with two VMs on it on subnet 172.27.27.0/24. One of the VMs is running a dhcp server on the subnet and acting as a gateway, as intended.Both VMs are using VirtIO NICS. The gateway guest is running pfSense 2.6.0-RELEASE (64-bit FreeBSD) and the test guest is running Oracle Linux 9.1 with Gnome. THEOL9 box is successfully acquiring both and IPv4 and an IPv6 address from the pfSense box over the host-only network, and happily communicate over both IPv4 and IPv6.The OL9 box has two additional virtue NICS and the pfsense box has one for it's uplink.pfSense has the FreeBSD 12 VirtIO support, and the OL9 box has the 7.0.4 guest additions installed.

On the Tools->Networks->Host-only Networks tab I only have the one network defined:

Name: intnet
Mask: 255.255.255.0
Lower Bound: 172.27.27.1
Upper Bound: 172.27.27.254

BUT I can't seem to access the 172.27.27.0/24 subnet from the host OS. How do I configure that?

Host OS is MacOS Ventura 13.0.1 : Virtualbox is 7.0.4 r154605 (qt5.15.2)
Post Reply