Last active
October 18, 2023 13:47
Disable IPv6 link-local using Netplan
This file contains 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 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