I'm trying to setup guest virtual machines using virtual Box on a headless ubuntu server using VBoxManage. I have the guest machines running the only issue is with the networking.
Here is the command I used to setup the adapter: enp2s7 is my Ethernet adapter VBoxManage modifyvm "UbuntuServer" --nic1 bridged --bridgeadapter1 enp2s7
I have installed bridge utils on the host machine also as I thought that was needed.
Here is another thing that I have tried: Edited on the host machine: /etc/network/innterfaces
iface lo inet loopback
The primary network interface
iface br0 inet static
Then I updated the VM to the following and still it won't connect.
VBoxManage modifyvm "UbuntuServer" --nic1 bridged --bridgeadapter1 br0
This usually pops up during install and even after install I tried to manually configure the interfaces on the Virtual Machine Guest system. The guest system does recognize the adapter however it still does not work using both dhcp and static ip.
Any help is appreciated!