Skip to content

Configuring a VRF to work properly for FRR

Donald Sharp edited this page Feb 9, 2018 · 5 revisions

Linux Kernel Documentation

https://www.kernel.org/doc/Documentation/networking/vrf.txt

Special Consideration of Default Route in the VRF

Set the default route for the table (and hence default route for the VRF).

ip route add table 10 unreachable default metric 4278198272

high metric value ensures that the default unreachable route can be overridden by a routing protocol suite. FRRouting interprets kernel metrics as a combined admin distance (upper byte) and priority (lower 3 bytes). Thus the above metric translates to [255/8192].

Tutorial for VRF's

https://schd.ws/hosted_files/ossna2017/fe/vrf-tutorial-oss.pdf