Skip to content
  • Thomas Haller's avatar
    all: add stable-id specifier "${DEVICE}" · eb821ead
    Thomas Haller authored
    Add new stable-id specifier "${DEVICE}" to explicitly declare that the
    connection's identity differs per-device.
    
    Note that for settings like "ipv6.addr-gen-mode=stable" we already hash
    the interface's name. So, in combination with addr-gen-mode, using this
    specifier has no real use. But for example, we don't do that for
    "ipv4.dhcp-client-id=stable".
    Point being, in various context we possibly already include a per-device
    token into the generation algorithm. But that is not the case for all
    contexts and uses.
    
    Especially the DHCPv4 client identifier is supposed to differ between interfaces
    (according to RFC). We don't do that by default with "ipv4.dhcp-client-id=stable",
    but with "${DEVICE}" can can now be configured by the user.
    Note that the fact that the client-id is the same accross interfaces, is not a
    common problem, because profiles are usually restricted to one device via
    connection.interface-name.
    eb821ead