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.