linux设置IP与网关

设置IP和掩码route

ifconfig eth0 192.168.5.40 netmask 255.255.255.0co

设置网关config

route add default gw 192.168.5.1

相关文章
相关标签/搜索