/queue simple add name=total target=192.168.88.0/24 max-limit=5M/5M add name=user1 target=192.168.88.254/32 max-limit=5M/5M limit-at=2M/2M parent=total add name=user2 target=192.168.88.253/32 max-limit=5M/5M limit-at=2M/2M parent=total(Assuming the local subnet is 192.168.88.0/24, which is at least the case for some RouterBOARDs; Adjust accordingly if using a different subnet)
You mean the total's max-limit? No. There's no way for RouterOS to "just know" how much speed your ISP provides to you. The max-limit in the "total" queue tells RouterOS "this is how much speed I have from my ISP; divide it between your children".can we make the total and max limit unlimited?
Yes. In fact, for my queues, I have the "total" queue match the local interface... But I avoided it in the example above, as I couldn't remember the default interface name for the local bridge on RouterBOARD, and the board is not with me now.can I refer to interfaces? Not ip addresses. I mean simple queues on eth2-eth3 and wifi interface?
If you mean Winbox's "New Terminal"... Yes. It's in fact equivalent with doing it any other command line kind of way.It is healthy to do it in winbox right? Because command you gave is kind of incomplete.
That's how things worked in RouterOS 5.*, yes. In RouterOS v6, the "interface" drop down (and it's equivalent argument) is removed. Instead, the "target" argument can take the interface name.I found this.. https://www.youtube.com/watch?v=G8Gug78SXlM
Now, I will do just one queue, limit at 2 max limit 5 with no target address and in advanced interface select the all. Will it work?
add name=bridge1queue target=bridge1 max-limit=5M/5Mdoes NOT mean that 192.168.88.254 will get 5M upload and 5M download, and 192.168.88.253 will get another 5M upload and another 5M download, for a total of 10M speed consumption.
Not exactly, since limit-at (and max-limit for that matter) is pointless if your ISP can't deliver the specified speed. And if your ISP is indeed offering a 2 Mbps guaranteed speed, then yes, with that one queue, 2 Mbps will be the speed that all devices share, so 1 Mbps each, if you have two devices, 512 kbps if you have 4, etc.edit: in the end, all of the devices (bridge1 (all eths+wifi)) have the minimum of 2 mbps so in online games pings will be minimum.. am I right?
If there's only one device connected to eth2, and only one device connected to eth3, then it's the exact same thing as above, but with IPs replaced with interface names, so:OK I see now, Im thinking different..
I just need eth2 and eth3 should have at least 2 mbps in all conditions. Whats the ros code for that?
/queue simple add name=total target=bridge1 max-limit=5M/5M add name=user1 target=eth2 max-limit=5M/5M limit-at=2M/2M parent=total add name=user2 target=eth3 max-limit=5M/5M limit-at=2M/2M parent=total(assuming "bridge1" includes eth2, eth3, and perhaps other interfaces)
/queue simple
#name=”Day” target-addresses=192.168.1.5/24 dst-address=0.0.0.0/0
interface=<ether-3> parent=none direction=both priority=1
queue=default-small/default-small limit-at=2M/2M
total-queue=default-small
/queue simple
add name=us1 target=eth1 limit-at=2M/2M
Can I ask how did you calculate minimum bandwidth for lowest latency ?????????......................... Users may play online game so needs lowest latency possible and for this they need at least 2 Mbps bandwidth available....................................
It is a fact that online games need bandwidth for smooth game play. If I start downloading something that will consume all the bandwidth and online game will lag. If I reserve 1-2 Mbps at least for a user, game wont lag even if I start downloading something.Can I ask how did you calculate minimum bandwidth for lowest latency ?????????......................... Users may play online game so needs lowest latency possible and for this they need at least 2 Mbps bandwidth available....................................
Depending on the game being used some only require any speed above dial up and others require 1+Mbps, but this has nothing to do with latency, I would first test the ISP latency and incoming bandwidth during peak usage hours, from the results calculate.
It is a fact that online games need bandwidth for smooth game play. If I start downloading something that will consume all the bandwidth and online game will lag. If I reserve 1-2 Mbps at least for a user, game wont lag even if I start downloading something.
This doesnt need any calculation, just see the requirements of online games they need at least 1 Mbps connection 2 Mbps should be enough for all games.
edit: BF4 can take up 1.5 Mbps sometimes with the latest patch.
pings and bandwidth is 7/24 stable now I have no problem on the ISP side.Depending on the game being used some only require any speed above dial up and others require 1+Mbps, but this has nothing to do with latency, I would first test the ISP latency and incoming bandwidth during peak usage hours, from the results calculate.
It is a fact that online games need bandwidth for smooth game play. If I start downloading something that will consume all the bandwidth and online game will lag. If I reserve 1-2 Mbps at least for a user, game wont lag even if I start downloading something.
This doesnt need any calculation, just see the requirements of online games they need at least 1 Mbps connection 2 Mbps should be enough for all games.
edit: BF4 can take up 1.5 Mbps sometimes with the latest patch.
The term latency refers to any of several kinds of delays typically incurred in processing of network data, for example you could have incoming bandwidth of 10Mbps and downloading a file at 128Kps but latency of several hundreds ms - why?
pings and bandwidth is 7/24 stable now I have no problem on the ISP side.
I have extra lcd to monitor every thing inside the computer, I have seen 250 Kbps minimum on online games max 1.4 Mbps (for a second in bf4), so reserving 2 Mbps would be more efficient for pings.
Why you said this has nothing to do with pings? Yes it has.
I see your point.. but these are some extreme cases which I have never seen in my life.. so in my case that ups the latency is 100% of the time bandwidth consuming. that my goal is to limit-at it 2 mbps for my brother and myself and problem will be gone hopefully.The term latency refers to any of several kinds of delays typically incurred in processing of network data, for example you could have incoming bandwidth of 10Mbps and downloading a file at 128Kps but latency of several hundreds ms - why?
pings and bandwidth is 7/24 stable now I have no problem on the ISP side.
I have extra lcd to monitor every thing inside the computer, I have seen 250 Kbps minimum on online games max 1.4 Mbps (for a second in bf4), so reserving 2 Mbps would be more efficient for pings.
Why you said this has nothing to do with pings? Yes it has.
The router processor was locked up and running at 100% (a reboot will usually solve), so bandwidth only solution will not always give the lowest latency as other factors (MTU matching, router CPU load,..etc.) effect latency?
I would establish where the problem is and if there is a problem with just one connection from the ISP, monitor latency as download bandwidth is increased, no point in wasting time if the issue is due to ISP congestion.
I see your point.. but these are some extreme cases which I have never seen in my life.. so in my case that ups the latency is 100% of the time bandwidth consuming. that my goal is to limit-at it 2 mbps for my brother and myself and problem will be gone hopefully.
edit: OK, for the moment, put all those things at another side, in your opinion what would be the best way to accomplish my goal?
I cant touch the MTU its 1500 default coming from the ISP, not pppoe, dhcp wan. Cant check current router cpu because I do not have routerboard. my connection is on LAN from my cisco x1000 router.I would establish where the problem is and if there is a problem with just one connection from the ISP, monitor latency as download bandwidth is increased, no point in wasting time if the issue is due to ISP congestion.
I see your point.. but these are some extreme cases which I have never seen in my life.. so in my case that ups the latency is 100% of the time bandwidth consuming. that my goal is to limit-at it 2 mbps for my brother and myself and problem will be gone hopefully.
edit: OK, for the moment, put all those things at another side, in your opinion what would be the best way to accomplish my goal?
If ISP OK then match MTU (ping ip size=1480 do-not-fragment) ( i assume its a pppoe connection to isp you have) try other sizes until fragmentation stops, this is your MTU for the router, remove any packages not required (hotspot..etc) on the router from /system package, check router CPU load at max download, then set bandwidth for each connection - is your connection used from router, ether or wireless or both.
Have you added the "Download" and "Upload" columns in Winbox? Or are you saying that you've added them, but they remain at "0 bps" even when you start downloading something?So I have bought the device and configured it really fine.. but simple queue isnt working.. its not showing the traffic.. why is that?
yes 0 bps all the time.. but I havent add the parent total.Have you added the "Download" and "Upload" columns in Winbox? Or are you saying that you've added them, but they remain at "0 bps" even when you start downloading something?So I have bought the device and configured it really fine.. but simple queue isnt working.. its not showing the traffic.. why is that?
Shooting a video (or even making a series of screenshots) is harder than clicking "New Terminal" from Winbox, then right clicking inside the window and clicking "Paste" to paste the required text (above)... You're not asking for an "Extra mile" help... you're asking for "Several extra miles help".yes 0 bps all the time.. but I havent add the parent total.Have you added the "Download" and "Upload" columns in Winbox? Or are you saying that you've added them, but they remain at "0 bps" even when you start downloading something?So I have bought the device and configured it really fine.. but simple queue isnt working.. its not showing the traffic.. why is that?
edit: cam someone demonstrate it in winbox? pleaseee?
did that at the very beginning.. 6.15 latestUpgrade to v6.*.
Go to "System > Packages", click "Check for Upgrades", and click "Download & Upgrade".
Yes. Check the "time" section in Winbox at your parent queue (or at the child, if you only want to adjust a specific host at a particular time, but your ISP's speeds are constant).a little bit advanced question, can the router change dynamically the totals max download limit based on a time schedule?
They run immediately. Sometimes, when you copy&paste, you may end up copy&paste without the last new line. In that event, the last command (only) won't be executed until you press Enter.edit: noob question: when you paste commands in the terminal, does it run immediately? Or need to press Enter?
Uhhh... the code box in this forum can sometimes do that...first I tried to paste your command on simple queues but it was a mess I mean straight one line code, there were no spaces and new lines.. and I think it did nothing because I checked the simple queue and it was empty.
/queue simple
add name=total target=192.168.88.0/24 max-limit=5M/5M
add name=user1 target=192.168.88.254/32 max-limit=5M/5M limit-at=2M/2M parent=total
add name=user2 target=192.168.88.253/32 max-limit=5M/5M limit-at=2M/2M parent=total
/queue simple
add name=total target=bridge1 max-limit=5M/5M
add name=user1 target=eth2 max-limit=5M/5M limit-at=2M/2M parent=total
add name=user2 target=eth3 max-limit=5M/5M limit-at=2M/2M parent=total
/queue simple; add name=total target=192.168.88.0/24 max-limit=5M/5M; add name=user1 target=192.168.88.254/32 max-limit=5M/5M limit-at=2M/2M parent=total; add name=user2 target=192.168.88.253/32 max-limit=5M/5M limit-at=2M/2M parent=total;
/queue simple; add name=total target=bridge1 max-limit=5M/5M; add name=user1 target=eth2 max-limit=5M/5M limit-at=2M/2M parent=total; add name=user2 target=eth3 max-limit=5M/5M limit-at=2M/2M parent=total;When collapsed to a single line, the ";" makes sure to separate the different commands, and RouterOS accepts that as a valid syntax.
You do have the parent queue in there now, right?I added my other devices but they dont get the limit at speed when someone downloads something.. I tried mangles with queue trees as well no luck..
yes its 192.168.1.0/24You do have the parent queue in there now, right?I added my other devices but they dont get the limit at speed when someone downloads something.. I tried mangles with queue trees as well no luck..
Try to change the parent queue to use IPs as well (since perhaps interface matching is indeed buggy)...like perhaps 192.168.88.0/24 to capture the whole subnet under it.
I don't think you can do that from Winbox...how can I reduce the refresh rate (update period of speeds, traffic etc) to 0.5s (500ms)?
Pretty much, yeah, but the results are displayed inside a terminal, as opposed to a graph or a Winbox window.can you be more spesific? Its like a polling period of the traffic graph.
/queue simple print stats interval=0.5s
I would do that but my speed is not fixed.. at nights I get 15 mbps, at day I get 5 mbps... I cant change the speed all the time in the routeros for queue trees (many clicks).. but in simple queues its simple as one click.have you tried pcq
http://wiki.mikrotik.com/wiki/Manual:Qu ... Q_Examples
how to make this others?I would do that but my speed is not fixed.. at nights I get 15 mbps, at day I get 5 mbps... I cant change the speed all the time in the routeros for queue trees (many clicks).. but in simple queues its simple as one click.have you tried pcq
http://wiki.mikrotik.com/wiki/Manual:Qu ... Q_Examples
So I will stick with simple queues for now.
edit: solved it by just creating "others" in the address of 192.168.1.0/24 subnet under the family of LAN (again its 192.168.1.0/24) tested it and works OK!
"others" is just the name. just create the same subnet under the parent. logically, this monitors the left over IPs in that parent (subnet).how to make this others?I would do that but my speed is not fixed.. at nights I get 15 mbps, at day I get 5 mbps... I cant change the speed all the time in the routeros for queue trees (many clicks).. but in simple queues its simple as one click.have you tried pcq
http://wiki.mikrotik.com/wiki/Manual:Qu ... Q_Examples
So I will stick with simple queues for now.
edit: solved it by just creating "others" in the address of 192.168.1.0/24 subnet under the family of LAN (again its 192.168.1.0/24) tested it and works OK!