Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to set up centos system NAT Network connection under VMware

Shulou Source: shulou.com Published: 2022-06-01 17:40:01 09月29日 Update

This article mainly introduces how to set up the NAT network connection of the centos system under VMware. The article is very detailed and has certain reference value. Interested friends must read it!

Under the Minimal of Centos 6, the network card defaults to onboot= "no", and the option to rely on NetworkManager is set, NM_CONTROLLED= "yes", because NetworkManger, a network management tool provided by default, is not installed in the case of minimal. So we need to change it to:

ONBOOT= "yes" MM_Controlled= "no".

Manually edit the configuration file (vi / etc/sysconfig/network-script/ifcfg-eth0) of the Nic in the following format:

Here, we can set it to dhcp by default.

# service network restart

The above is all the contents of the article "how to set up the NAT network connection of centos system under VMware". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Systems networks content articles network cards values interests guys partners tools situations handwork documents more formats knowledge management tools industry information information channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi MySQL MariaDB Huawei Shulou Technology