summaryrefslogtreecommitdiff
path: root/src/etc
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-20 22:38:52 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-12-21 15:28:52 +0000
commit0ee2f8285c81878687a9f92e6a3b0f10c4d75584 (patch)
tree30a3eada0c894fb0ff07f83b360f9535c5d43627 /src/etc
parent9219b5e2e0f2a9d6aa181fc6bc460459d727f399 (diff)
downloadvyos-1x-0ee2f8285c81878687a9f92e6a3b0f10c4d75584.tar.gz
vyos-1x-0ee2f8285c81878687a9f92e6a3b0f10c4d75584.zip
srv6: T591: enable SR enabled packet processing on defined interfaces
The Linux Kernel needs to be told if IPv6 SR enabled packets whether should be processed or not. This is done using /proc/sys/net/conf/<iface>/seg6_* variables: seg6_enabled - BOOL Accept or drop SR-enabled IPv6 packets on this interface. Relevant packets are those with SRH present and DA = local. 0 - disabled (default) not 0 - enabled Or the VyOS CLI command: * set protocols segment-routing interface eth0 srv6 (cherry picked from commit 774cc97eda61eb0b91df820797fb3c705d0073d5)
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/sysctl.d/30-vyos-router.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/sysctl.d/30-vyos-router.conf b/src/etc/sysctl.d/30-vyos-router.conf
index 1c9b8999f..6291be5f0 100644
--- a/src/etc/sysctl.d/30-vyos-router.conf
+++ b/src/etc/sysctl.d/30-vyos-router.conf
@@ -105,3 +105,6 @@ net.core.rps_sock_flow_entries = 32768
net.core.default_qdisc=fq_codel
net.ipv4.tcp_congestion_control=bbr
+# Disable IPv6 Segment Routing packets by default
+net.ipv6.conf.all.seg6_enabled = 0
+net.ipv6.conf.default.seg6_enabled = 0