日期:2014-05-16  浏览次数:20633 次

linux系统中配置网络
ifconfig eth0 192.168.1.10 netmask 255.255.255.0  //配置IP地址
ifconfig eth0 up | down                                              //激活,关闭设备eth0
route add default gw 192.168.1.1                             //配置默认网关