Community discussions

MikroTik App

Search found 36 matches

by newtoCS
Tue Aug 24, 2010 5:13 am
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

There you go. Completely untested, might not work at all. Chupaka (or someone else) is hopefully going to pick that apart as there are far more knowledgeable people than me on this board when it comes to this kind of stuff.
Fewi, thanks very much. I am still trying to understand. will get back!
by newtoCS
Thu Aug 19, 2010 2:50 am
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

I think that should work as a general plan, yes.
But I don't understand why I should do it with PCQ queue type? why not a regular HTB queue with default queue type? that's why I think I do not understand what you suggested. will you please explain?
by newtoCS
Wed Aug 18, 2010 11:41 pm
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

Fewi, from your suggestion here is what I think I should do to be able to serve new customers without the need for reconfiguring the routers. would you please check and comment? 1) Decide on several available services (CIR, MIR combinations) for offerring to the customers. 2) for each possible servi...
by newtoCS
Wed Aug 18, 2010 5:13 pm
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

Thanks very much fewi. I'll work on your multiple PCQ implementation idea and post my questions. It would be wonderful if you could provide a draft. I really don't know how I can thank you for that.
by newtoCS
Wed Aug 18, 2010 6:32 am
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

Fewi, I am still thinking about the new users that come to this network. Implementing an HTB queue on each router per customer is not practical since the routers are located at customers homes. The pcq approach that you mentioned in the other post implements equal services for all users while every ...
by newtoCS
Tue Aug 17, 2010 8:45 pm
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

[quote="fewi"]passthrough=yes changes the default behavior of the firewall to stop processing a packet after first match. Normally, each packet is processed against each rule in the set until one matches. Then that action is applied and processing stops in that facility. You need to first ...
by newtoCS
Tue Aug 17, 2010 4:32 pm
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

Cisco, Juniper and Foundry have pretty decent documentation that is freely available. DSCP is a networking standard. The RouterOS manuals usually don't cover too many fundamentals, so read general network books to understand what is possible. After that the RouterOS manual is pretty good about show...
by newtoCS
Mon Aug 16, 2010 10:26 pm
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

You need to set DSCP and packet marks differently. They are unrelated. On router 1, mark the connection and based on the connection mark set DSCP on the packet as well as a packet mark for QoS: /ip firewall mangle add chain=prerouting src-address=192.168.1.2 action=mark-connection new-connection-ma...
by newtoCS
Mon Aug 16, 2010 8:13 pm
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

Chupaka: could you please check my script? I don't know how to mangle the packets with DSCP field. How I should choose the new-packet-mark if my dscp=1 for this user? and if the new-packet-mark will be known to other routers. I have mangled U1 for upload like this: ip firewall mangle> add src-addres...
by newtoCS
Fri Aug 13, 2010 5:28 pm
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

huh... if each of your users is connected to dedicated interface, you can use Traffc Monitor tool to change DSCP value in mangle rule... kind of perversion :D I think this start-up company (I am an intern there) is going to use Static IP addresse and also they are going to use IPSec. The figure I'v...
by newtoCS
Fri Aug 13, 2010 2:38 am
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

But really I don't see why you would need to mark packets that way. Just use DSCP to mark the packets to uniquely identify that they are from U1, then implement the same queues on all routers and mark packets based on DSCP as well. That way R2 can decide all by itself if traffic is above CIR in its...
by newtoCS
Thu Aug 12, 2010 11:06 pm
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

OK, step1) now suppose RB1 wants to mark U1 and U2 packets in the DSCP field right before tranmitting to RB2 such that if U1 or U2 is sending below CIR its packets are marked as 1, and if above CIR it packets are marked as 2 in the DSCP field. step 2) When RB2 recieves packet from U1 and U2, looks i...
by newtoCS
Thu Aug 12, 2010 10:04 pm
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

I guess I was not able to explain what I intend to do.

I read the mangle is valid only within one router. Can I somehow mark the packets such that the packet mark travels with the packet in my network?
by newtoCS
Thu Aug 12, 2010 8:29 pm
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

