As my local internet provider has regular outages, I wanted to add mobile broadband as fallback to my VyOS machine. For this I used a USB LTE modem.
The modem is detected properly as an Ethernet device and can be configured successfully. But as soon as the board reboots, the interfaces are renamed.
I can see the following in the kernel log:
[ 1.616096] r8169 0000:03:00.0 e3: renamed from eth1 [ 1.631929] r8169 0000:02:00.0 e2: renamed from eth0 [ 28.575966] r8169 0000:03:00.0 eth1: renamed from e3 [ 28.589961] cdc_ether 1-1:1.0 eth2: renamed from eth0
All interfaces in the form of e[0-9]+ are not shown in the output of show interfaces.
They also cannot be configured. For example if I try to set the address of the interface via set interfaces ethernet e2 address 10.0.0.0/24, then i get the following error message:
Invalid Ethernet interface name Value validation failed Set failed
I think this is because the regex in interface-definitions/interfaces-ethernet.xml.in in /interfaceDefinition/node/children/tagNode/properties/constraint/regex does not allow just e[0-9]+ or because the interface is renamed wrongly.