When I execute command 'ping google.com' the output is 'ping: unknown host google.com'.
Now I will share the steps on how to enable the internet connection in virtulabox.
Hope it helps...
1. Right click the installed CentOs in virtualbox and select settings. In next window select Network then just copy setting like in image below.
2. Start the CentOs and execute command "nmtui" and select "Edit a connection" and press Enter.
3. Select Ethernet and Edit.
4. Select "Automatically connect" and just press space to mark x the select OK.
5. restart network by executing command "systemctl restart network". Then ping google must success.
No comments:
Post a Comment