How to modify the server IP address

Edit the file after entering the server:

Enter and enter the editing interface:

Modify GATEWAY:

Enter and enter the editing interface:

Modify IPADDR (IP address), NETMASK (mask)

After modifying it, click the ESC button.

Then type: wq!

Finally restart the network, enter /etc/init.d/network restart

Leave a Reply

Your email address will not be published. Required fields are marked *