ip route flush table sz ip route add default via 183.2.218.254 dev eth0 src 183.2.218.4 table sz ip rule add from 183.2.218.4 table sz ip route flush table hk ip route add default via 45.124.25.254 dev eth1 src 45.124.25.221 table hk ip rule add from 45.124.25.221 table hk exit 0
注意exit 0要放后面
来源:博客园
作者:菜鸟web
链接:https://www.cnblogs.com/yunweiweb/p/11475089.html