Hello everybody, I have RB201 1UI AS-RM and i want make QoS to differenciate VoIP, Data and P2P. Here is my configuration: /ip firewall mangle Add chain=prerouting action=mark-packet new-packet-mark=VoIP port=5060 protocol= tcp passthrought=yes comment='sip' Add chain= prerouting action=mark-packet new-packet-mark=VoIP port=5060 protocol=udp passthrought=yes comment='sip' Add chain= prerouting action=mark-packet new-packet-mark=VoIP port=5004 protocol= udp passthrought=yes comment='RTP' Add chain= prerouting action=mark-packet new-packet-mark=VoIP port=4569 protocol= udp passthrought=yes comment='IAX' Add chain= prerouting action=mark-packet new-packet-mark=VoIP port=5036 protocol= udp passthrought=yes comment='IAX' Add chain= prerouting action=mark-packet new-packet-mark=VoIP port=3478,3479 protocol= udp passthrought=yes comment='STUN' Add chain= prerouting action=mark-packet new-packet-mark=VoIP port=10000 protocol= udp passthrought=yes comment='STUN' Add chain= prerouting action=mark-packet new-packet-mark=Data port=80 protocol= tcp passthrought=yes comment='HTTP' Add chain= prerouting action=mark-packet new-packet-mark=Data port=443 protocol= tcp passthrought=yes comment='HTTPS' Add chain= prerouting action=mark-packet new-packet-mark=Data port=22 protocol= tcp passthrought=yes comment='SSH' Add chain= prerouting action=mark-packet new-packet-mark=Data port=53 protocol= tcp passthrought=yes comment='DNS' Add chain= prerouting action=mark-packet new-packet-mark=Data port=53 protocol= udp passthrought=yes comment='DNS' Add chain= prerouting action=mark-packet new-packet-mark=Data port=20,21 protocol= tcp passthrought=yes comment='FTP' Add chain= prerouting action=mark-packet new-packet-mark=Data port=110 protocol= tcp passthrought=yes comment='POP3' Add chain= prerouting action=mark-packet new-packet-mark=Data port=25 protocol= tcp passthrought=yes comment='SMTP' Add chain= prerouting action=mark-packet new-packet-mark=Data port=143 protocol= tcp passthrought=yes comment='IMAP' Add chain= prerouting action=mark-packet new-packet-mark=Data port=993,995 protocol=tcp passthrought=yes comment='SSL' Add chain= prerouting action=mark-packet new-packet-mark=Data port=546 protocol=udp passthrought=yes comment='DHCP" Add chain= prerouting action=mark-packet new-packet-mark=P2P port=6881-6889 protocol=tcp passthrought=yes comment='BitTorrent' Add chain= prerouting action=mark-packet new-packet-mark=P2P port=6881-6999 protocol=tcp passthrought=yes Add chain= prerouting action=mark-packet new-packet-mark=P2P port=27763 protocol=tcp passthrought=yes / queue tree Add name= 'QueueVoIP packet-mark=VoIP priority=2 parent=ether2 limit-at=0 disabled=no max-limit=xx Add name=QueueData packet-mark=Data priority=7 parent=ether2 limit-at=xx disabled=no max-limit=xx Add name= QueueP2P packet-mark=P2P priority=7 parent=ether2 disabled=no max-limit=1024k I ouput ether3, eher4 and ether5 of the bridge local and i placed ether2 in master-port with ether3 ether4 and ether5 in slave. I connect my PC to ether5 and ether2 to the WAN. To test if my QoS run, I dowload some files but my dowload going up to 6M/S while i dont't want the flow exceeds 1024k. Where is the problem and can you help me to solve him ? To dowload, I use Vuze with listen port 27763 ( just to see if the QoS run). Sorry if my english isn't godd but i'm french. Thanks a lot !
↧