MARWAN docs NOC knowledge base
DocsGNU/Linux

Remove additional IPv6 address from CentOS 7

Remove an extra IPv6 address on CentOS 7 and stop NetworkManager from adding it back.

Updated


Delete the extra IPv6 address:
ip addr del <ip>/64 dev ens32

Then prevent NetworkManager from adding it again. Stop and disable NetworkManager:

systemctl stop NetworkManager
systemctl disable NetworkManager

Then modify the interface configuration to not use NetworkManager:

vi /etc/sysconfig/network-scripts/ifcfg-ens32
/etc/sysconfig/network-scripts/ifcfg-ens32
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=static