.\" Generated by scdoc 1.11.3 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "interfaces-vrf" "5" "2024-05-06" .PP .SH NAME .PP \fBinterfaces-vrf\fR - VRF extensions for the interfaces(5) file format .PP .SH DESCRIPTION .PP Linux has support for Virtual Routing and Forwarding (VRF) instances since Kernel >= 4.\&4.\& The following options allow to set up VRFs and adding configured interfaces to VRFs.\& .PP Note that in the Linux Kernel VRFs are represented as network interfaces, too.\& See https://www.\&kernel.\&org/doc/Documentation/networking/vrf.\&rst for more details.\& .PP .SH VRF-RELATED OPTIONS .PP \fBvrf-table\fR \fItable id\fR .RS 4 The \fIid\fR of the kernel routing table associated with this VRF interface.\& This parameter indicates that the interface where it is specified shall be a VRF.\& .PP .RE \fBvrf\fR \fIvrf interface\fR .RS 4 The \fIvrf\fR the interface should be assigned to.\& This parameter is specified on regular interfaces which should be within the given \fIvrf\fR.\& .PP .RE .SH EXAMPLES .PP A VRF interface: .PP .nf .RS 4 auto vrf_external iface vrf_external vrf-table 1023 .fi .RE .PP A regular interface which should be within a VRF: .PP .nf .RS 4 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 .fi .RE .PP .SH SEE ALSO .PP \fBip-vrf\fR(8) \fBip-link\fR(8) .PP .SH AUTHORS .PP Maximilian Wilhelm