ifindex
An ifindex, short for interface index, is a numeric identifier assigned to a network interface on a device. It serves as a stable reference used by the operating system, management tools, and network protocols to address an interface independently of its name.
In Unix-like systems, the kernel assigns a per-device interface index when an interface becomes active. The
In network management contexts, ifIndex is defined by the IF-MIB as a unique identifier for interfaces on
Stability varies: ifindex values reflect the current set of interfaces and may change if interfaces are added,