yep, a bit naive =) color has nothing to do with CIR =) http://forum.mikrotik.com/viewtopic.php?p=198916#p198916 and don't try to send packets to different queues depending on current traffic - it's what HTB was developed for, don't try to prevent it from doing its work =) That color post is very c...
by newtoCS
Thu Aug 12, 2010 3:00 am
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

to satisfy CIR, parent=global-out for all leaves is enough. just create leaf with limit-at=CIR for the customer's traffic and one more leaf for all the rest If I want to do something like this (send all of the aggregate traffic to a separate queue) I won't be able to guarantee my CIRs in case the n...
by newtoCS
Wed Aug 11, 2010 11:19 pm
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

you need QoS mainly for CIR, so you don't need complex hierarchy - use parent=global-out
ok, thanks very much.
by newtoCS
Wed Aug 11, 2010 6:35 pm
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

do I need to attach my customers leaf to an inner parent before the global-out? like the second picture? or they should be directly connected to the global-out? on winbox if I do the latter I can't see any hierarchy. directly. inner parent is necessary if you need to limit summary speed of leaves, ...
by newtoCS
Wed Aug 11, 2010 6:20 pm
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

to satisfy CIR, parent=global-out for all leaves is enough. just create leaf with limit-at=CIR for the customer's traffic and one more leaf for all the rest do I need to attach my customers leaf to an inner parent before the global-out? like the second picture? or they should be directly connected ...
by newtoCS
Wed Aug 11, 2010 6:15 pm
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

Have you read this? http://wiki.mikrotik.com/wiki/Manual:Queue yes I have. It still does not say when and why some inner queues are needed. the HTB examples one the web show many inner queue classes but never show what kind of network they correspond to. inversely, I don't know my network corespond...
by newtoCS
Wed Aug 11, 2010 5:08 pm
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

Re: How to make Queue trees

I need to give each customer some service, so when number of users go up and the links sometimes become overloaded then I have to monitor traffic to each router and drop the non-committed rates if necessary. So I don't know at all how to set up the queue trees. even on RB3 I don't know how to do tha...
by newtoCS
Wed Aug 11, 2010 8:31 am
Forum: General
Topic: PCC Load Balancing + PCQ Throttling?
Replies: 8
Views: 7150

Re: PCC Load Balancing + PCQ Throttling?

Hi guys, would you please reply to my question. I don't know how to make a queue tree. please help,my question must be very simple for you.

http://forum.mikrotik.com/viewtopic.php ... 32#p221932

thanks
by newtoCS
Wed Aug 11, 2010 8:30 am
Forum: General
Topic: CHALLENGE!! (Create a dynamic QOS that deprioritizes)
Replies: 52
Views: 13813

Re: CHALLENGE!! (Create a dynamic QOS that deprioritizes)

Hi guys, would you please reply to my question. I don't know how to make a queue tree. please help,my question must be very simple for you.

http://forum.mikrotik.com/viewtopic.php ... 32#p221932

thanks
by newtoCS
Wed Aug 11, 2010 8:13 am
Forum: General
Topic: How to make Queue trees
Replies: 38
Views: 8517

How to make Queue trees

I really can't find anywhere in the manual has explained how to make a queue tree and what is the role of the inner queues. -I want to implement HTB at each router for each user in this network but the manual is so confusing and incomplete that I do not know what to do. Can anyone please help? - for...
by newtoCS
Mon Jul 26, 2010 7:01 pm
Forum: General
Topic: Where should I implement HTB?
Replies: 13
Views: 3657

Re: Where should I implement HTB?

Fewi, would you please reply? Now I understand that when establishing HTB, I can define the queue type as PCQ. This way by arriving a new connection the routers establish a new queue. However, I don't know how to use DSCP field to notify the intermediate routers about the CIR and MIR. can this be do...
by newtoCS
Sun Jul 25, 2010 5:29 pm
Forum: General
Topic: Where should I implement HTB?
Replies: 13
Views: 3657

Re: Where should I implement HTB?

