Ubuntu [Linux] to change the IP address

Foreword

It introduced the method to modify the address of centos Linux systems, description link

However, due to the need to work, today installed a Ubuntu system, but Linux systems still use a similar smartTTY software such operations would be better that you can achieve a lot of powerful features, but only if we have to connect to the Linux we want to control virtual machine. We see the Linux IP address through ifconfig command, as follows:

 

 modify

We use vim / etc / network / interfaces command to enter the IP address in the configuration file, as follows:

 

 Ubuntu will retrieve the card behind the auto keyword, and configure a static IP address.

After configuration is complete, if centos system, we need to use a command to restart the network card, but Ubuntu, the command may be a problem, here we introduced a new approach, method Source

Use ifdown -a command ifup -a and to shut down and restart operations.

finally

 

After you enter the password to enter into the following interface.

 

 

Guess you like

Origin www.cnblogs.com/jums/p/11647049.html