1. Problem: Entering the ip addr command does not display the IP address
2. Try to solve:
Method 1. Maybe ens33 has not started. After logging in as root, enter the command you have given to restart the virtual machine.
echo ONBOOT=yes >> /etc/sysconfig/network-scripts/ifcfg-ens33
Method 2. The NetworkManager service that comes with centos may be affected. Close it.
systemctl stop NetworkManager
systemctl disable NetworkManager
Method 3. Uninstall the virtual machine and reinstall it. Perform the following operations during the installation process.
Like, collect and follow~Happy learning without getting lost~Thank you