首页 > 技术文章 > Linux用ifconfig设置IP、掩码、网关

linuxde 2018-04-04 22:07 原文

ifconfig eth0 ip netmask 255.255.255.0
route add default gw 网关

 

推荐阅读