Page MenuHomeVyOS Platform

Port mirroring to tunnel interface fails during boot
Open, NormalPublicBUG

Description

During boot, interfaces config with port mirroring to a tunnel i, and the config is not applied.

I have only seen this when you mirror to a tunnel interface.

Applies to both 1.3. and 1.4.

vyos@fw# reboot
..
vyos@fw# load /config/config.boot
vyos@fw# compare 
[interfaces ethernet]
+ eth0 {
+     address "10.0.0.1/24"
+     mirror {
+         egress "tun0"
+         ingress "tun0"
+     }
+ }

Config on my test device. Let me know if you need any more.

set interfaces ethernet eth0 address '10.0.0.1/24'
set interfaces ethernet eth0 mirror egress 'tun0'
set interfaces ethernet eth0 mirror ingress 'tun0'
set interfaces ethernet eth1 address '10.0.1.1/24'
set interfaces tunnel tun0 description 'GRE tunnel to IDS'
set interfaces tunnel tun0 encapsulation 'gre'
set interfaces tunnel tun0 remote '10.0.1.10'
set interfaces tunnel tun0 source-address '10.0.1.1'
set interfaces tunnel tun0 source-interface 'eth1'

Details

Difficulty level
Unknown (require assessment)
Version
EPA3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

FYI: The configuration is valid and works. It just fails during boot.

Viacheslav triaged this task as Normal priority.May 24 2024, 7:50 AM