Hi forum, I was trying to setup ingress shaper, following the official doc in Traffic Policy — VyOS 1.4.x (sagitta) documentation
Here is my conf and my process:
set traffic-policy shaper INGRESS bandwidth '1gbit'
set traffic-policy shaper INGRESS default bandwidth '5mbit'
set traffic-policy shaper INGRESS default burst '15k'
set traffic-policy shaper INGRESS default queue-type 'fair-queue'
set traffic-policy shaper OUTGRESS bandwidth '1gbit'
set traffic-policy shaper OUTGRESS default bandwidth '1mbit'
set traffic-policy shaper OUTGRESS default burst '15k'
set traffic-policy shaper OUTGRESS default queue-type 'fair-queue'
set interfaces ethernet eth1 address '172.16.1.2/24'
set interfaces ethernet eth1 traffic-policy out 'OUTGRESS'
set interfaces input ifb0 traffic-policy out 'INGRESS'
set interfaces ethernet eth0 redirect ifb0
When I commit, It shows me an error:
vyos@vyos# set interfaces ethernet eth1 redirect 'ifb0'
vyos@vyos# commit
[ interfaces ethernet eth1 redirect ifb0 ]
Error: Parent Qdisc doesn't exists.
We have an error talking to the kernel
tc action redirect command failed at /opt/vyatta/sbin/vyatta-qos.pl line 343.
[[interfaces ethernet eth1]] failed
Commit failed
Version: VyOS 1.4-rolling-202102202002
Release Train: sagitta
Does anyone know where I was wrong? Thank you very much !