galaxy 3 Posted 2011-03-11 08:09:42 Share Posted 2011-03-11 08:09:42 Доброго времени! Решил переделать нарезку скорости клиентам, перейти с simple queues на queue tree Разделил клиентов на подсети по скоростям, завел Address List Создал правила маркирования соединений и пакетов: /ip firewall mangle add action=mark-connection chain=forward comment="mark client traffic TP-1M" disabled=no new-connection-mark=TP_1M_conn passthrough=yes src-address-list=TP-1M add action=mark-packet chain=forward connection-mark=TP_1M_conn disabled=no new-packet-mark=TP_1M_traffic passthrough=no add action=mark-connection chain=forward comment="mark client traffic TP-256k" disabled=no new-connection-mark=TP_256k_conn passthrough=yes src-address-list=\ TP-256k add action=mark-packet chain=forward connection-mark=TP_256k_conn disabled=no new-packet-mark=TP_256k_traffic passthrough=no add action=mark-connection chain=forward comment="mark client traffic TP-2M" disabled=no new-connection-mark=TP_2M_conn passthrough=yes src-address-list=TP-2M add action=mark-packet chain=forward connection-mark=TP_2M_conn disabled=no new-packet-mark=TP_2M_traffic passthrough=no add action=mark-connection chain=forward comment="mark client traffic TP-4M" disabled=no new-connection-mark=TP_4M_conn passthrough=yes src-address-list=TP-4M add action=mark-packet chain=forward connection-mark=TP_4M_conn disabled=no new-packet-mark=TP_4M_traffic passthrough=no add action=mark-connection chain=forward comment="mark client traffic TP-512k" disabled=no new-connection-mark=TP_512k_conn passthrough=yes src-address-list=\ TP-512k add action=mark-packet chain=forward connection-mark=TP_512k_conn disabled=no new-packet-mark=TP_512k_traffic passthrough=yes add action=mark-connection chain=forward comment="mark client traffic TP-vlasni" disabled=no new-connection-mark=TP_vlasni_conn passthrough=yes src-address-list=\ TP-vlasni add action=mark-packet chain=forward connection-mark=TP_vlasni_conn disabled=no new-packet-mark=TP_vlasni_traffic passthrough=no Создал типы: /queue type add kind=pcq name=PCQ_down_256k pcq-classifier=dst-address \ pcq-limit=50 pcq-rate=256k pcq-total-limit=2000 add kind=pcq name=PCQ_up_256k pcq-classifier=src-address \ pcq-limit=50 pcq-rate=256k pcq-total-limit=2000 add kind=pcq name=PCQ_up_512k pcq-classifier=src-address \ pcq-limit=50 pcq-rate=512k pcq-total-limit=2000 add kind=pcq name=PCQ_down_512k pcq-classifier=dst-address \ pcq-limit=50 pcq-rate=512k pcq-total-limit=2000 add kind=pcq name=PCQ_down_1M pcq-classifier=dst-address \ pcq-limit=5k pcq-rate=1024k pcq-total-limit=2000000 add kind=pcq name=PCQ_up_1M pcq-classifier=src-address \ pcq-limit=50 pcq-rate=1024k pcq-total-limit=2000 add kind=pcq name=PCQ_down_2M pcq-classifier=dst-address \ pcq-limit=50 pcq-rate=2048k pcq-total-limit=2000 add kind=pcq name=PCQ_up_2M pcq-classifier=src-address \ pcq-limit=50 pcq-rate=2048k pcq-total-limit=2000 add kind=pcq name=PCQ_down_4M pcq-classifier=dst-address \ pcq-limit=50 pcq-rate=4096k pcq-total-limit=2000 add kind=pcq name=PCQ_up_4M pcq-classifier=src-address \ pcq-limit=50 pcq-rate=4096k pcq-total-limit=2000 add kind=pcq name=PCQ_down_vlasni pcq-classifier=dst-address \ pcq-limit=50 pcq-rate=0 pcq-total-limit=2000 add kind=pcq name=PCQ_up_vlasni pcq-classifier=src-address \ pcq-limit=50 pcq-rate=0 pcq-total-limit=2000 И после всего содал дерево: /queue tree add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=Total_download parent=global-in priority=1 add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=1024k name=TP_1M_download packet-mark=TP_1M_traffic parent=Total_download \ priority=8 queue=PCQ_down_1M add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=256k name=TP_256k_download packet-mark=TP_256k_traffic parent=Total_download \ priority=8 queue=PCQ_down_256k add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=2048k name=TP_2M_download packet-mark=TP_2M_traffic parent=Total_download \ priority=8 queue=PCQ_down_2M add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=4096k name=TP_4M_download packet-mark=TP_4M_traffic parent=Total_download \ priority=8 queue=PCQ_down_4M add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=TP_vlasni_download packet-mark=TP_vlasni_traffic parent=Total_download \ priority=8 queue=PCQ_down_vlasni add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=512k name=TP_512k_download packet-mark=TP_512k_traffic parent=Total_download \ priority=8 queue=PCQ_down_512k add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=Total_upload parent=global-out priority=8 add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=1024k name=TP_1M_upload packet-mark=TP_1M_traffic parent=Total_upload priority=\ 8 queue=PCQ_up_1M add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=256k name=TP_256k_upload packet-mark=TP_256k_traffic parent=Total_upload \ priority=8 queue=PCQ_up_256k add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=2048k name=TP_2M_upload packet-mark=TP_2M_traffic parent=Total_upload priority=\ 8 queue=PCQ_up_2M add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=4096k name=TP_4M_upload packet-mark=TP_4M_traffic parent=Total_upload priority=\ 8 queue=PCQ_up_4M add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=512k name=TP_512k_upload packet-mark=TP_512k_traffic parent=Total_upload \ priority=8 queue=PCQ_up_512k add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=TP_vlasni_upload packet-mark=TP_vlasni_traffic parent=Total_upload \ priority=8 queue=PCQ_up_vlasni И после всего этого несколько клиентов выгребают весь свободный канал. Может кто подскажет где наступил на грабли ? Link to post Share on other sites
spaul 69 Posted 2011-03-11 10:49:58 Share Posted 2011-03-11 10:49:58 add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=Total_download parent=global-in priority=1 Parent и на даунлоад и на аплоад должен быть Global-out. Link to post Share on other sites
galaxy 3 Posted 2011-03-11 13:00:43 Author Share Posted 2011-03-11 13:00:43 Попробовал и global-in и global-out непомогает Несколько человек опять вігребают канал под потолок Что самое прикольное что на двух других серверах работает , версии РОС одинаковы, правила перезаливал с одного файла, вот в чем облом Link to post Share on other sites
misnik 0 Posted 2011-03-11 18:32:52 Share Posted 2011-03-11 18:32:52 Помогите настроить mikrotik rb 750?????? Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now