1, enter the virtual machine settings
2.find / name “*ens33” #Find the network card configuration file path
3.vim /etc/sysconfig/network-scripts/ifcfg-ens33 #Enter to modify the configuration file
4.#Find the gateway address in the Windows command window and write it into the file
5. Edit the file in the configuration file Then Save and exit (the following figure shows successful configuration)
6.The system restarts the network
7. Use ip a to check whether the network card is created successfully
8. Open displayclick
9. Enter your network card ip in the arrow pointing to the field , Press Enter
X. Thanks for reading I am not good at editing Caibao, please leave a message to correct me