Redistribution of IP addresses in Linux systems

  
                

A lot of linux users will give the system a network cable to connect to the internal network, but after plugging in the computer, it finds ifconfig is still the original IP. What if you want to restart your computer or restart the configuration of various experimental environments, which is too much trouble? The following small series will share with you the method of reallocating the IP address in the Linux system.

only need to perform: service network restart

[root @ localhost ~] # service network restart

Shutting down the interface eth0: [OK]

Close the loopback interface: [OK]

Popup loopback interface: [OK]

The popup interface eth0:

is determining the IP information of eth0. . . carry out. [OK]

[root@localhost ~]#

The above is the method of reallocating the IP address in the Linux system. The operation method is very simple. If the setting is completed, ifconfig can be viewed.

Copyright © Windows knowledge All Rights Reserved