
In case you do want to switch from static to dhcp then you can execute this command: nmcli con mod "Wired connection 2" thod auto But hey you can always assign a static IP Address to your interface but unfortunately that is not the agenda of this article.

Good, so we are using DHCP which makes things easier for us now. So, currently I have these two interfaces, check if the enp0s8 interface is configured with static or dhcp: nmcli con show "Wired connection 2" | grep "thod" Next check if your selected interface is configured for STATIC IP or DHCP: nmcli con show As you can see, the IP Address of enp0s8 is 10.0.3.15/24 which is clearly a NAT IP: Now the changes may have been applied runtime on the Oracle VirtualBox VM but we still need to configure our Network in the Ubuntu Server to use the new Network Settings.Ĭurrently these are my network details for Adapter 2. Step-3: Configure Network on Linux Server There can be multiple reasons due to which you are unable to SSH to your VirtualBox VM, some of them can be This can be tricky for beginners or users who are using Oracle VirtualBox for the first time. Once you have installed any Linux distribution using the Oracle VirtualBox, the next step would be connect to your VM using any SSH client such as Putty or may be from a different Linux machine.



