Linux Network settings 1 -- Linux Network Environment configuration method 1: ① use root to log on, enter the setup command ② select Network configuration, enter the Configure TCP/IP interface ③ the first [], if the cursor is here, press the space to display the * sign, the IP address is automatically assigned ④ if you want to manually assign an IP address, press the tab key, enter the IP address, and press the tab key all the time, the following content is automatically entered. Select OK ⑤ and return to the command interface. Enter/etc/rc. d/init. d/network restart to take effect. Method 2: ① enter the command ifconfig eth0 X. x. x. x, set the NIC ② enter the command ifconfig eth0 network X. x. x. x, set subnet mask ③ use the default settings for the broadcast address and dns so that the network configuration will take effect immediately, but will take effect temporarily. Once restarted, the error message is invalid. Method 3: ① vi/etc/sysconfig/network-scripts/ifcfg-eth0, open the file and modify ② run/etc/rc. d/init. d/network restart. This method takes effect permanently.