OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: abbas on August 02, 2017, 03:38:19 pm

Title: Traffic shaper is not wroking for my 8/1 line
Post by: abbas on August 02, 2017, 03:38:19 pm
I am trying here to configure traffic shaping for my 8/1 line.

I tried to test out simple rule to make sure it is working. I have put one pc in a queue with weight 1 and everyone else in a queue with weight 100. However this pc can download with a 1 Mb/s speed and any pc else download at around the same speed up to 3 Mb/s. Is this normal? and how should I configure it then if I want to put few PCs at higher priority than anyone else?


Pipe 1 :
bandwidth : 5300 Kbits
mask: destination
Scheduler type: FlowQueue-Codel
Enable CoDel: checked

queue 1:
pipe: pipe 1
weight: 1
mask: source

queue 100:
pipe: pipe 1
weight: 100
mask: source

rule 1:
seq: 11
interface: lan
dest: 192.168.103.10
target: qeue 100

rule 2:
seq: 21
interface: lan
dest: 192.168.103.10
invert destination: checked
target: queue 1



note: when I look at status I see this:
Limiters:


Limiters:
10000:   5.300 Mbit/s    0 ms burst 0
q75536  50 sl. 0 flows (1 buckets) sched 10000 weight 0 lmax 0 pri 0 droptail
 sched 75536 type FIFO flags 0x1 256 buckets 0 active
    mask:  0x00 0x00000000/0x0000 -> 0xffffffff/0x0000
10001: 650.000 Kbit/s    0 ms burst 0
q75537  50 sl. 0 flows (1 buckets) sched 10001 weight 0 lmax 0 pri 0 droptail
 sched 75537 type FIFO flags 0x1 256 buckets 0 active
    mask:  0x00 0x00000000/0x0000 -> 0xffffffff/0x0000


Queues:
q10000  50 sl. 0 flows (1 buckets) sched 10000 weight 1 lmax 0 pri 0 droptail
q10001  50 sl. 0 flows (1 buckets) sched 10000 weight 100 lmax 0 pri 0 droptail