ashi009 / bestroutetb

Generating the most optimized route table for VPN users.
MIT License
879 stars 99 forks source link

配置gateway.vpn和gateway.net时使用interface #31

Open PhoenixHe-NV opened 9 years ago

PhoenixHe-NV commented 9 years ago

对于iproute进行配置的时候 如果是pppoe拨号的动态ip那就比较难指定gateway ip了 以及并没有找到如何将gateway.net配置为interface 如果直接写interface name会生成类似

ip route add 0.0.0.0/0 via ppp0

这样的输出

ashi009 commented 8 years ago

请看一下wiki上的示例。直观感觉用例是相同的。