linux設置IP與網關

設置IP和掩碼route

ifconfig eth0 192.168.5.40 netmask 255.255.255.0co

設置網關config

route add default gw 192.168.5.1

相關文章
相關標籤/搜索