Configure a network card and connect XShell

1, enter the virtual machine settings

share picture

2.find / name “*ens33” #Find the network card configuration file path

Share pictures

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

share pictureshare picture

5. Edit the file in the configuration file Then Save and exit (the following figure shows successful configuration)

share picture

6.share pictureThe system restarts the network

7. Use ip a to check whether the network card is created successfully share picture

8. Open share picturedisplayshare pictureclick Share a picture

9. Enter your network card ip in the arrow pointing to the field , Press Enter share picture

X. Thanks for reading I am not good at editing Caibao, please leave a message to correct me share picture

Leave a Comment

Your email address will not be published.