Page MenuHomeVyOS Platform

Static interface index
Open, WishlistPublicFEATURE REQUEST

Description

Some network monitoring systems require that the index interface not change after a reboot. Linux allows you to create interfaces with a manually specified interface index. Example:

ip link add bond0 index 101 type bond
ip link add link bond0 name bond0.1 index 102 type vlan id 1

I suggest adding an interface configuration option. Example:

set interfaces bonding bond0 index 101
set interfaces bonding bond0 vif 1 index 102

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

Viacheslav triaged this task as Wishlist priority.Mar 15 2024, 2:23 PM

What happens if another interface/value occupies the index 101?
For example, PPPoE-server and PPP interface can generate thousands of interfaces