Home  >  Article  >  Operation and Maintenance  >  How to configure ip address for linux

How to configure ip address for linux

王林
王林Original
2019-12-26 10:16:025831browse

How to configure ip address for linux

1. Open the Linux terminal system, and then enter the following code in the system

How to configure ip address for linux

2. Then start filling in the ip address, subnet Netmask, gateway and other command codes, as shown in the figure:

Free learning video tutorial sharing: linux video tutorial

How to configure ip address for linux

3. After filling in the terminal, save and exit

How to configure ip address for linux

#4. Then restart the network service. The code in the red box is the restart code

How to configure ip address for linux

5. Then ping the gateway and perform an external network test. If it passes normally, it will be OK

How to configure ip address for linux

Recommended related article tutorials: linux Tutorial

The above is the detailed content of How to configure ip address for linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn