[lxc/lxc] 459b1b: lxc-net: Even more random IPv6 subnet

0 views
Skip to first unread message

Stéphane Graber

unread,
May 28, 2026, 12:55:59 PM (14 days ago) May 28
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/main
Home: https://github.com/lxc/lxc
Commit: 459b1bfd3fdd581169e8fcbd16bc9da657aa723e
https://github.com/lxc/lxc/commit/459b1bfd3fdd581169e8fcbd16bc9da657aa723e
Author: Łukasz Stelmach <stl...@poczta.fm>
Date: 2026-05-28 (Thu, 28 May 2026)

Changed paths:
M config/init/common/lxc-net.in

Log Message:
-----------
lxc-net: Even more random IPv6 subnet

Generate a stable IPv6 prefix based on the content of /etc/machin-id.
This way the subnet on every machine will be different but stable between
reboots and software updates.

Note: Although in section 3.1 of RFC 4193[1] the Prefix is declared
to be FC00::/7, the L bit declared to be 1. Hence ULA prefixes
always start with FD.

[1] https://datatracker.ietf.org/doc/html/rfc4193#section-3.1

Follow-up-to: 31012d49a ("lxc-net: Replace random IPv6 subnet")
Signed-off-by: Łukasz Stelmach <stl...@poczta.fm>


Commit: 912555a28115f4a27d07ae2fc6ace1b12dcd06dc
https://github.com/lxc/lxc/commit/912555a28115f4a27d07ae2fc6ace1b12dcd06dc
Author: Stéphane Graber <stgr...@stgraber.org>
Date: 2026-05-28 (Thu, 28 May 2026)

Changed paths:
M config/init/common/lxc-net.in

Log Message:
-----------
Merge pull request #4693 from steelman/lxc-net-ula

lxc-net: Even more random IPv6 subnet


Compare: https://github.com/lxc/lxc/compare/aa6ea354f413...912555a28115

To unsubscribe from these emails, change your notification settings at https://github.com/lxc/lxc/settings/notifications
Reply all
Reply to author
Forward
0 new messages