Community discussions

MikroTik App
 
noir
newbie
Topic Author
Posts: 31
Joined: Wed Dec 15, 2004 8:43 am
Location: South Africa

Queue problems

Tue Feb 15, 2005 3:06 pm

I have been struggling for the last week to get these queses to work.

I got a simulated network running in the office, to see if the new queue system works before intergrating it into the main wireless network.

I got pppoe user sitting on interface ecclan and the connection to the internet is on the interface internet.
Internet ip address is 192.168.1.2
and the pppoe addresses are in the 192.168.4.0/24 ip range.

What we are trying to do is to give our clients more bandwidth for their email.

Ok what I have done so far is:

to bridge the two interfaces to allow a connection
scr-nat: src-address=192.168.4.0/24 out-interface=internet
action=masquerade

and now the mangle rules are
0 src-address=192.168.4.0/24 in-interface=ecclan dst-address=192.168.1.0/24:80 protocol=tcp tcp-options=syn-only
action=passthrough mark-connection=serverhttp

1 src-address=192.168.4.0/24 in-interface=ecclan dst-address=192.168.1.0/24:!80 protocol=tcp tcp-options=syn-only
action=passthrough mark-connection=serverother

2 connection=serverhttp action=accept mark-flow=http mark-connection=serverhttp

3 connection=serverother action=accept mark-flow=other mark-connection=serverother

and the queue is as follows

name="httpup" parent=toserver flow=http limit-at=131000 queue=default priority=8 max-limit=512000 burst-limit=0
burst-threshold=0 burst-time=0

1 name="httpdown" parent=ecclan flow=http limit-at=131000 queue=default priority=8 max-limit=512000 burst-limit=0
burst-threshold=0 burst-time=0

2 name="otherup" parent=toserver flow=other limit-at=256000 queue=default priority=8 max-limit=256000 burst-limit=0
burst-threshold=0 burst-time=0

3 name="otherdown" parent=ecclan flow=other limit-at=256000 queue=default priority=8 max-limit=256000 burst-limit=0
burst-threshold=0 burst-time=0

what am i doing wrong, there is traffic but notting going through the queue.
 
User avatar
andrewluck
Forum Veteran
Forum Veteran
Posts: 700
Joined: Fri May 28, 2004 9:05 pm
Location: Norfolk, UK

Thu Feb 17, 2005 9:20 pm

Do you have any packets showing against the mangle rules?

Regards

Andrew
 
noir
newbie
Topic Author
Posts: 31
Joined: Wed Dec 15, 2004 8:43 am
Location: South Africa

Fri Feb 18, 2005 9:06 am

Nope, thats what wierd i see traffic in the first set of rules but then nothing in the secound set of rules.
 
noir
newbie
Topic Author
Posts: 31
Joined: Wed Dec 15, 2004 8:43 am
Location: South Africa

Fri Feb 18, 2005 11:47 am

Ok the mangle rules are showing traffic but the queues are only only showing me upload traffic only and no incomming traffic.
 
User avatar
andrewluck
Forum Veteran
Forum Veteran
Posts: 700
Joined: Fri May 28, 2004 9:05 pm
Location: Norfolk, UK

Fri Feb 18, 2005 8:38 pm

It looks to me as if you're only marking outgoing traffic, e.g.

0 src-address=192.168.4.0/24 in-interface=ecclan dst-address=192.168.1.0/24:80

with no corresponding rule for incoming traffic.

Regards

Andrew
 
noir
newbie
Topic Author
Posts: 31
Joined: Wed Dec 15, 2004 8:43 am
Location: South Africa

Tue Feb 22, 2005 11:23 am

ok so how do I mark incomming traffic from specific ports?

Who is online

Users browsing this forum: jaclaz, seriosha and 57 guests