linux系统中配置网络命令



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

相关内容

    暂无相关文章