syscom Posted May 20, 2011 Report Share Posted May 20, 2011 Как мога да огранича дадено queues за определено време? Примерно във всеки вторник от 14:00 до 16:00 IP 192.168.1.100 да не може да влиза в интернет или queues да е с ограничение 1к. Link to comment Share on other sites More sharing options...
0 Balthazar Posted May 21, 2011 Report Share Posted May 21, 2011 Като за начало можеш да се научиш как да ползваш Търсачката на форума има най-малко 4-5 теми по твоя въпрос Link to comment Share on other sites More sharing options...
0 syscom Posted May 21, 2011 Author Report Share Posted May 21, 2011 Е кажи как да ползвам търсачката? Link to comment Share on other sites More sharing options...
0 Mupo neTkoB Posted May 21, 2011 Report Share Posted May 21, 2011 http://wiki.mikrotik.com/wiki/Limit_Different_Bandwidth_In_Day_and_Night Теория - това е когато знаете всичко, но нищо не работи Практика - това е когато всичко работи, но не знаете защо При нас съчетаваме теорията с практиката - НИЩО не работи и нямаме понятие защо!!! Link to comment Share on other sites More sharing options...
0 danielskiii Posted May 21, 2011 Report Share Posted May 21, 2011 хубаво ама не се отваря целия сайт на мт е down Link to comment Share on other sites More sharing options...
0 Mupo neTkoB Posted May 21, 2011 Report Share Posted May 21, 2011 Limit Different Bandwidth In Day and Night From MikroTik Wiki Jump to: navigation, search Limit Different Bandwidth In Day and Night. There are lot many ways to limit bandwidth for day and Night, but personally I found this is the easiest way, Here it is. I have used Simple Queue, Script and Scheduler. Suppose we have one network 192.168.1.0/24 and want to limit Bandwidth for day and Night Time. [pre]Network 192.168.1.0/24 Bandwidth = 06:00am – 18:00pm – 1Mbps. <Max-Limit> Bandwidth = 18:00pm – 06:00am – 2Mbps. <Max-Limit>[/pre] Create two simple queues for the same network with different Bandwidth Limit. [pre]/queue simple #name=”Day” target-addresses=192.168.1.0/24 dst-address=0.0.0.0/0 interface=<ether-x> parent=none direction=both priority=8 queue=default-small/default-small limit-at=512k/512k max-limit=1M/1M total-queue=default-small #name=”Night” target-addresses=192.168.1.0/24 dst-address=0.0.0.0/0 interface=<ether-x> parent=none direction=both priority=8 queue=default-small/default-small limit-at=1M/1M max-limit=2M/2M total-queue=default-small[/pre] Now, write scripts [pre]/system script #name=”Day” source=/queue simple enable Day; /queue simple disable Night #name=”Night” source=/queue simple enable Night; /queue simple disable Day[/pre] Finally, Schedule it [pre]/system scheduler #name=”Day” on-event=Day policy=read,write start-date=oct/13/2007 start-time=06:00:00 interval=1d #name=”Night” on-event=Night policy=read,write start-date=oct/13/2007 start-time=18:00:00 interval=1d[/pre] Теория - това е когато знаете всичко, но нищо не работи Практика - това е когато всичко работи, но не знаете защо При нас съчетаваме теорията с практиката - НИЩО не работи и нямаме понятие защо!!! Link to comment Share on other sites More sharing options...
0 syscom Posted May 21, 2011 Author Report Share Posted May 21, 2011 Благодаря за отговора. Link to comment Share on other sites More sharing options...
Question
syscom
Как мога да огранича дадено queues за определено време?
Примерно във всеки вторник от 14:00 до 16:00 IP 192.168.1.100 да не може да влиза в интернет или queues да е с ограничение 1к.
Link to comment
Share on other sites
6 answers to this question
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