求助!2条ADSL负载均衡后,再加一条ADSL做游戏分流,游戏线路没数据通过
如题~负载均衡后,作为分流的线路没有任何流量,负载均衡的线路很正常 把具体的做法贴出来嘛,你这样让人如何帮忙咧 负载均衡的做法坛子里很多!就不用说了!我只是想知道负载均衡后怎样分流,请高手提点一下,万分感谢。
2M+2M同网关做负载均衡,想加条1M做游戏分流 没有人愿意赐教吗?:') 唉。。俺也不会哟
:loveliness: 再次顶上让高手看到!小弟略懂皮毛!只需指点一下思路,自己动手的能力还是有的!先在此谢过了!
游戏线路也试过做MARK,但还是没流量 楼主,思路不对!
应该直接做三线NTH,但1M的那条不标记路由,最后在FIREWALL里面标记分流! 3线的NTH???那1M那条不也随NTH工作了吗?
还是我没理解呢?虚心求教~
先谢过楼上的这位兄台 继续求助~学无止境~ 把你的mangle 和 ip route贴出来。 NTH或RANDOM分两条线,然后新建一条vpn标记那条1M的专用游戏分流! 本帖最后由 zh1000000 于 2009-1-6 18:30 编辑
版主大大也来了~~感动感动~~
像我这样的特殊共享环境,应该有蛮多人会碰上的~
IP ROUTE
C - connect, S - static, r - rip, b - bgp, o - ospf
# DST-ADDRESS PREF-SRC G GATEWAY DIS
0 ADC 172.10.1.50/32 172.10.1.1
1 ADC 172.10.1.51/32 172.10.1.1
2 ADC 172.10.1.53/32 172.10.1.1
3 ADC 172.10.1.54/32 172.10.1.1
4 ADC 172.10.1.58/32 172.10.1.1
5 ADC 172.10.1.60/32 172.10.1.1
6 ADC 172.10.1.63/32 172.10.1.1
7 ADC 172.10.1.0/24 172.10.1.1
8 ADC 222.XXX.128.1/32 222.XXX.130.74
9DC 222.XXX.128.1/32 222.XXX.130.63
10DC 222.XXX.128.1/32 222.XXX.128.128
11 ADC 222.XXX.128.128/32 222.XXX.128.128
12 ADC 222.XXX.130.63/32222.XXX.130.63
13 ADC 222.XXX.130.74/32222.XXX.130.74
14 A S ;;; 1
0.0.0.0/0 r 222.XXX.128.128
15 A S ;;; 2
0.0.0.0/0 r 222.XXX.130.74
16 A S ;;; 3
0.0.0.0/0 r 222.XXX.130.63
mangle
0 ;;; UDP
chain=prerouting src-address=172.10.1.0/24 protocol=udp
action=mark-packet new-packet-mark=udp passthrough=yes
1 ;;;
chain=prerouting src-address=172.10.1.0/24 protocol=tcp dst-port=443
dst-address-list=!QQGame action=add-dst-to-address-list address-list=443
address-list-timeout=3h
2 chain=prerouting src-address=172.10.1.0/24 dst-address-list=443
action=mark-connection new-connection-mark=1 passthrough=yes
3 ;;; QQ
chain=prerouting protocol=tcp dst-port=443 dst-address-list=QQGame
action=mark-connection new-connection-mark=1 passthrough=yes
4 ;;;
chain=prerouting src-address=172.10.1.0/24 connection-state=new
nth=2,3,0 action=mark-connection new-connection-mark=1 passthrough=yes
5 chain=prerouting src-address=172.10.1.0/24 connection-mark=1
action=mark-routing new-routing-mark=1 passthrough=no
6 chain=prerouting src-address=172.10.1.0/24 connection-state=new nth=2,3,1
action=mark-connection new-connection-mark=2 passthrough=yes
7 chain=prerouting src-address=172.10.1.0/24 connection-mark=2
action=mark-routing new-routing-mark=2 passthrough=no
8 chain=prerouting src-address=172.10.1.0/24 connection-state=new nth=2,3,2
action=mark-connection new-connection-mark=3 passthrough=yes
9 chain=prerouting src-address=172.10.1.0/24 connection-mark=3
action=mark-routing new-routing-mark=3 passthrough=no
10 ;;; Change MSS
chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1440
11 chain=postrouting action=accept
由于一直没成功,不想浪费带宽资源,无奈之下现在用住3线的NTH
线路3就是1M的,其他是2M。 内网使用PPPOE mangle标记,再分流,没有流量?
页:
[1]