Page MenuHomeVyOS Platform

VRRP virtual interfaces are not shown in show interfaces
Closed, ResolvedPublicBUG

Description

If you configure a VRRP group in RFC-compatible mode, the virtual interface and its address will not be shown anywhere, and you cannot view them other than with iproute2 commands by hand.

dmbaturin@reki# show high-availability 
 vrrp {
     group Test {
         interface eth1.10
         rfc3768-compatibility
         virtual-address 10.91.17.254/24
         vrid 120
     }
 }
[edit]
dmbaturin@reki# run show vrrp 
Name    Interface      VRID  State      Priority  Last Transition
------  -----------  ------  -------  ----------  -----------------
Test    eth1.10v120     120  MASTER          100  2m22s
[edit]
dmbaturin@reki# run show interfaces 
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
dum0             10.123.124.1/24                   u/u  
eth0             -                                 u/D  
eth1             10.91.19.1/24                     u/u  
                 10.91.18.1/24                          
eth1.10          10.91.17.1/24                     u/u  
eth2             -                                 u/D  
eth3             31.211.101.35/24                  u/u  
lo               127.0.0.1/8                       u/u  
                 ::1/128                                
vtun1            10.217.34.2/32                    u/u  
wlan0            -                                 u/D  
[edit]

dmbaturin@reki# ip link list | grep eth1.10
9: eth1.10@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
11: eth1.10v120@eth1.10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
[edit]

dmbaturin@reki# ip address show  eth1.10v120
11: eth1.10v120@eth1.10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:00:5e:00:01:78 brd ff:ff:ff:ff:ff:ff
    inet 10.91.17.254/24 scope global eth1.10v120
       valid_lft forever preferred_lft forever

Details

Difficulty level
Easy (less than an hour)
Version
1.3.0-rc6
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

cpo@LR1.wue3:~$ show interfaces vrrp
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth1v10          10.1.1.1/24                       u/u

only the brief interface view lacks this information

Works in 1.2.8

Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
dum0             172.18.254.203/32                 u/u
eth0             -                                 u/u
eth0.203         172.18.203.10/24                  u/u
eth1             192.168.2.1/24                    u/u
                 10.1.1.2/24
eth1v10          10.1.1.1/24                       u/u
lo               127.0.0.1/8                       u/u
                 ::1/128
c-po changed the task status from Open to Confirmed.Aug 24 2021, 2:29 PM
c-po added a project: VyOS 1.4 Sagitta.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.