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-RELATED OPTIONS π
vrf-tabletable 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. πvrfvrf 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
- alpine 3.24: ifupdown-ng-doc 0.13.0-r0 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms