ifconfig配置IP地址和子网掩码

ifconfig eth0 192.168.2.10
ifconfig eth0 192.168.2.10 netmask 255.255.255.0
原文地址:https://www.cnblogs.com/liyuchuan/p/11320968.html