小型ISP网络的QoS设置、网络构建与防火墙配置
1. QoS基本设置
在网络管理中,QoS(Quality of Service,服务质量)的设置至关重要。以下是为不同类型的流量分配带宽的基本设置:
- 远程数据库应用开发者流量 :为远程开发者分配至少总带宽的1/8。
#Remote DB application developers
#we allow a minimum of 1/8 of total bandwidth for remote developers
let RBW=$BW/8
$AC 1:1 classid 1:30 htb rate ${RBW}kbit ceil ${RBW}kbit prio 2
$AQ 1:30 handle 300: pfifo limit 5
$AF handle 3 fw classid 1:30
- 总部与本地之间的流量 :为与总部之间的流量分配至少总带宽的1/4。
#traffic between HQ and this location
#we allow a minimum of 1/4 of total bandwidth for traffic with HQ
let I=$BW/4
$AC 1:1 classid 1:40 htb rate ${I}kbit ceil ${BW}kbit prio 3
$AQ 1:40 handle 400: pfifo
超级会员免费看
订阅专栏 解锁全文
24

被折叠的 条评论
为什么被折叠?



