[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <576B0B2B.1070509@infradead.org>
Date: Wed, 22 Jun 2016 15:03:23 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Ajith Adapa <adapa.ajith@...il.com>, netdev@...r.kernel.org
Subject: Re: Regarding VRF support in Linux Kernel
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@...alhost 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
Powered by blists - more mailing lists