doc:appunti:net:ipv6
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:net:ipv6 [2017/11/15 18:40] – [IPv6 su PPP] niccolo | doc:appunti:net:ipv6 [2019/08/26 11:06] (current) – [Configurazione automatica] niccolo | ||
|---|---|---|---|
| Line 49: | Line 49: | ||
| 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 **/ | ||
| + | |||
| + | < | ||
| + | net.ipv6.conf.eth1.accept_ra=0 | ||
| + | </ | ||
| + | |||
| + | Per rendere immediatamente attive le modifiche: | ||
| + | |||
| + | < | ||
| + | cat / | ||
| + | 1 | ||
| + | sysctl --system | ||
| + | cat / | ||
| + | 0 | ||
| + | </ | ||
| ===== Configurazione manuale ===== | ===== Configurazione manuale ===== | ||
| Line 304: | Line 320: | ||
| sysctl -w net.ipv6.conf.ppp0.accept_ra=2 | sysctl -w net.ipv6.conf.ppp0.accept_ra=2 | ||
| </ | </ | ||
| + | |||
| + | === Riferimenti web === | ||
| + | |||
| + | Vedere questo post: **[[http:// | ||
| + | |||
| + | //By default, a Linux host on an IPv6 network will listen for and | ||
| + | solicit router advertisements in order to choose an IPv6 address | ||
| + | for itself and to set up its default route. This is referred to | ||
| + | as stateless address autoconfiguration (SLAAC).// | ||
| + | |||
| + | //In this context, what makes the difference between router or not | ||
| + | are the settings of the / | ||
| + | files (or the net.ipv6.conf.*.forwarding sysctl). If you turn | ||
| + | your host into a router by setting one of those to “1”, you may | ||
| + | find that your host removes any IPv6 address and default route | ||
| + | it learnt via SLAAC.// | ||
doc/appunti/net/ipv6.1510767609.txt.gz · Last modified: by niccolo
