Hello,
I just created a Ubuntu 18.04 LTS virtual machine using the VNC web interface. I had oppenssh-server installed on initial installation. I am using a virtIO disk and virtIO networking.
If I turn the machine on I cannot immediately SSH into my account. Instead, I have to start the web interface, login, and then ask for an IP address.
I initially realized the problem by typing
I have never had this problem with a Ubuntu Virtual machine in the past running virtualbox. However, that is on a Window Desktop and my goal is to run multiple headless servers using FreeNAS.
Any help would be greatly appreciated.
I just created a Ubuntu 18.04 LTS virtual machine using the VNC web interface. I had oppenssh-server installed on initial installation. I am using a virtIO disk and virtIO networking.
If I turn the machine on I cannot immediately SSH into my account. Instead, I have to start the web interface, login, and then ask for an IP address.
I initially realized the problem by typing
ifconfig
and only seeing a loopback device. Then running sudo dhclient
again followed by ifconfig
demonstrated both the loopback device and a internal IP. My router then shows a new MAC and IP at this time as well and I am able to SSH in. Rebooting the virtual machine causes the IP address to be lost again. I have never had this problem with a Ubuntu Virtual machine in the past running virtualbox. However, that is on a Window Desktop and my goal is to run multiple headless servers using FreeNAS.
Any help would be greatly appreciated.