Community discussions

MikroTik App

Search found 25 matches

by quickgen
Sun Oct 19, 2008 1:32 am
Forum: Scripting
Topic: Netwatch II
Replies: 9
Views: 2926

Re: Netwatch II

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 ...
by quickgen
Thu Oct 16, 2008 1:23 pm
Forum: Scripting
Topic: Netwatch II
Replies: 9
Views: 2926

Re: Netwatch II

1) When you paste script directly in console then put it all in { }.
otherwise first line where local i is defined will be treated as another script.
I didn't know that you have to put the script in { }. Thank you. I will try later.
by quickgen
Thu Oct 16, 2008 1:13 pm
Forum: Scripting
Topic: Netwatch II
Replies: 9
Views: 2926

Re: Netwatch II

mrz, I did test the script from console and it gives me the same errors as in my previous messages.
by quickgen
Wed Oct 15, 2008 7:19 pm
Forum: Scripting
Topic: Netwatch II
Replies: 9
Views: 2926

Re: Netwatch II

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...
by quickgen
Wed Oct 15, 2008 3:49 pm
Forum: Scripting
Topic: Netwatch II
Replies: 9
Views: 2926

Re: Netwatch II

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...
by quickgen
Tue Oct 14, 2008 11:06 pm
Forum: Scripting
Topic: Netwatch II
Replies: 9
Views: 2926

Netwatch II

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...
by quickgen
Sat May 10, 2008 10:19 am
Forum: General
Topic: QoS setup
Replies: 17
Views: 4901

Re: QoS setup

KirillTs no. It is a client ip address.
by quickgen
Thu May 08, 2008 12:47 pm
Forum: General
Topic: Queue Tree and SNMP
Replies: 0
Views: 1962

Queue Tree and SNMP

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...
by quickgen
Sat Apr 26, 2008 5:15 pm
Forum: General
Topic: MK 2.9.42 & 3.7 x86 crashes when I'm use 2 x Intel pro 1Gbit
Replies: 3
Views: 1374

Re: MK 2.9.42 & 3.7 x86 crashes when I'm use 2 x Intel pro 1Gbit

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.
by quickgen
Fri Apr 25, 2008 4:53 pm
Forum: The User Manager
Topic: Overseas and Local Traffic
Replies: 7
Views: 2770

Re: Overseas and Local Traffic

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...
by quickgen
Fri Apr 25, 2008 4:15 pm
Forum: The User Manager
Topic: Overseas and Local Traffic
Replies: 7
Views: 2770

Re: Overseas and Local Traffic

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...
by quickgen
Fri Apr 25, 2008 2:53 pm
Forum: The User Manager
Topic: Overseas and Local Traffic
Replies: 7
Views: 2770

Re: Overseas and Local Traffic

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?
by quickgen
Thu Apr 24, 2008 4:58 pm
Forum: The User Manager
Topic: Overseas and Local Traffic
Replies: 7
Views: 2770

Overseas and Local Traffic

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...
by quickgen
Mon Jan 21, 2008 7:29 pm
Forum: General
Topic: QoS setup
Replies: 17
Views: 4901

Re: QoS setup

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 ...
by quickgen
Mon Jan 21, 2008 7:26 pm
Forum: General
Topic: New Configs
Replies: 0
Views: 657

New Configs

Please delete this topic. My error, sorry. The wrong button.
by quickgen
Thu Jan 17, 2008 4:11 pm
Forum: General
Topic: QoS setup
Replies: 17
Views: 4901

Re: QoS setup

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.
by quickgen
Thu Jan 17, 2008 4:05 pm
Forum: General
Topic: QoS setup
Replies: 17
Views: 4901

QoS setup

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...
by quickgen
Thu Jan 17, 2008 3:38 pm
Forum: General
Topic: QoS setup
Replies: 17
Views: 4901

QoS setup

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...
by quickgen
Fri Nov 02, 2007 3:40 am
Forum: General
Topic: QoS setup
Replies: 17
Views: 4901

Re: QoS setup

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 =)
by quickgen
Thu Sep 27, 2007 5:21 pm
Forum: General
Topic: QoS setup
Replies: 17
Views: 4901

Re: QoS setup

sergejs? Is there any way to combine fixed PCQ-rate with Prioritization as described in my last post?
by quickgen
Tue Sep 25, 2007 4:47 pm
Forum: General
Topic: QoS setup
Replies: 17
Views: 4901

Re: QoS setup

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...
by quickgen
Mon Sep 24, 2007 5:22 pm
Forum: General
Topic: QoS setup
Replies: 17
Views: 4901

Re: QoS setup

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...
by quickgen
Mon Sep 24, 2007 4:11 pm
Forum: General
Topic: QoS setup
Replies: 17
Views: 4901

Re: QoS setup

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...
by quickgen
Mon Sep 24, 2007 1:56 pm
Forum: General
Topic: QoS setup
Replies: 17
Views: 4901

Re: QoS setup

Anybody?
by quickgen
Sat Sep 22, 2007 2:58 pm
Forum: General
Topic: QoS setup
Replies: 17
Views: 4901

QoS setup

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...