Here’s what is happening:
set interfaces dummy dum0 address ‘192.168.201.1/24’
Then this command is added:
vyos@vyos# set interfaces ethernet eth5 vif 1002 redirect ‘dum0’
Then the commit:
vyos@vyos# commit
[ interfaces ethernet eth5 vif 1002 redirect dum0 ]
Cannot find device “eth5.1002”
tc qdisc ingress failed at /opt/vyatta/sbin/vyatta-qos.pl line 334.
[[interfaces ethernet eth5]] failed
Commit failed
[edit]
vyos@vyos#
Try it again:
vyos@vyos# set interfaces ethernet eth5 vif 1002 redirect ‘dum0’
vyos@vyos# commit
[ interfaces ethernet eth5 vif 1002 redirect dum0 ]
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 eth5]] failed
Commit failed
[edit]
vyos@vyos#
And just in case, try it again:
vyos@vyos# set interfaces ethernet eth5 vif 1002 redirect ‘dum0’
vyos@vyos# commit
[ interfaces ethernet eth5 vif 1002 redirect dum0 ]
Error: Exclusivity flag on, cannot modify.
tc qdisc ingress failed at /opt/vyatta/sbin/vyatta-qos.pl line 334.
[[interfaces ethernet eth5]] failed
Commit failed
[edit]
vyos@vyos#
Here’s the version:
vyos@vyos:~$ show version
Version: VyOS 1.4-rolling-202101171022
Release Train: sagitta
Built by: [email protected]
Built on: Sun 17 Jan 2021 10:22 UTC
Build UUID: e658dfe0-d21b-4e94-9a42-d232c1256e6b
Build Commit ID: dc1526e8b26b8e
Architecture: x86_64
Boot via: installed image
System type: KVM guest
Hardware vendor: QEMU
Hardware model: Standard PC (i440FX + PIIX, 1996)
Hardware S/N:
Hardware UUID: 6697630b-6b05-4553-84b0-6a085ca64253
Copyright: VyOS maintainers and contributors
And this works in version:
Version: VyOS 1.1.8
Description: VyOS 1.1.8 (helium)
Copyright: 2017 VyOS maintainers and contributors
Built by: [email protected]
Built on: Sat Nov 11 13:44:36 UTC 2017
Build ID: 1711111344-b483efc
System type: x86 64-bit
Boot via: image
Hypervisor: KVM
HW model: Standard PC (i440FX + PIIX, 1996)
HW S/N: Not Specified
HW UUID: 5BD2C4AC-B105-A347-9DB0-15061856207E
Uptime: 08:08:45 up 4 days, 18:14, 1 user, load average: 0.00, 0.01, 0.05
The configuration:
set interfaces dummy dum0 address ‘192.168.201.1/24’
set interfaces ethernet eth5 vif 1002 description ‘Subscriber-1’
set interfaces ethernet eth5 vif 1002 redirect ‘dum0’
set protocols static interface-route 192.168.201.2/32 next-hop-interface ‘eth5.1002’
Any help would be greatly appreciated.
Robert Peterson