3

I have a VM running Debian 9 and the latest version of VirtualBox. I have VirtualBox configured to use the bridged adapter and it was working fine yesterday. But when I came and got on it this morning... I am unable to access the network from it or the internet. Here is the output of ip address show

ip address show output

  • Just systemctl restart networking.service, and to verify if your dhclient is still running: ps -elf | grep dhclient – NarūnasK Oct 20 '17 at 13:22
1

In order to get a new IP address through DHCP, dhclient must be running. Run in manually to confirm it works.

Then check your /etc/network/interfaces file, it should contain a line like:

iface enp0s3 inet dhcp

if it doesn't, add it and restart the netwrok with

systemctl network restart

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.