Linux: Quick view the IP address and IP address changes

REVIEW Linux at how quickly view the IP address and IP address changes, there is a method for reference

Check ip

Method / Step 1:

Open the linux operating system interface to enter
Linux: Quick View IP address and change the IP address of Linux: Quick view the IP address and IP address changes

Method / Step 2:

Right-click the desktop to open the terminal.
Linux: Quick View IP address and change the IP address of Linux: Quick view the IP address and IP address changes

Method / Step 3:

Terminal, enter ifconfig -athe command in the Enter key
Linux: Quick View IP address and change the IP address of Linux: Quick view the IP address and IP address changes

Method / Step 4:

The figure below you can see the ip address.
Linux: Quick View IP address and change the IP address of Linux: Quick view the IP address and IP address changes

Modify ip

Method / Step 1:

Use the root user to log into linux, open into the terminal
Linux: Quick View IP address and change the IP address of Linux: Quick view the IP address and IP address changes

Method / Step 2:

In a terminal: vi / etc / sysconfig / network-scripts / ifcfg-eth0
Linux: Quick View IP address and change the IP address of Linux: Quick view the IP address and IP address changes

Method / Step 3:

Enter, start editing, fill in the ip address, subnet mask, gateway, DNS and so on. The "red box of information" had to have. To complete it
Linux: Quick View IP address and change the IP address of Linux: Quick view the IP address and IP address changes

This article addresses: https://www.linuxprobe.com/?p=145428

Guess you like

Origin blog.csdn.net/Linuxprobe18/article/details/90401264