diff options
author | Nick Hainke <vincent@systemli.org> | 2020-12-12 11:23:54 +0100 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-01-11 11:09:05 -1000 |
commit | a1a7f3274e0ed27511d45f62ee20281d8d57c7af (patch) | |
tree | 665e0d365bca406c68d82d43eec6542ffeda7a72 /target | |
parent | c625c821d1a3825a9fd939cb132aee8c2e713169 (diff) | |
download | upstream-a1a7f3274e0ed27511d45f62ee20281d8d57c7af.tar.gz upstream-a1a7f3274e0ed27511d45f62ee20281d8d57c7af.tar.bz2 upstream-a1a7f3274e0ed27511d45f62ee20281d8d57c7af.zip |
kernel: enable SRv6 support by enabling lwtunnel
Enable the ability to use segment routing based on IPv6. It allows the
packet to specify a path that the packet should take through the
network.
Lwtunnel allow an easy encapsulation of a package. You can just install
ip-full package and use it:
ip -6 route add 2003::/64 dev eth0 encap seg6 mode encap \
segs 2001::1,2002::2
An IPv6 package looks like this:
[IPv6 HDR][IPv6 RH][IPv6 HDR][Data...]
Netifd support:
https://git.openwrt.org/?p=project/netifd.git;
a=commit;h=458b1a7e9473c150a40cae5d8be174f4bb03bd39
Increases imagesize by 24.125 KiB. Therefore, only enable for devices
with enough flash.
Signed-off-by: Nick Hainke <vincent@systemli.org>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/generic/config-5.4 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/generic/config-5.4 b/target/linux/generic/config-5.4 index 46bc731f04..9006c63ecf 100644 --- a/target/linux/generic/config-5.4 +++ b/target/linux/generic/config-5.4 @@ -2400,7 +2400,6 @@ CONFIG_IPV6_NDISC_NODETYPE=y # CONFIG_IPV6_ROUTER_PREF is not set # CONFIG_IPV6_ROUTE_INFO is not set # CONFIG_IPV6_SEG6_HMAC is not set -# CONFIG_IPV6_SEG6_LWTUNNEL is not set # CONFIG_IPV6_SIT is not set # CONFIG_IPV6_SIT_6RD is not set # CONFIG_IPV6_TUNNEL is not set |