dhcpcd-discuss

Some thanks from an end user and one question about setting a static ipv6 address

Neitsab

Tue Jun 24 20:25:00 2014

Hi,

I've just subscribed to the list to express my gratitude for the quick
and functional implementation of RFC7217 in the last dhcpcd version,
which greatly improves the ease of getting SLAAC IPv6 addresses in a
privacy-respecting configuration.

It is only recently that I started delving into IPv6 configuration, and
even more recently that I discovered the need to enable Privacy
Extensions for IPv6 addresses not to be used as a mean of tracking
network interfaces throughout the Internet.

After having been through the various steps to enable them on a
GNU/Linux distro (I'm running Archlinux with NetworkManager for network
handling), now gathered at
https://wiki.archlinux.org/index.php/IPv6#Privacy_extensions, I realize
how great an improvement the inclusion of the "slaac private" parameter
in the default dhcpcd configuration will be as it allows for a hands-off
approach of privacy-respecting IPv6 addresses in SLAAC mode, making it
secure-by-default for everybody.

Provided the number of systems and softwares that rely on dhcpcd to get
network connectivity, I expect this change will do much in favour of a
privacy-friendly IPv6 environment, in those times of increasing tracking
and reduced liberties; I believe this small change does a lot for the
fight against massive surveillance and is greatly welcome, hence my
desire to thank you explicitly for that.

While searching about this feature and its surrounding technological
environment (how iproute2 displays its activation etc.), I've had the
occasion to appreciate the presence and reactivity of this program's
author. So let him be thanked for his involvement, including on the Arch
bug tracker and I guess other downstream forums as well.

***

For the little technical question "while we're at it":
Recently I was trying to configure a static profile in dhcpcd.conf, for
a home server connected to a router via Ethernet. I was trying to get
dhcpcd assign the wired interface both a static IPv4 and IPv6 address,
however it didn't seem to understand my stanza. Here it is:

----------------
/etc/dhcpcd.conf
----------------
...
# A hook script is provided to lookup the hostname if not set by the DHCP
# server, but it should not be run by default.
nohook lookup-hostname
noipv4ll

# define static profile for Ethernet interface
interface enp7s8
static ip_address=192.168.1.22/24
static ip6_address=2001:42d1:ed07:f200::22/64
----------------------------------------------
Note: here the ip6 prefix is made up, but I know the one I actually use
is correct.

I tried with both ip6address and ip6_address, as the two syntaxes appear
in the man page for the corresponding IPv4 parameter.

What am I missing here?

Thanks again for everything,
Cheers
N.

Follow-Ups:
Re: Some thanks from an end user and one question about setting a static ipv6 addressRoy Marples
Archive administrator: postmaster@marples.name