Page MenuHomeVyOS Platform

QOS- inbound shapper attached on VLANs not working.
Resolved (N/A)PublicBUG

Description

based an bug reported on reddit , i'll create another bug report to track it .

https://www.reddit.com/r/vyos/comments/1454kv7/rolling_release_input_interface_qos_not_working/

#full configuration 

set interfaces ethernet eth0 vif 11 address 'xxx.xxx.1.2/24'

admin@gw01# set interfaces input ifb0 description 'WAN Ingress'
admin@gw01# set qos policy shaper DOWNLOAD-WAN bandwidth '100mbit'
admin@gw01# set qos policy shaper DOWNLOAD-WAN default bandwidth '100%'
admin@gw01# set qos policy shaper DOWNLOAD-WAN default burst '15k'
admin@gw01# set qos policy shaper DOWNLOAD-WAN default codel-quantum '300'
admin@gw01# set qos policy shaper DOWNLOAD-WAN default queue-limit '2400'
admin@gw01# set qos policy shaper DOWNLOAD-WAN default queue-type 'fq-codel'
admin@gw01# set qos interface ifb0 egress 'DOWNLOAD-WAN'
admin@gw01# set interfaces ethernet eth0 vif 11 redirect ifb0
admin@gw01# commit
tc qdisc add for redirect failed!

Details

Difficulty level
Unknown (require assessment)
Version
1.4-rolling-202306010317
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

syncer triaged this task as Normal priority.Jun 14 2023, 12:27 AM

Don't see errors with this configuration:

set interfaces ethernet eth1 vif 11 address '192.0.2.2/24'
set interfaces input ifb0 description 'WAN Ingress'

set qos policy shaper DOWNLOAD-WAN bandwidth '100mbit'
set qos policy shaper DOWNLOAD-WAN default bandwidth '100%'
set qos policy shaper DOWNLOAD-WAN default burst '15k'
set qos policy shaper DOWNLOAD-WAN default codel-quantum '300'
set qos policy shaper DOWNLOAD-WAN default queue-limit '2400'
set qos policy shaper DOWNLOAD-WAN default queue-type 'fq-codel'

set qos interface ifb0 egress 'DOWNLOAD-WAN'
set interfaces ethernet eth1 vif 11 redirect ifb0
commit


vyos@r14# commit
[edit]
vyos@r14#

VyOS 1.4-rolling-202306130317

you are right , I seems to be working :

vyos@vyos# run show configuration commands | match "qos|eth1"
set interfaces ethernet eth1 hw-id '50:00:00:02:00:01'
set interfaces ethernet eth1 vif 11 address '10.10.1.2/24'
set interfaces ethernet eth1 vif 11 redirect 'ifb0'
set qos interface eth0 egress 'VyOS-HTB'
set qos interface ifb0 egress 'DOWNLOAD-WAN'
set qos policy shaper DOWNLOAD-WAN bandwidth '100mbit'
set qos policy shaper DOWNLOAD-WAN default bandwidth '100%'
set qos policy shaper DOWNLOAD-WAN default burst '15k'
set qos policy shaper DOWNLOAD-WAN default codel-quantum '300'
set qos policy shaper DOWNLOAD-WAN default queue-limit '2400'
set qos policy shaper DOWNLOAD-WAN default queue-type 'fq-codel'
Viacheslav changed the task status from Open to Needs testing.Jun 22 2023, 1:38 PM