1. Enter the network card configuration directory first2. Edit the configuration file of ifcfg-ens33 network cardvim ifcfg-ens33 is as follows: After modification, it is as follows: Exit and save, use ip add to view your own IP address, ip route to view the gateway, and then continue to edit the ifcfg-ens33 network card configuration file Exit and save (wq) The analysis is as follows: BOOTPROTO=none #Set the network card to statically configure the IP address none static configuration (manually specify the IP address) dhcp means that the virtual machine dynamically obtains the IP address 3. Refresh network services ---》centos7: How to check the version of centos: Refresh the network service and check the IP address and gateway again 4. Test whether ping Baidu can access the Internetctrl+c to force terminate ping This is the end of this article about the detailed steps of manually configuring the IP address in Linux. For more relevant content about configuring the IP address in Linux, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Example of how to set div background transparent
>>: Some useful meta setting methods (must read)
1. Nginx service foundation Nginx (engine x) is d...
Table of contents 1. Introduction to ReactJS 2. U...
Table of contents 1. Steps 1. Define buttom permi...
This article describes how to install opencv with...
Today, I logged into the server and prepared to m...
Table of contents Implementation ideas: Step 1: C...
This article shares the specific code of jQuery t...
Preface Let me share with you how I deployed a Sp...
1. Introduction to MMM: MMM stands for Multi-Mast...
When creating a tomcat server on a local eclipse,...
This article uses examples to describe MySQL dupl...
<br />Although there are many web page creat...
1. In addition to the default port 8080, we try t...
Preface I had previously enabled Docker's 237...
There are some differences between filter and bac...