* Ian Zimmerman:

> So, how to configure IPv6 on an end user gentoo box (not a router)?

This depends on how clever your existing router is. If it provides
Router Advertisement, like the FRITZ!Box 7xxx line does, IPv6 clients
should be configured automatically. As an alternative, you can run
net-misc/radvd in your network. It is also possible to use fixed
addresses like so (2001:1111:2222:3333 is an imaginary /64 subnet and
the rest is based on what you posted):

  config_enp2s0="192.168.1.10/24
  2001:1111:2222:3333::10/64"
  routes_enp2s0="default via 192.168.1.1
  default via fe80::1"

In case you're wondering, the variables config_x and routes_x can indeed
contain line breaks. Personally, I don't think static IPv6 addresses are
very useful, because machines in a local IPv6 network can easily locate
each other using link-local addressing, without the need to configure
this in any way. In the example above, the link-local address fe80::1
means "the default IPv6 gateway out of here".

IPv6 has more convenient mechanisms, like unique local addresses (ULA),
that can be configured but don't need to be. If your router is smart
enough, no configuration is required on the end nodes; be it Linux,
macOS, Windows, or various smartphones.

One of the many available sources of information is hosted by The Linux
Documentation Project[1].

-Ralph

[1] https://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/index.html

Reply via email to