Disabling IPv6 With NetworkManager

Home » CentOS » Disabling IPv6 With NetworkManager
CentOS 1 Comment

Hello,

Simple question, I’d like to know whether it’s possible to disable IPv6
with NetworkManager only (over command line)?

I am aware of:

* echo “net.ipv6.conf.all.disable_ipv6 = 1” >
/etc/sysctl.d/disableipv6.conf
* sysctl -p

But doing it with NM would be way easier to remember.

Thanks!

One thought on - Disabling IPv6 With NetworkManager