diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-04-23 09:19:08 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-23 09:19:08 +0300 |
| commit | a92733f62ff87f5a4609744be729cdc18a9633f4 (patch) | |
| tree | 4926d4ecda3fd5f483dc821f5b63eeed53dd2ea6 /src | |
| parent | 801bdc92ca8e55a001f5b7883c4770372643a1f3 (diff) | |
| parent | de44c6aef249b5c3350a5114a38eee3a761f7de0 (diff) | |
| download | vyos-1x-a92733f62ff87f5a4609744be729cdc18a9633f4.tar.gz vyos-1x-a92733f62ff87f5a4609744be729cdc18a9633f4.zip | |
Merge pull request #4461 from c-po/slaac-removal
interface: T7375: cleanup SLAAC assigned address and default route after removing SLAAC CLI configuration
Diffstat (limited to 'src')
| -rw-r--r-- | src/etc/sysctl.d/30-vyos-router.conf | 10 | ||||
| -rw-r--r-- | src/systemd/vyos.target | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/etc/sysctl.d/30-vyos-router.conf b/src/etc/sysctl.d/30-vyos-router.conf index 76be41ddc..ef81cebac 100644 --- a/src/etc/sysctl.d/30-vyos-router.conf +++ b/src/etc/sysctl.d/30-vyos-router.conf @@ -83,6 +83,16 @@ net.ipv4.conf.default.ignore_routes_with_linkdown=1 net.ipv6.conf.all.ignore_routes_with_linkdown=1 net.ipv6.conf.default.ignore_routes_with_linkdown=1 +# Disable IPv6 interface autoconfigurationnable packet forwarding for IPv6 +net.ipv6.conf.all.autoconf=0 +net.ipv6.conf.default.autoconf=0 +net.ipv6.conf.*.autoconf=0 + +# Disable IPv6 router advertisements +net.ipv6.conf.all.accept_ra=0 +net.ipv6.conf.default.accept_ra=0 +net.ipv6.conf.*.accept_ra=0 + # Enable packet forwarding for IPv6 net.ipv6.conf.all.forwarding=1 diff --git a/src/systemd/vyos.target b/src/systemd/vyos.target index c5d04891d..ea1593fe9 100644 --- a/src/systemd/vyos.target +++ b/src/systemd/vyos.target @@ -1,3 +1,3 @@ [Unit] Description=VyOS target -After=multi-user.target vyos-grub-update.service +After=multi-user.target vyos-grub-update.service systemd-sysctl.service |
