FYI I found this here Manual-Queue <http://wiki.mikrotik.com/wiki/Manual:Queue> "It is necessary to mark packets before the simple queues (before *global-in* HTB queue) or else target's download limitation will not work. The only mangle chain before *global-in* is *prerouting*." On 24 February 2015 at 08:19, Paul Julian <paul@oxygennetworks.com.au> wrote:
Yep, tried using pre-routing chain as well.....that's where I usually do all marking, tried pre-routing and forwarding just in case, I am thinking it must be something to do with the source MAC setting, it works fine in Queue tree, just not with simple queues, I can only ever get it to match traffic only one way.
Paul
-----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Denis Hancock Sent: Tuesday, 24 February 2015 8:07 AM To: MikroTik Australia Public List Subject: Re: [MT-AU Public] Simple queues by MAC
OK I think in this case the Packet Marking will only apply in Pre Routing, needs to be before the Simple Queue (in the routing engine).
On 24 February 2015 at 08:01, Paul Julian <paul@oxygennetworks.com.au> wrote:
No, it won't match then, I just set for 100M to test.
Regards Paul
-----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Denis Hancock Sent: Tuesday, 24 February 2015 7:59 AM To: MikroTik Australia Public List Subject: Re: [MT-AU Public] Simple queues by MAC
With the Simple Queues I assume that you are not using "Unlimited" for the Max Limits ?
On 24 February 2015 at 07:56, Paul Julian <paul@oxygennetworks.com.au> wrote:
Hi Dennis, yeh that's the problem, I won't know the IP so need to use the MAC, I have it working fine with queue tree and it does what I need, I just don't know why it doesn't work with simple queues....
Regards Paul
-----Original Message----- From: Public [mailto:public-bounces@talk.mikrotik.com.au] On Behalf Of Denis Hancock Sent: Tuesday, 24 February 2015 7:50 AM To: MikroTik Australia Public List Subject: Re: [MT-AU Public] Simple queues by MAC
Hi Paul
Might need some more information, I assume these MAC addresses have an IP address that changes ?
If so and if you are using DHCP, it's possible to add those addresses to an Address List when the Lease is offered. (the rest is simple as you say)
Am I barking up the wrong tree with your problem ?
D
On 23 February 2015 at 21:51, Paul Julian <paul@oxygennetworks.com.au> wrote:
Hi guys, I am working on a little project at the moment which requires queuing traffic based on MAC address. I want to be able to queue traffic upload and download using one simple queue, simple enough right.....I can do this with my eyes shut with an IP address by just setting the target IP in the simple queue but obviously that's no good in this situation.
The problem is no matter what I do I get download matching but not upload.
I have setup the usual connection mark and packet mark queues and told the connection mark queue to use a source MAC address to identify the traffic, I have tried the prerouting chain and forward chain.
Example: chain=forward action=mark-connection new-connection-mark=MAC-con passthrough=yes src-mac-address=MAC chain=forward action=mark-packet new-packet-mark=MAC passthrough=no connection-mark=MAC-con
name="queue" target="" parent=none packet-marks=MAC priority=8/8 queue=default/default limit-at=100M/100M max-limit=100M/100M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=default
The way it needs to work is that upload traffic will be heading out the PPPOE interface to the net and download traffic will be going into a bridge which has 4 ethernet ports in it, then out to the PC.
I really don't want to do it in queue tree as I want to keep it as simple as possible so either I am missing something stupidly obvious here or something is broken.
Any Suggestions please ??
Thanks Paul _______________________________________________ Public mailing list Public@talk.mikrotik.com.au
http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.
au
--
Best Regards
Denis Hancock | Network Support | 1300 139 593 Skype denis.hancock.melbourne | http://www.samurai.com.au _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com. au
_______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com. au
--
Best Regards
Denis Hancock | Network Support | 1300 139 593 Skype denis.hancock.melbourne | http://www.samurai.com.au _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com. au
_______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com. au
--
Best Regards
Denis Hancock | Network Support | 1300 139 593 Skype denis.hancock.melbourne | http://www.samurai.com.au _______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.au
_______________________________________________ Public mailing list Public@talk.mikrotik.com.au http://talk.mikrotik.com.au/mailman/listinfo/public_talk.mikrotik.com.au
-- Best Regards Denis Hancock | Network Support | 1300 139 593 Skype denis.hancock.melbourne | http://www.samurai.com.au