使用終端模擬器后 先連接歪屁摁
只有連接后才能看到路由表
//命令查看開啟的路由表
netcfg
或者
cat /proc/net/route
查看后一般的路由表可能是tun0、0x3c、ppp0
查看
ip route show table tun0
如果這個路由表存在,以雷電模擬器為例子
添加
ip route add 172.16.2.0/24 dev eth0 proto static scope link table tun0
//刪除
ip route del 172.16.2.0/24 table tun0