here is brief configuration that does not work in 1.3-rolling-202101 snapshot
interfaces {
hw-id XX:XX:XX:XX:XX:20
vif 60 {
address xxx.xxx.83.221/26
description INET-DMZ
disable
}
vif 408 {
address xxx.xxx.8.82/30
description BEELINE-INET-BGP
firewall {
local {
name IN
}
}
redirect ifb408
traffic-policy {
out INET-HTB-SHAPER
}
}
vif 1099 {
address xxx.xxx.97.61/24
description Mgmt
vrf Mgmt-vrf
}
input ifb408 {
traffic-policy {
out INET-HTB-SHAPER
}}
- input traffic does not redirected to desired ifb interface. /opt/vyatta/sbin/vyatta-qos.pl terminates with error at line 344.
- as a consequence vlans at eth0 do not initialized during boot.
i tried to reproduce commands manually
zotov@ttylog:~$ sudo tc qdisc del dev eth0 ingress
zotov@ttylog:~$ sudo /sbin/tc qdisc add dev $dev handle fffe: ingress
zotov@ttylog:~$ /sbin/tc filter add dev $dev parent fffe: protocol all prio 10 u32 match u32 0 0 flowid 1:1 action mirred egress redirect dev ifb0
Error: Parent Qdisc doesn't exists.
We have an error talking to the kernel, -1
changing fffe to ffff in vyatta-qps.pl eliminated the problem.