Re: Regarding VRF support in Linux Kernel
From: Randy Dunlap <hidden>
Date: 2016-06-22 22:03:26
On 06/22/16 14:05, Ajith Adapa wrote:
Hi, I am following the steps present in (https://www.kernel.org/doc/Documentation/networking/vrf.txt) and trying to create IPv4 VRF in latest Fedora 24 distribution with 4.5 Linux kernel. [root@localhost ip]# uname -a Linux localhost.localdomain 4.5.5-300.fc24.x86_64 #1 SMP Thu May 19 13:05:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux I am getting operation not supported error as shown below # ip link add vrf-blue type vrf table 10 RTNETLINK answers: Operation not supported Is there any CONFIG option to enable VRF in Linux kernel ?
Yes, in drivers/net/Kconfig: config NET_VRF tristate "Virtual Routing and Forwarding (Lite)" depends on IP_MULTIPLE_TABLES depends on NET_L3_MASTER_DEV depends on IPV6 || IPV6=n depends on IPV6_MULTIPLE_TABLES || IPV6=n ---help--- This option enables the support for mapping interfaces into VRF's. The support enables VRF devices. -- ~Randy