In our test environment often I have the problem that our virtual machines do not pickup a proper IP address, to solve this problem I will show you below the process. 

(I will keep you posted in case I will find a way to solve this from the networking aspect or with an automate script)

First we check the links:

ip link


I recommend to kill any old process, so type the command below

sudo dhclient -r


And now we can type the command below to make the DHCP server assign an IP address to the link enp0s4

sudo dhclient enp0s4


Nicely done! 

Brando Sabatini and Ikbal C ©. Powered by Blogger.