OPNsense Forum

English Forums => General Discussion => Topic started by: lionelfontaine on January 29, 2020, 05:21:13 pm

Title: SOLVED - Setup Qos Priority for TOIP with DSCP=46 (EF)
Post by: lionelfontaine on January 29, 2020, 05:21:13 pm
Hi,

I have deployed opnsense's routers on each of my agencies.

Each router is configured with 3 lans (I, L, T), and 1 wan (W).

My 3 lans are set with gigabits interface.

I send and receive, from toip's application or toip's phone, all packets with DSCP equal to 46.

I want to setup opnsense to priorize packets with DSCP equal to 46, and apply best effort to others.

Despite careful  reading of the shaper's documentation, i don't understand how i must operate.

Can you, help me on this subject?

Best regards

Title: Re: Setup Qos Priority for TOIP with DSCP=46 (EF)
Post by: mimugmail on January 29, 2020, 07:16:40 pm
2 Pipes for Up and Down, scheduler FQ_Codel, 4 Queues, 2 each directions, one weight 10, one weight 100, 4 rules, 2 with match on dscp 46 and linked to queue with 100 and correct direction
Title: Re: Setup Qos Priority for TOIP with DSCP=46 (EF)
Post by: lionelfontaine on January 30, 2020, 03:44:30 pm
Hi,

thanks for your answer.

I would need clarification:

- i create 2 pipes from 1000Mbs -> Upload / Download, with each pipes set only with scheduler FQ_CODEL, and all other options by default?

- to the queue, i set only weigth, no other option?

- to the rules, i need to Apply only on one interface?

I realize that I did not mention that I was not using the wan interface to pass packets

Best regards
Title: Re: Setup Qos Priority for TOIP with DSCP=46 (EF)
Post by: mimugmail on January 30, 2020, 04:20:57 pm
1. all other by default, yes
2. only weight and link to pipe
3. hit advanced, only first interface, direction in and depending on interface it's down or up
Title: Re: Setup Qos Priority for TOIP with DSCP=46 (EF)
Post by: lionelfontaine on January 30, 2020, 04:45:41 pm
Fast and precise! It's wonderfull.

Are you sure about  scheduler FQ_CODEL? I thought I understood that the queues only work with weigthed fair queueing.

Just to be sure, there is no bandwidth constraint? Only a promotion of the HQ?

Anyway, big big thank you!
Title: Re: Setup Qos Priority for TOIP with DSCP=46 (EF)
Post by: mimugmail on January 30, 2020, 05:36:53 pm
Yeah, I thought that too, but QFQ also supports Queues so this should be good to go.
Title: Re: Setup Qos Priority for TOIP with DSCP=46 (EF)
Post by: lionelfontaine on January 30, 2020, 05:59:29 pm
I have tested and all seems ok ^^

Next, during the real production.

Thanks Again.

 8)