配置静态IP:ip addr add 192.168.18.18/24 dev eth0
启动网卡:ifup eth0/ifup ifcfg-eth0
添加默认网关路由:ip route add default via 192.168.1.1 dev eth0
清除IP:ip add flush dev eth0