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)
<!--[if lte IE 6]> <![endif]--> Visibl...
This article collects 20 excellent web page color ...
This article shares the specific code of jQuery t...
There are some issues that are not limited to Vue...
Table of contents Preface 1. Recursive components...
When developing a website, you often need to use ...
Table of contents Prepare Five weapons for…in Obj...
Demand background Part of the data in the busines...
1. Installation of Docker under CentOS8 curl http...
Table of contents Written in front Solution 1: Us...
The "nofollow" tag was proposed by Goog...
<br />I have been working in front-end for s...
Introduction: Sometimes, in order to develop a pr...
Recently, I found that after using the docker loa...
How to get the container startup command The cont...