Last active
October 18, 2023 13:47
-
-
Save mtrimarchi/b3b4addeb21081be6a561d8d90e051f5 to your computer and use it in GitHub Desktop.
Disable IPv6 link-local using Netplan
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/netplan/99-disable-link-local.yaml | |
# | |
# test using: | |
# $ netplan try | |
# | |
network: | |
version: 2 | |
ethernets: | |
ens5: | |
link-local: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/sysctl.d/99-ipv6-disable.conf | |
net.ipv6.conf.all.disable_ipv6 = 1 | |
net.ipv6.conf.default.disable_ipv6 = 1 | |
net.ipv6.conf.lo.disable_ipv6 = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment