At the moment my raspy (stretch-based Raspbian) is getting a /128 static lease from my router out of the /48 I get from the he.net tunnel.
It also has a /64 address which seems stable across reboots but is not a slaac address.
Where does this /64 address come from? In the logs I see it mentioned by avahi-daemon and dhcpd but I cannot find a corresponding lease file.
More important, how do I get the sytem to generate and prefer a
temporary address for outgoing connections?
It would be clearer if you posted the output of
ip -6 addr
If you have privacy concerns feel free to mangle the /48 prefix assigned
by the tunnel broker.
Where does this /64 address come from? In the logs I see it mentioneddhcpd (ISC DHCP server) or dhcpcd (DHCP client daemon) ?
by avahi-daemon and dhcpd but I cannot find a corresponding lease file.
More important, how do I get the sytem to generate and prefer asysctl net.ipv6.conf.${INTERFACE}.use_tempaddr=2
temporary address for outgoing connections?
How to set it at the system configuration level depends on the network configuration framework used. With ifupdown, add the following option to
the iface stanza in /etc/network/interfaces :
Hello.Hello Andrea,
At the moment my raspy (stretch-based Raspbian) is getting a /128 static lease from my router out of the /48 I get from the he.net tunnel.
It also has a /64 address which seems stable across reboots but is not a slaac address.
Where does this /64 address come from? In the logs I see it mentioned by avahi-daemon and dhcpd but I cannot find a corresponding lease file.
More important, how do I get the sytem to generate and prefer a
temporary address for outgoing connections?
Thanks,
Andrea.
P.S.: also posted here in the Raspberrypi forum: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=249079
I have internet plus three private local networks, and each of the three three
local networks has an assigned public address plus its own private local address for both IPv4 and (fd00::) IPv6, see RFC4193 / Unique Local IPv6 Unicast Addresses.
For each box, I edit
/etc/gai.conf for address preferences order
/etc/dhcpcd.conf for my choice of
slaac private=0
and my fallback profile
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 88:05:10 |
Calls: | 6,658 |
Files: | 12,203 |
Messages: | 5,333,954 |