User Tools

Site Tools


doc:appunti:net:ipv6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:net:ipv6 [2017/11/15 18:44] – [IPv6 su PPP] niccolodoc:appunti:net:ipv6 [2026/07/13 12:30] (current) – [Disabilitare IPv6] niccolo
Line 15: Line 15:
  
 Da Debian Squeeze: Da Debian Squeeze:
 +
 +Per disabilitarlo a runtime:
 +
 +<code>
 +sysctl net.ipv6.conf.all.disable_ipv6=1
 +</code>
 +
 +Per disabilitarlo al bootstrap:
  
 <code> <code>
 echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.d/disableipv6.conf echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.d/disableipv6.conf
 </code> </code>
 +
  
 ===== Aggiungere e togliere un indirizzo IPv6 ===== ===== Aggiungere e togliere un indirizzo IPv6 =====
Line 49: Line 58:
  
 Quindi se esiste un host che annuncia la configurazione IPv6 (ad esempio un host GNU/Linux che esegue **radvd**, //Router Advertisement Daemon//), gli host nella stessa LAN si assegnano automaticamente un indirizzo IPv6 valido (ma non il default gateway). Quindi se esiste un host che annuncia la configurazione IPv6 (ad esempio un host GNU/Linux che esegue **radvd**, //Router Advertisement Daemon//), gli host nella stessa LAN si assegnano automaticamente un indirizzo IPv6 valido (ma non il default gateway).
 +
 +Per modificare uno di quei parametri creare un file **/etc/sysctl.d/90-local-ipv6.conf** con ad esempio:
 +
 +<file>
 +net.ipv6.conf.eth1.accept_ra=0
 +</file>
 +
 +Per rendere immediatamente attive le modifiche:
 +
 +<code>
 +cat /proc/sys/net/ipv6/conf/eth1/accept_ra 
 +1
 +sysctl --system
 +cat /proc/sys/net/ipv6/conf/eth1/accept_ra 
 +0
 +</code>
 ===== Configurazione manuale ===== ===== Configurazione manuale =====
  
doc/appunti/net/ipv6.1510767876.txt.gz · Last modified: by niccolo