CentOS 7 VirtualBox no internet access (even after adding DNS1 and modify ONBOOT to yes)

Issues related to configuring your network
Post Reply
arielma
Posts: 6
Joined: 2019/04/05 20:54:01

CentOS 7 VirtualBox no internet access (even after adding DNS1 and modify ONBOOT to yes)

Post by arielma » 2019/04/05 20:55:27

I installed VirtualBox with an IMAGE of CENTOS 7.5 SERVER. I'm trying now to enable internet connection there, so I've found my network card name, and then edited the relevant file in /etc/sysconfig/network-scripts with DNS1=8.8.8.8 and ONBOOT=yes, but I'm still getting an error of 'ip configuration could not be reserved'

arielma
Posts: 6
Joined: 2019/04/05 20:54:01

Re: CentOS 7 VirtualBox no internet access (even after adding DNS1 and modify ONBOOT to yes)

Post by arielma » 2019/04/07 10:29:53

The error now is:
job for network.service failed because the control process exited with error code

lightman47
Posts: 1521
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: CentOS 7 VirtualBox no internet access (even after adding DNS1 and modify ONBOOT to yes)

Post by lightman47 » 2019/04/07 13:41:39

Not sure if applicable to you but in my VB Manager/{machine}/Settings/Network - I have set my adapter to "Bridged Adapter" - connected to my wlo1 device.

Post Reply