|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
网吧出口为三条PPPOE拨号光纤,使用PCCA进行带宽叠加,对于上传,网上教程,
有的只标记一次连接,在根据该连接标记上传包;
17 ;;; DNS
chain=prerouting action=mark-connection new-connection-mark=small_conn
passthrough=yes src-address-list=lan_ip layer7-protocol=DNS
18 chain=postrouting action=mark-packet new-packet-mark=dns_up passthrough=n>
src-address-list=lan_ip connection-mark=small_conn
19 chain=prerouting action=mark-packet new-packet-mark=dns_down
passthrough=no src-address-type=!local connection-mark=small_conn
有的分别标记到三个出口的连接,在根据该连接标记上传包
90 ;;; DNS
chain=prerouting action=mark-connection new-connection-mark=DNS
passthrough=yes protocol=udp dst-port=53
91 chain=prerouting action=mark-packet new-packet-mark=DNS passthrough=yes
connection-mark=DNS
92 chain=postrouting action=mark-connection new-connection-mark=DNS_up
passthrough=yes protocol=udp dst-port=53
93 I chain=postrouting action=mark-packet new-packet-mark=DNS_up passthrough=n>
out-interface=pppoe-out1 connection-mark=DNS_up
94 I chain=postrouting action=mark-packet new-packet-mark=DNS_up passthrough=n>
out-interface=pppoe-out2 connection-mark=DNS_up
95 I chain=postrouting action=mark-packet new-packet-mark=DNS_up passthrough=n>
out-interface=pppoe-out3 connection-mark=DNS_up
请有实战经验的高手谈谈这两种标记有何不同,效果哪一种好点 |
|