My home network layout looks like this:
Computer 1 and 2 use internet gateway 1, computer 3 uses internet gateway 2.
All works nice, until I try to set up traffic shaping.
For computer 3 all works nice, cause I can put the wifi interface as a queue tree parent.
For computers 1-2 it gets messy, I can't put an interface as a parent cause the net router is connected over the switch (MT has only one ethernet card), so I put global-in and global-out as parents.
What happens is (I think) MT can't figure what direction the traffic is going and in the UL queue counts both UL and DL (as they are on the same interface).
These are the my queue rules:
Can some one point me in the right direction?
Code: Select all
0 X name="queue-p2p-DL" parent=DL packet-mark=p2p limit-at=512000 queue=default priority=8 max-limit=4000000 burst-limit=0 burst-threshold=0 burst-time=0s 1 X name="queue-p2p-UL" parent=UL packet-mark=p2p limit-at=64000 queue=default priority=8 max-limit=500000 burst-limit=0 burst-threshold=0 burst-time=0s 2 X name="queue-http-UL" parent=UL packet-mark=http limit-at=384000 queue=default priority=3 max-limit=500000 burst-limit=0 burst-threshold=0 burst-time=0s 3 X name="queue-http-DL" parent=DL packet-mark=http limit-at=3000000 queue=default priority=1 max-limit=4000000 burst-limit=0 burst-threshold=0 burst-time=0s 4 X name="DL" parent=global-in packet-mark="" limit-at=0 queue=default priority=2 max-limit=4000000 burst-limit=0 burst-threshold=0 burst-time=0s 5 X name="UL" parent=global-out packet-mark="" limit-at=0 queue=default priority=1 max-limit=512000 burst-limit=0 burst-threshold=0 burst-time=0s