Hi.
I have rb750 with ROS 6.7 There are two ip clasess - one is private (behind nat) and second is public.
I need to limit private class per ip to 5/2, public has to be without limit.
I did setup according to wiki but its not working.
Mangle:
Try not to use connection mark. Leave that as blank.
First setup your queue types.
you will need two configure. one with a limit of 0 which means it splits the connection between the computers browsing equally this will be used for the LAN. Then second batch of queues is where your limits will be applied.
(queue 0 is for LAN to LAN traffic so that any limitations you put on for the internet will no affect someone communicating to another person on the LAN)
0 name=“LAN Traffic” target=172.17.0.0/16 dst=172.17.0.0/16 parent=none
packet-marks=“” priority=8/8 queue=PCQ-UPLOAD-0/PCQ-DOWN-0 limit-at=0/0
max-limit=100M/100M burst-limit=0/0 burst-threshold=0/0
burst-time=0s/0s
(queue 2 is the WAN limit. Change your max-limit to what ever your connection is select the PCQ-UPLOAD and DOWN you have configured.)
2 name=“WAN Limt” target=172.17.0.0/16 parent=none packet-marks=“”
priority=8/8 queue=PCQ-UPLOAD-80/PCQ-DOWN-512 limit-at=0/0
max-limit=2664k/5348k burst-limit=0/0 burst-threshold=0/0
burst-time=0s/0s