I would like to host a few VMs with VirtualBox (because that's what I use on my Windows desktop) on my FreeBSD home server.
To somewhat simplify things, I would like the guests to use DHCP from my network DHCP server to get their addresses. I think this means I need to bridge the network connection within Virtual Box.
Since my FreeBSD server only has one NIC, I'll need to create some sub-interfaces (I think these are called alias interfaces) on the FreeBSD server.
I've done a bunch of reading but what I'm not clear on is how to create sub-interfaces on FreeBSD without assigning them an IP address.
Any pointers to clear documentation or a walk-through of how to do what I want would be appreciated.
NOTE: for those suggesting bhyve, I may eventually go that route but I've used VirtualBox for years on the desktop (always used either virtual LAN or NAT for the interface) and at this stage I would prefer to minimize the things I'm unfamiliar with.
To somewhat simplify things, I would like the guests to use DHCP from my network DHCP server to get their addresses. I think this means I need to bridge the network connection within Virtual Box.
Since my FreeBSD server only has one NIC, I'll need to create some sub-interfaces (I think these are called alias interfaces) on the FreeBSD server.
I've done a bunch of reading but what I'm not clear on is how to create sub-interfaces on FreeBSD without assigning them an IP address.
Any pointers to clear documentation or a walk-through of how to do what I want would be appreciated.
NOTE: for those suggesting bhyve, I may eventually go that route but I've used VirtualBox for years on the desktop (always used either virtual LAN or NAT for the interface) and at this stage I would prefer to minimize the things I'm unfamiliar with.