Thanks Fewi, but PCQ does not prioritize different groups of customers. does it? Let's say some users want variouse Committed information rates and some users want whatever bandwidth that is available, so no commitment for the ISP. I think this requires priority queueing, such as HTB. I cannot find ...
by newtoCS
Sun Jul 25, 2010 5:19 am
Forum: General
Topic: Where should I implement HTB?
Replies: 13
Views: 3657

Re: Where should I implement HTB?

Thanks very much Fewi and rmichael. From your posts it looks like every router along the path should have an HTB queue/leaf for every user whose traffic passes this router. In this case, if a new user with some CIR and MIR enters the network and passes traffic through some of the routers, then how t...
by newtoCS
Sat Jul 24, 2010 5:45 pm
Forum: General
Topic: Where should I implement HTB?
Replies: 13
Views: 3657

Re: Where should I implement HTB?

you should limit bandwidth from the uplink side, not from the downlink. in other words, "first limit, then send", not "transmit huge amount of data congesting your links, then shape just before the client machine" you mean there is no need for HTB queuing? Only we must force use...
by newtoCS
Sat Jul 24, 2010 12:36 pm
Forum: General
Topic: Where should I implement HTB?
Replies: 13
Views: 3657

Re: Where should I implement HTB?

thanks for the post.
by newtoCS
Sat Jul 24, 2010 4:48 am
Forum: Beginner Basics
Topic: Managing an ISP
Replies: 11
Views: 4451

Re: Managing an ISP

Could anyone answer to my post?
http://forum.mikrotik.com/viewtopic.php?f=2&t=43615

Normis, Chupaka, members, staffs, everyone... can you help please???
by newtoCS
Sat Jul 24, 2010 1:04 am
Forum: General
Topic: Where should I implement HTB?
Replies: 13
Views: 3657

Re: Where should I implement HTB?

well, it is not really my network, it is an example I am using to learn something about HTB :). I have niether a network nor money :lol: to pay anyone, please help for free.... :?
by newtoCS
Fri Jul 23, 2010 10:41 pm
Forum: General
Topic: Where should I implement HTB?
Replies: 13
Views: 3657

Where should I implement HTB?

Hi, suppose that I have a network of different users which are connected to an ISP using a wireless enabled technology as shown in attached figure. so every link until ISP is wireless link and each router board not only transmits the traffic of its own direct user, but also forwards some aggregate t...
by newtoCS
Thu Jul 15, 2010 11:22 pm
Forum: Beginner Basics
Topic: RB493 simple Wan-lan setup needed.
Replies: 10
Views: 9922

I need you to help me achieve similar thing with RB450G!pls

Now that your system is running would you be able to help me set up a home network using my RB450G? I only want to connect to my Internet service provided by my comcast cable company. There is a modem connected to the cable and a router that I connect my computers to. I want to remove the router and...
by newtoCS
Thu Jul 15, 2010 6:29 pm
Forum: Beginner Basics
Topic: Home network using RB450G pls HELP!
Replies: 3
Views: 1029

Re: Home network using RB450G pls HELP!

Is there a step by step instruction for setting up a Mikrotik router at home? I am a true dummy and do not know anything.
by newtoCS
Thu Jul 15, 2010 9:07 am
Forum: Beginner Basics
Topic: Home network using RB450G pls HELP!
Replies: 3
Views: 1029

Home network using RB450G pls HELP!

Hi, I want to connect my 2 computers to the internet using RB450G. Is there any manual how to set it up and what to do with the IP addresses of my PCs? I simply connected the RB450G ether1 to my Modem, and the two PCs to the RB450G ether2 and ether3, but cannot connect to the Internet. Please let me...
by newtoCS
Wed Jul 14, 2010 11:20 pm
Forum: Beginner Basics
Topic: How to start?
Replies: 1
Views: 721

How to start?

So I have a bunch of questions that none of you newbies have ==> I am newer than any one else. :D here is the test I want to perform: I have a Routerboard 450G and I want to configure it so that my two laptops are connected to it, then I want to give laptop1 maximum bandwidth of 1MBps and the second...