* Regarding VRF support in Linux Kernel
@ 2016-06-22 21:05 Ajith Adapa
2016-06-22 22:03 ` Randy Dunlap
0 siblings, 1 reply; 3+ messages in thread
From: Ajith Adapa @ 2016-06-22 21:05 UTC (permalink / raw)
To: netdev
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 ?
Regards,
Ajith
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Regarding VRF support in Linux Kernel
2016-06-22 21:05 Regarding VRF support in Linux Kernel Ajith Adapa
@ 2016-06-22 22:03 ` Randy Dunlap
2016-06-22 22:12 ` David Ahern
0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2016-06-22 22:03 UTC (permalink / raw)
To: Ajith Adapa, netdev
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Regarding VRF support in Linux Kernel
2016-06-22 22:03 ` Randy Dunlap
@ 2016-06-22 22:12 ` David Ahern
0 siblings, 0 replies; 3+ messages in thread
From: David Ahern @ 2016-06-22 22:12 UTC (permalink / raw)
To: Randy Dunlap, Ajith Adapa, netdev
On 6/22/16 4:03 PM, Randy Dunlap wrote:
> 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
VRF is not enabled in Fedora 24
David
>>
>> 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.
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-22 22:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-22 21:05 Regarding VRF support in Linux Kernel Ajith Adapa
2016-06-22 22:03 ` Randy Dunlap
2016-06-22 22:12 ` David Ahern
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.