SRv6 - Linux Kernel implementation


Using SRv6

Testing

Development

References

edit SideBar

Installation

Filed in: Implementation.Installation · Modified on : Wed, 02 Aug 17

Kernel settings

SRv6 is available in the mainstream Linux kernel since version 4.10. We recommend that you fetch the latest version of the kernel at http://kernel.org to benefit from recent features and bugfixes. Alternatively, you can clone the net-next git repository at https://kernel.googlesource.com/pub/scm/linux/kernel/git/davem/net-next.git. This repository contains the networking updates to be included in the next Linux release.

To enable SRv6 support, at least CONFIG_IPV6 must be enabled. The default built-in SRv6 code supports elementary processing of SR-enabled packets. For extended features such as SR encapsulation or other advanced processing, enable CONFIG_IPV6_SEG6_LWTUNNEL. Finally, the HMAC extension of SRv6 can be enabled through CONFIG_IPV6_SEG6_HMAC.

Userspace tools

SRv6 features are controlled through sysctls and through the iproute2 tool (since version 4.12).


Powered by PmWiki