==多线捆绑ADSL及VPN的负载均衡==
四根adsl捆绑上网,并搭建基于openvpn的VPN,开通四个vpn虚拟通道
均衡后,上网没问题,VPN却不稳定,断断续续,请教高手,VPN我该怎么来负载均衡...................
[root@vpn ~]# ip route
10.1.0.6 dev tun2 proto kernel scope link src 10.1.0.5
10.1.0.4 dev tun1 proto kernel scope link src 10.1.0.3
10.1.0.2 dev tun0 proto kernel scope link src 10.1.0.1
10.1.0.8 dev tun3 proto kernel scope link src 10.1.0.7
192.168.20.0/24
nexthop dev tun0 weight 1
nexthop dev tun1 weight 1
nexthop dev tun2 weight 1
nexthop dev tun3 weight 1
192.168.20.0/24 via 10.1.0.6 dev tun2
192.168.20.0/24 via 10.1.0.4 dev tun1
192.168.20.0/24 via 10.1.0.2 dev tun0
192.168.4.0/24 dev eth4 proto kernel scope link src 192.168.4.4
192.168.3.0/24 dev eth3 proto kernel scope link src 192.168.3.3
192.168.2.0/24 dev eth2 proto kernel scope link src 192.168.2.2
192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.7
192.168.10.0/24 dev eth0 proto kernel scope link src 192.168.10.240
169.254.0.0/16 dev eth0 scope link
default
nexthop dev ppp0 weight 1
nexthop dev ppp1 weight 1
nexthop dev ppp2 weight 1
nexthop dev ppp3 weight 1
会员注册
会员登录
个人空间
发表评论