Skip to main content
VRF (Virtual Routing and Forwarding) is a Linux feature that allows you to create multiple separate routing tables on the same machine, effectively creating multiple virtual routers. VRF device is associated with a specific routing table, and any network interface attached to the VRF device will use that routing table for its traffic. VRFs can be configured in Talos Linux using the VRFConfig machine configuration document:
apiVersion: v1alpha1
kind: VRFConfig
name: vrf-blue
links:
    - eno1
    - eno5
table: "123"
up: true
addresses:
    - address: 1.2.3.5/32
Addresses and routes can be configured in the same document as shown in static link configuration. The links field specifies the interfaces assigned to the VRF, and link aliases can be used here as well.