ROS限速 内网指定(MAC限速)

ROS 6x

第一步数据标记

/ip firewall mangle

add action=mark-connection chain=forward disabled=yes new-connection-mark=mac \

    passthrough=yes src-address=192.168.1.0/24 src-mac-address=\

    18:DE:DD:80:5C:0C

add action=mark-packet chain=forward disabled=yes new-packet-mark=mac \

    passthrough=yes src-address=192.168.1.0/24 src-mac-address=\

    18:DE:DD:80:5C:0C

 

第二步限速

/queue simple

add max-limit=5M/5M name=mac packet-marks=mac target=""

你可能感兴趣的:(网络技术)