Home >Topic List >How to change ip address in linux

How to change ip address in linux

The IP address can be changed using command line tools, network management tools, or directly editing the configuration file. Detailed introduction: 1. Use the command line tool to open a terminal window and log in with administrator rights. Then, use the ifconfig command to view the information of the current network interface; 2. Open the system settings, and then select the "Network" option. In the network settings window, select the network interface whose IP address you want to change, and then click the "Settings" button. In the Interface Settings window, select the "IPv4 Settings" tab and then select the "Manual" option. In the IP Address, Subnet Mask, and Gateway fields, enter the values ​​you want to change. After clicking the "Apply" button, the changes will