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 //配置默认网关
linux系统中配置网络
猜你喜欢
转载自ll-feng.iteye.com/blog/1700647
今日推荐
周排行