Page MenuHomeVyOS Platform

Static interface index
Closed, WontfixPublicFEATURE 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

Version
-
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

I don't know how to solve this problem. I suggest rejecting the problem.

syncer claimed this task.
syncer removed a project: VyOS 1.5 Circinus.