ipv6
という名前でコンパイルされたモジュールを使って IPv6 をサポートする一部のアーキテクチャを除きます)。ping
、traceroute
などの基本ツールには IPv6 用の ping6
、traceroute6
などの代替品があり、これらはそれぞれ iputils-ping、iputils-tracepath パッケージに含まれます。
/etc/network/interfaces
で設定します。しかし、ネットワークをグローバルに利用できるようにしたい場合、グローバル IPv6 ネットワークへのトラフィックを中継するための IPv6 を取り扱うことができるルータを持っていなければいけません。
例 10.10 IPv6 設定の例
iface eth0 inet6 static address 2001:db8:1234:5::1:1/64 # Disabling auto-configuration # autoconf 0 # The router is auto-configured and has no fixed address # (accept_ra 1). If it had: # gateway 2001:db8:1234:5::1
/etc/network/interfaces
の中で IPv6 プライバシー拡張を有効化しています。
nft
can be used to create firewall rules for IPv4 and IPv6 (see 第 14.2.3 節「Syntax of nft
」).
/etc/network/interfaces
with the generated code.
radvd
daemon (from the similarly-named package) if you want to use the configured computer as a router for a local network. This IPv6 configuration daemon has a role similar to dhcpd
in the IPv4 world.
/etc/radvd.conf
configuration file must then be created (see /usr/share/doc/radvd/examples/simple-radvd.conf
as a starting point). In our case, the only required change is the prefix, which needs to be replaced with the one provided by Hurricane Electric; it can be found in the output of the ip a
command, in the block concerning the he-ipv6
interface.
systemctl start radvd
. The IPv6 network should now work.