Outils pour utilisateurs

Outils du site


raspberry:ipv6 (lu 11738 fois)

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

raspberry:ipv6 [15-06-2017 23:46] – créée edmc73raspberry:ipv6 [09-02-2026 10:51] (Version actuelle) edmc73
Ligne 1: Ligne 1:
 ====== ipv6 ====== ====== ipv6 ======
-Thank you all for the suggestions provided, and indeed it helps to disable IPv6 completely and remove the module from memory as follows:+Créez un nouveau fichier de configuration (le nom doit finir par .conf) :
  
-Contents of the /etc/modprobe.d/ipv6.conf +  vi /etc/sysctl.d/99-disable-ipv6.conf
-<code> +
-alias net-pf-10 off +
-alias ipv6 off +
-options ipv6 disable_ipv6=1 +
-blacklist ipv6 +
-</code>+
  
-After a reboot, firing the command "lsmod" shall show no line entry denoting to "ipv6.", and the same shall also be for the command "ifconfig".+Copiez-y les paramètres suivants :
  
-Optionally and if required, add in /boot/cmdtline.txt the parameter:+  net.ipv6.conf.all.disable_ipv6 = 1 
 +  net.ipv6.conf.default.disable_ipv6 = 1 
 +  net.ipv6.conf.lo.disable_ipv6 = 1
  
-  ipv6.disable=1+Appliquez la configuration immédiatement :
  
-It works also for the latest April 2017 Raspbian image with kernel version 4.9.22-v7+.+  sysctl --system 
 + 
 +Cette commande va recharger tous les fichiers de configuration, y compris celui que vous venez de créer. 
 + 
 +Une fois appliqué, vous pouvez aussi taper cette commande pour voir la valeur système réelle : 
 + 
 +  cat /proc/sys/net/ipv6/conf/all/disable_ipv6 
 + 
 +Si le résultat est 1, c'est que l'IPv6 est bien désactivé.
raspberry/ipv6.1497570389.txt.gz · Dernière modification : de edmc73