Disabling DHCPv6 requests
Duane Whitty
duane at nofroth.com
Tue Sep 13 16:52:31 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 16-09-12 11:36 PM, Peter Silva wrote:
> Go into Network Manager GUI / Edit Connections /
>
> Bring up the connection you are using. There is an IPv6 tab.
> Change it from "Automatic" to "Manual"
>
> and the dhclient should stop asking for ipv6.
>
> btw. I have been using dual-stack ipv4 and ipv6 for years. It's
> not something you need to disable ipv6 works fine.
>
>
Disabling ipv6 in the Network Manager GUI works on a per connection
basis. Thanks for pointing me there.
I updated all entries in /etc/NetworkManager/system-connections to set
[ipv6]
method=ignore
I wish I could tell NM to do this globally for all connections but it
isn't possible. In the future I might be saying the same thing for ipv4
.
Also, I had disabled ipv6 in the kernel via sysctl.conf and in grub
before I updated NM. NM was needed to make it clean however.
I think all that was really necessary was grub and NM because when you
disable ipv6 in grub the sysctl knobs for ipv6 disappear from sysctl -a
In /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet splash"
sudo update-grub
All replies were greatly appreciated!
Best Regards,
Duane
- --
Duane Whitty
duane at nofroth.com
-----BEGIN PGP SIGNATURE-----
iQEcBAEBCAAGBQJX2C7PAAoJEOJfpr8UVxtkUKEIAJdn96fD9iZ6OX5fry0AaKQM
T0EZya3R5KV52Wli7dU4NUBn13Aj3iZW1jN1gktLoyzrF6WDAIqZOYRnP5qCazb0
NU2QwQbWNN7Drcnbs4DHCnoH8MOQOD8fsJLbRCvIxM7WeEnCI6LytY7U1nn38ZH1
xn/kuOymQv48Q1XyH7QW2qwsT413Ifv5B0irNCeMgmQMkC2m5Vb1oqIqjouQNDWx
Bh2UVkEe1TJ6bJaNYlAvLLEqUB8Y9Wid5ziUdHYql1XFmRZBu+We3GsqW5m/zjcP
gI2gv6UW2jiQrH26TV1y5cw8AZNmIA8S515+924kMTay8z4qsjM+fXJWiW68bug=
=dGiM
-----END PGP SIGNATURE-----
More information about the ubuntu-users
mailing list