ifconfig eth0 192.168.1.25 netmask 255.255.255.0 broadcast 192.168.1.1 up
netmask:子网掩码
broadcast:默认网关
ifconfig eth0 192.168.1.25 netmask 255.255.255.0 broadcast 192.168.1.1 up
netmask:子网掩码
broadcast:默认网关
转载于:https://www.cnblogs.com/adu0409/p/3334278.html