假設往 192.168.10.0/24 要改走 192.168.20.253 路由出去
在macos 下如果要調整 static route 的語法如下
sudo route -n add -net 192.168.10.0/24 192.168.20.253

檢查剛剛設定的route 有沒有成功
netstat -rn
 

arrow
arrow
    文章標籤
    macos route
    全站熱搜

    helloworld 發表在 痞客邦 留言(0) 人氣()