本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
xxxxxxxxxx
====== Debian路由服务器 下用 macvlan 实现多拨 增加带宽 ======
先编辑一个新的 ppp连接 到/etc/ppp/peers下 找到先前ppp0拨号的配置\\
一般为 dsl-provider \\
''vim dsl-provider''
找到 plugin rp-pppoe.so eth0 \\
把eth0 改为 eth0.1
添加虚拟网卡 \\
<color /#efe4B0>ip link add link eth0 name eth0.1 address 11:11:11:22:22:22 type macvlan</color> \\
激活网卡\\
''ifconfig eth0.1 up'' \\
添加路由转发\\
<color /#efe4B0>iptables -t nat -A POSTROUTING -o ppp1 -j MASQUERADE</color> \\
拨号 \\
''pon eth0.1''
查看 如果有ppp1则为成功
实现均衡分流
<color /#efe4B0>ip route replace default scope global nexthop dev ppp0 weight 1 nexthop dev ppp1 weight 1</color>
ok。。。。到windows下试试迅雷吧