Page 1 of 1

Queue problems

Posted: Tue Feb 15, 2005 3:06 pm
by noir
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.

Posted: Thu Feb 17, 2005 9:20 pm
by andrewluck
Do you have any packets showing against the mangle rules?

Regards

Andrew

Posted: Fri Feb 18, 2005 9:06 am
by noir
Nope, thats what wierd i see traffic in the first set of rules but then nothing in the secound set of rules.

Posted: Fri Feb 18, 2005 11:47 am
by noir
Ok the mangle rules are showing traffic but the queues are only only showing me upload traffic only and no incomming traffic.

Posted: Fri Feb 18, 2005 8:38 pm
by andrewluck
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

Posted: Tue Feb 22, 2005 11:23 am
by noir
ok so how do I mark incomming traffic from specific ports?