Man page - interfaces-vrf(5)
Packages contains this manual
- interfaces-wireguard(5)
- interfaces-bridge(5)
- interfaces-tunnel(5)
- ifstate(5)
- ifparse(8)
- interfaces-wifi(5)
- ifctrstat(8)
- ifquery-ng(8)
- ifup-ng(8)
- interfaces-ng(5)
- interfaces-vrf(5)
- interfaces-ppp(5)
- interfaces-vxlan(5)
- interfaces-forward(5)
- ifdown-ng(8)
- interfaces-batman(5)
- ifupdown-executor(7)
- interfaces-wireguard-quick(5)
- interfaces-bond(5)
- ifupdown-ng.conf(5)
- ifupdown-ng(8)
apt-get install ifupdown-ng
Manual
interfaces-vrf
NAMEDESCRIPTION
VRF-RELATED OPTIONS
EXAMPLES
SEE ALSO
AUTHORS
NAME
interfaces-vrf - VRF extensions for the interfaces(5) file format
DESCRIPTION
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.
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.
VRF-RELATED OPTIONS
vrf-table table id
The id of the kernel routing table associated with this VRF interface. This parameter indicates that the interface where it is specified shall be a VRF.
vrf vrf interface
The vrf the interface should be assigned to. This parameter is specified on regular interfaces which should be within the given vrf .
EXAMPLES
A VRF interface:
auto
vrf_external
iface vrf_external
|
vrf-table 1023 |
A regular interface which should be within a VRF:
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
ip-vrf (8) ip-link (8)
AUTHORS
Maximilian Wilhelm <max@sdn.clinic>