mrz your script is working ok with one more } at the end. So the final script look like: :local i 0; { :do { :set i ($i + 1); } while=(($i < 5) && ([/ping xx.xx.xx.xx interval=3 count=1]=0)) :if ($i=5 && [/ip route get [find comment="Default Route"] distance]=1) do={ :log ...
sorry, script edited. It is working on my router. Sorry to say, but I had tried to paste it with spaces, without spaces...all the ways i could invent :D Nothing! nothing! nothing! :evil: Then I launch it, it's not even pinging the host. I can judge this by looking at the counters of my icmp rule. T...
mrz Thank you, but it just keeps saying: For :set i ($i + 1); this error: expected variable name (line 1 column 6) For :if ($i=5 && [/ip route get [find comment="Default Route"] distance]=1 this error: syntax error (line 1 column 17) Then I just launch the script by pressing Run S...
I was using this script http://wiki.mikrotik.com/wiki/Improved_Netwatch_II for a couple of years without a problem on my 2.9.xx Mikrotik. I had bought a license for Mikrotik 3.x and the same script doesn't work with 3.14 Can somebody adapt it to version 3.14? Without documentation on 3.x scripting h...
Dear all, using MT 3.7. I'm having problems monitoring Queue Tree via SNMP. I'm testing Solarwinds Orion to monitor our routers and switches. Before Orion I tried also PRTG and NetFlow Analyzer, but they share one problem - I can't add custom MIBs to monitor. Orion has the option, but I can't make i...
Never have been any problems with intel cards, both 100M and 1G. Now using 3.7 with 3 Intel 1000MT Cards. Very stable.
RTL 8169 has serious issues with stability on Mikrotik.
sergejs Yes I do, but I'm using PCQ shaper to minimize the cpu load. So I made in Queue Tree only queues to groups of users(per tariff plan). I do not have queues for each customer, because 600 PPPoE Users*4 mangle rules is 2400 Mangle Rules and it will load any cpu to 100% I guess I'll stick to ne...
sergejs i have to show to the customer how much both Local and Overseas traffic he had used. I was analysing the possibility to implement this in UM, using it as a RADIUS server, because I like UM for it's integrity with MT( the combination is very powerfull =) ) . I want to make a stable billing s...
sergejs is there any posibility that this functionality(diferrent traffic types in UM) will be included in the next releases?
I will be able to monitor both queue tree and queue simple?
Hello. I am using User Manager in Mikrotik 3.7 and I have a question. Is there any way to count different types of traffic, in my case Overseas and Local? If not, is there any chance to do it with Mikrotik using any other way(Scripting maybe)? I need to show in UM how much the client consumed Overse...
Titius, This config is very CPU hungry. I have applied http://wiki.mikrotik.com/wiki/Different_limits_for_Local/Overseas_traffic_for_3_bandwitch_rates_using_pcq_and_queue_tree to the client side routers and I can say that it discreased the cpu load from 80-90% to 10-20% on a Pentium4 3.0 GHz , so I ...
If something will be not so clear with this setup - ask questions and I'll be glad to answer them. If you know something about optimizing this setup, please let me know.
Thanks.
This is the configuration of the MT that deals directly with the clients: / ip firewall mangle add chain=forward dst-address=192.168.0.2 src-address-list=!Local-traffic \ action=mark-packet new-packet-mark=192.168.0.2-world-dl passthrough=no \ comment="192.168.0.2" disabled=no add chain=fo...
Titius, sorry for not checking this topic. Here is my configuration for the border router: / ip firewall mangle add chain=forward src-address-list=Local-traffic dst-address-list="Local IpS" \ action=mark-connection new-connection-mark=Local-DL passthrough=yes \ comment="Mark All Local...
Solved traffic priority and queue tree limmiting by using 2 mikrotiks in line. One is just mangling clients and shaping to the correct speed. The other one is doing prioritization. Seems good for 1 month =)
sergejs thank you. I clearly see your point of view, because I have already tested PCQ. But still remains one unsolved question for me. How to combine PCQ with what is described here http://forum.mikrotik.com/viewtopic.php?t=12870 ? This setup was tested by me and it works like a charm. Clients the...
sergejs thanks for fast reply. I will consider your advise. Still my configuration is tricky: 1. I have 2 ISPs, so I can't get use of 'remote'/'local' as interfaces , because I'll need to make rules for each ISP( taking into account Local County/Overseas traffic ) per client. Traffic already gets d...
sergejs , thank you for reply. I have earlier tested PCQ and indeed it does limit client to the rate specified, but with PCQ rate specified in Qtree I can't apply burst for each tcp connection disscused here: http://forum.mikrotik.com/viewtopic.php?t=12870 and it's the only real implementation that...
Dear all, I have 2 ISPs and 300 clients. I am using mangle to separate local and overseas traffic for each client, because we assign different rates for each kind of traffic. So for one client i have in Mangle 4 rules: 1. Download Overseas Traffic 2. Upload Overseas Traffic 3. Download Local Traffic...