ROS官方硬件开启快速转发
目 录
支持的硬件:
RB6xx series | ether1,2 |
RB7xx series | all ports |
RB800 | ether1,2 |
RB9xx series | all ports |
RB1000 | all ports |
RB1100, RB1000AHx2 | ether1-11 |
RB1000AHx2 | all ports |
RB2011 series | all ports |
RB3011 series | all ports |
RB4011 series | all ports |
CRS series routers | all ports except management interface (if the device has one) |
CCR series routers | all ports except management interface (if the device has one) |
All devices | wireless interfaces, if wireless-fp, wireless-cm2, wireless-rep or wireless (starting from 6.37) package used |
命令如下:
/ip firewall filter add chain=forward action=fasttrack-connection connection-state=established,related /ip firewall filter add chain=forward action=accept connection-state=established,related
加上这条据说可以让Mangle策略生效
/ip firewall filter add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related hw-offload=yes in-interface=PPPoE-Unicom
注:PPPoE-Unicom是拨号接口
从RouterOS v7.1beta6开始CRS3xx系列几乎全部支持支持Layer3 hardware offloading
/ip firewall filter set 1 hw-offload=yes
查看防火墙:
注:
优点 降低了 CPU的 负荷
缺点 mangle 和queue 都会失效
hw-offload:参考
常见问题FAQ
- 免费下载或者VIP会员专享资源能否直接商用?
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章
原始出处 、作者信息和本声明。否则将追究法律责任。
转载请注明来源:
ROS官方硬件开启快速转发 - 七界传说丨关注分享网络、硬件、维护、游戏、主题、虚拟化、软件分享!