eve-os:interface-naming
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| eve-os:interface-naming [2026/08/20 14:39] – created mc | eve-os:interface-naming [2026/08/20 15:03] (current) – [Migration Note] mc | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== The Basics ===== | ===== The Basics ===== | ||
| - | When EVE-OS boots, every physical NIC on the box gets discovered and given a name based on PCI location (like '' | + | When EVE-OS boots, every physical NIC on the box gets discovered and given a name based on PCI location (like '' |
| - | ===== ethX — Physical Adapter | + | ===== ethX: The Name You Actually Use ===== |
| - | * The raw physical network port as EVE-OS first sees it. | + | * '' |
| - | * Shows up in the Hardware Model / device model as an adapter. | + | * What's actually behind that name depends on the port. Read on. |
| - | * If it's **not** used by a Network Instance, it just stays as '' | + | |
| - | ===== kethX — " | + | ===== kethX: The Physical NIC, Hidden Underneath |
| - | This is the one that confuses people. | + | This is the one that confuses people, because it shows up even with zero Switch NIs configured. |
| - | * Only appears when a physical NIC is assigned to a **Switch Network Instance**. | + | * EVE puts a Linux bridge in front of nearly every Ethernet port it manages. Not just ports used by a Switch NI, basically all of them. |
| - | * Switch NI = pure L2 bridging, meant to act like the physical NIC is directly wired to your VMs/ | + | * The exceptions: LTE and WiFi ports (can't do Ethernet bridging), and ports that are members of a VLAN or bond adapter |
| - | * Problem: EVE-OS wants the **bridge** to be named '' | + | * Why bridge everything up front: so a bridge |
| - | * But the physical NIC is already | + | * To pull this off without renaming anything visible, EVE renames |
| - | * Fix: the physical NIC gets renamed | + | |
| - | * The bridge takes over the '' | + | |
| - | **Think of it like:** '' | + | ===== MAC Address Behavior |
| - | ===== bnX / bridgeX — The Bridge Itself ===== | + | * **EVE 17.0 and newer (PR #6167, merged Jul 2026):** '' |
| + | * **Older EVE (pre-17.0, still true on 16.0/14.5/ | ||
| + | * Check your EVE version before assuming which behavior you're looking at. | ||
| - | * Created for Switch NI. | + | ===== bnX / bridgeX: Bridges for Network Instances ===== |
| - | * Takes over the original interface name/identity. | + | |
| - | * '' | + | |
| - | * App VIFs (container/ | + | |
| - | * Result: physical NIC and app traffic share L2 like a real switch. | + | |
| - | ===== Local NI — No kethX Needed ===== | + | * These are the bridges you create explicitly through Switch NI or Local NI configuration. |
| + | * Different from the invisible per-port bridge described above. NI bridges are user-visible and app VIFs attach to them directly. | ||
| + | * Local NI adds NAT, DHCP, and DNS on top. Switch NI is pure L2. | ||
| - | * Local NI = NAT + DHCP + DNS, not pure passthrough. | + | ===== Reference Table ===== |
| - | * It builds its own bridge but doesn' | + | |
| - | * So you won't see the '' | + | |
| - | + | ||
| - | ===== Quick Reference Table ===== | + | |
| ^ Interface ^ What it is ^ When you see it ^ | ^ Interface ^ What it is ^ When you see it ^ | ||
| - | | ethX | Physical NIC, untouched | + | | ethX | The bridge, holding the IP/ |
| - | | kethX | Physical | + | | kethX | The real physical |
| - | | bridge/bnX | The bridge | + | | bnX / bridgeX |
| - | | vifX | App/ | + | | vifX | App/ |
| - | ===== Gotcha to Watch For ===== | + | ===== Sources |
| - | On tenant offboarding/ | + | * lf-edge EVE design doc "K3S flat network in EVE" (wiki.lfedge.org), original |
| + | * [[https:// | ||
eve-os/interface-naming.1787236743.txt.gz · Last modified: by mc
