Re: Some thanks from an end user and one question about setting a static ipv6 address
Roy Marples
Wed Jun 25 08:01:03 2014Hi On 24/06/2014 21:24, Neitsab wrote:
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" parameterin the default dhcpcd configuration will be as it allows for a hands-offapproach 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 aprivacy-friendly IPv6 environment, in those times of increasing trackingand 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'sauthor. So let him be thanked for his involvement, including on the Archbug tracker and I guess other downstream forums as well.
WOW! That's the biggest wall of thanks I've ever had! If you don't mind I'll quote it on my Google+ page :)I don't actively use Arch, but I do lurk on the bug tracker and forums from time to time to check dhcpcd is working fine there.
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 appearin the man page for the corresponding IPv4 parameter. What am I missing here?
Nothing. dhcpcd presently does not support IPv6 static addressing. Of course, such a patch is fairly easy, just a little time consuming.I have one feature to add (allowing IA_NA and IA_PD in the same session as needed by Robert White on this ML) and once that's done I'll look into adding IPv6 static addressing and routing.
One question though - in IPv4 this explicitly disables DHCP and IPv4LL - would you expect this to disable IPv6RS and DHCPv6 as well?
Thanks Roy
Archive administrator: postmaster@marples.name