interfaces-vrf(5)

✨ interfaces-vrf(5) ✨

okay so this is the interfaces-vrf page from the File Formats Manual bestie, and it's literally all about the VRF extensions for the interfaces(5) file format. let's get into it πŸ’…


🌸 NAME 🌸

interfaces-vrf β€” the VRF extensions for the interfaces(5) file format. that's it, that's the whole name, she's concise πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

so Linux has had support for Virtual Routing and Forwarding (VRF) instances ever since Kernel >= 4.4, no cap. and the options below? they're the whole glow-up β€” they let you set up VRFs and add your already-configured interfaces into them. iconic behaviour fr fr πŸ’–

ngl, quick heads up bestie: in the Linux Kernel, VRFs are represented as network interfaces too. like, they're interfaces that are also VRFs, main character energy. see https://www.kernel.org/doc/Documentation/networking/vrf.rst for way more details 🧚

  • vrf-table table id β€” this is the id of the kernel routing table that's associated with this VRF interface. and the way this parameter works? it's the signal β€” if you put it on an interface, that interface shall be a VRF. periodt. πŸ‘‘
  • vrf vrf interface β€” the vrf that this interface should be assigned to. you put this one on regular interfaces that should live inside the given vrf. she's the "join this group chat" option 🫢

🌈 EXAMPLES 🌈

okay here's a VRF interface, looking gorgeous:

auto vrf_external
iface vrf_external
     vrf-table 1023

and here's a regular interface that should be within a VRF β€” ate, no crumbs:

auto eth0
iface eth0
     address 192.2.0.42/24
     address 2001:db8::42/64
     gateway 192.2.0.1
     gateway 2001:db::1
     vrf vrf_external

πŸ’œ SEE ALSO πŸ’œ

go check out ip-vrf(8) and ip-link(8) β€” besties in the same friend group πŸ¦‹


⭐ AUTHORS ⭐

shoutout to Maximilian Wilhelm <max@sdn.clinic> for making this whole thing happen, we love a legend πŸ’–


and that's the page babes ✨ this was interfaces-vrf(5), straight out of the File Formats Manual, dated 2026-05-10. go configure some VRFs responsibly, ily, bye πŸŽ€πŸ’…πŸ”₯

πŸ“¦ where this page comes from