差異處
這裏顯示兩個版本的差異處。
下次修改 | 前次修改 | ||
ipv6 [2016/11/29 00:18] jz 建立 |
ipv6 [2017/10/27 22:19] (目前版本) jz |
||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== disable IPV6 ====== | + | ====== IPv6 ====== |
- | sysctl.conf | + | ===== kernel parameter ===== |
+ | From version 207 and 21x, systemd only applies settings from /etc/sysctl.d/*.conf and /usr/lib/sysctl.d/*.conf. | ||
+ | <code> | ||
+ | /etc/sysctl.conf | ||
+ | /etc/sysctl.d | ||
+ | </code> | ||
+ | [[https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt]] | ||
+ | |||
+ | ===== disable IPV6 ===== | ||
+ | <code> | ||
net.ipv6.conf.all.disable_ipv6 = 1 | net.ipv6.conf.all.disable_ipv6 = 1 | ||
net.ipv6.conf.default.disable_ipv6 = 1 | net.ipv6.conf.default.disable_ipv6 = 1 | ||
net.ipv6.conf.lo.disable_ipv6 = 1 | net.ipv6.conf.lo.disable_ipv6 = 1 | ||
+ | </code> | ||
- | sudo sysctl -p | + | ===== SLAAC ===== |
+ | <code> | ||
+ | sysctl -a | grep accept_ra | ||
+ | sysctl -a | grep autoconf | ||
+ | </code> |