• notice
  • Congratulations on the launch of the Sought Tech site

The solution to the failure to open the Centos network card

Centos is installed on the virtual machine, and the ip addr command is used to view the network card, but ens33 does not have an ip address. According to the Internet, modify the configuration file of the ens33 network card:

vi /etc/sysconfig/network-scripts/ifcfg-ens33,

Change ONBOOT=no to ONBOOT=yes,

Restart the network service: sudo service network restart,

But still failed to open the network card.

Finally, I tried to find that the network connection in the original virtual machine configuration must use NAT mode, and then the network card (with ip address) can be turned on.

 

This article is from Blog Garden, author: Java family , please indicate the original link for reprint: https://www.cnblogs.com/stm32stm32/p/9768766.html


Tags

Technical otaku

Sought technology together

Related Topic

0 Comments

Leave a Reply

+