Desligar o IPV6 em Linux

Como desligar o IPV6 no Fedora

Abrir uma sessão de terminal/consola.

editar o ficheiro /etc/modprobe.d/blacklist

su -c 'gedit /etc/modprobe.d/blacklist'Code language: Bash (bash)

adicionar a seguinte linha:

blacklist ipv6

gravar e editar o seguinte /etc/modprobe.d/modprobe.conf.dist

<strong>su -c '/etc/modprobe.d/modprobe.conf.dist'</strong>Code language: Bash (bash)

adicionar a seguinte linha:

install ipv6 /bin/true

gravar e editar o ficheiro /etc/sysconfig/network-scripts/ifcfg-eth0

su -c '/etc/sysconfig/network-scripts/ifcfg-eth0'Code language: Bash (bash)

adicionar ou alterar as seguintes linhas:

IPV6INIT=no
IPV6_AUTOCONF=no

gravar e editar o ficheiro /etc/sysconfig/network

su -c '/etc/sysconfig/network'Code language: Bash (bash)

adicionar a seguinte linha:

NETWORKING_IPV6=no

Por fim executar o seguinte comando e de seguida reiniciar o Fedora.

chkconfig ip6tables offCode language: Bash (bash)

Follow SOS-Admins on Google

SOS-Admins is your ultimate source for the latest updates, exclusive guides, and news. Don t miss our upcoming content, add us to your favorites and stay connected with the community on Google!