差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
ipv6 [2017/10/27 22:15] jz |
ipv6 [2017/10/27 22:19] (目前版本) jz |
||
---|---|---|---|
行 1: | 行 1: | ||
- | |||
====== IPv6 ====== | ====== IPv6 ====== | ||
===== kernel parameter ===== | ===== 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.conf | ||
/etc/sysctl.d | /etc/sysctl.d | ||
+ | </code> | ||
+ | |||
+ | [[https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt]] | ||
- | ====== disable IPV6 ====== | + | ===== disable IPV6 ===== |
<code> | <code> | ||
net.ipv6.conf.all.disable_ipv6 = 1 | net.ipv6.conf.all.disable_ipv6 = 1 | ||
行 13: | 行 17: | ||
</code> | </code> | ||
- | ====== SLAAC ====== | + | ===== SLAAC ===== |
<code> | <code> | ||
sysctl -a | grep accept_ra | sysctl -a | grep accept_ra | ||
sysctl -a | grep autoconf | sysctl -a | grep autoconf | ||
</code> | </code> |