Page MenuHomeVyOS Platform

vyos/ifconfig/section.py does not work with enx ethernet interface names
Closed, WontfixPublicBUG

Description

Curently the classmethod _basename fails to the proper name for enx interfaces. Tested on 2026.03 and 1.5.0 LTS generic iso.

This results in some functionality not working, but the simplest method to confirm is the command show interfaces

Expected result:

$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address       MAC                VRF        MTU  S/L    Description
---------------  ---------------  -----------------  -------  -----  -----  -------------
enxfa163ec247e9  172.24.0.1/29    fa:16:3e:c2:47:e9  default   1500  u/u
lo               127.0.0.1/8      00:00:00:00:00:00  default  65536  u/u
                 ::1/128

Actual result:

$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address       MAC                VRF        MTU  S/L    Description
---------------  ---------------  -----------------  -------  -----  -----  -------------
lo               127.0.0.1/8      00:00:00:00:00:00  default  65536  u/u
                 ::1/128

My interface config:

interfaces {
    ethernet enxfa163ec247e9 {
        address 172.24.0.1/29
        hw-id fa:16:3e:c2:47:e9
        mtu 1500
    }
}

Details

Version
1.5.0
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

SiimS_ created this object in space S1 VyOS Public.
SiimS_ added a project: Bugs.
Viacheslav claimed this task.