> ## Documentation Index
> Fetch the complete documentation index at: https://docs.siderolabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# VRF

> How to configure VRF (Virtual Routing and Forwarding) for your network.

VRF (Virtual Routing and Forwarding) is a [Linux feature](https://docs.kernel.org/networking/vrf.html) 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`](../../reference/configuration/network/vrfconfig) machine configuration document:

```yaml theme={null}
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](https://docs.siderolabs.com/talos/v1.15/networking/configuration/static.md).

The `links` field specifies the interfaces assigned to the VRF, and [link aliases](https://docs.siderolabs.com/talos/v1.15/networking/configuration/aliases.md) can be used here as well.

Native BGP instances can bind their listeners, sessions, and learned routes to a VRF.
See [Native BGP](https://docs.siderolabs.com/talos/v1.15/networking/bgp/overview.md#bind-an-instance-to-a-vrf) for configuration examples and limitations.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.