Mikrotik RouterOS VoIP 流量 QoS 队列脚本

技术资料 分享,软路由,脚本
0 628
admin
admin 自由达人 2024-08-01 23:06:08
用户等级:5级
  • # VoIP Traffic QoS Queuing
  • # Rule 1: Mark connections coming FROM the VoIP gateway
  • /add chain=prerouting src-address=xxx.xxx.xxx.xxx action=mark-connection new-connection-mark=VoIP_conn;
  • # Rule 2: Mark connections going TO the VoIP gateway
  • /add chain=prerouting dst-address=xxx.xxx.xxx.xxx action=mark-connection new-connection-mark=VoIP_conn;
  • # Rule 3: Mark actual VoIP packets based on the connection mark
  • /add chain=prerouting connection-mark=VoIP_conn action=mark-packet new-packet-mark=VoIP_packet passthrough=no;
  • # Queues for Bandwidth Management
  • # Note: Each concurrent VoIP call requires approximately 100 Kbps of upload and 100 Kbps of download bandwidth.
  • # Allocating 1 Mbps for VoIP should cover around 10 concurrent calls (considering overheads).
  • # Adjust the bandwidth allocation according to the expected number of concurrent calls.
  • # Queue 1: Prioritized VoIP Traffic
  • /queue simple
  • add name="VoIP Traffic" target=0.0.0.0/0 packet-mark=VoIP_packet max-limit=1M/1M priority=1;
  • # Queue 2: All Other Traffic
  • add name="All Other Traffic" target=0.0.0.0/0 packet-mark=no-mark max-limit=99M/99M priority=2;
复制

楼主签名:唱跳rap和篮球
回帖
已上传或添加的图片
宽度
px
高度
px
说明
浮动
默认
  
附件状态: 待添加
下载附件消耗:
金币财富
升级经验
  
  
插入表格
宽度
100%
自动
边框

双击表格可删除表格

  
文件 类型 时间 操作
上一页 1 下一页 关闭
  
自动播放   
边框修饰
宽度    高度
  
自动播放
自动循环
  
回复列表