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 //配置默认网关
发布时间: 2012-11-10 10:48:51 作者: rapoo
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 //配置默认网关