Skip to content

systemd-network: IPv6Token/RFE: Multiple Definitions, Named Auto-Generation Types, Per-Prefix Definition, Anycast/NoDAD #6889

Description

@maddes-b

Submission type: Request for enhancement (RFE)
systemd version: any
Used distribution: Debian 9.1 with systemd v232

  1. Allow to specify multiple IPv6Token for SLAAC
    Useful when multiple addresses are needed for application binding on a single interface or due to limitations/problems with some other nodes (e.g. port forwarding of AVM FRITZ!Box falls back to EUI-64 as soon as an IPv6 address is not reachable).
  2. Provide names to choose between different auto-generation types:
    2.1 "eui64" for EUI-64 of RFC 4291
    2.2 "prefixstable" for RFC 7217
  3. Allow to specify a prefix range an IPv6Token is valid for.
  4. Allow to specify a preferred and validity lifetime.
  5. Allow to specify token as an anycast address (RFC 4291, no DAD)

Example:

### IPv6Token=<token>[,[<prefix range>][,[<validty lifetime>][,[<preferred lifetime>][,anycast]]]]
### Hardware-based EUI-64 Interface ID for all subnets/prefixes, default validity, not preferred
IPv6Token=eui64,,,0
### 2 additional fix Interface IDs for ULA, infinite lifetime, forever preferred, first one as anycast address
IPv6Token=::1,fc00::/7,forever,forever,anycast
IPv6Token=::2,fc00::/7,infinity,infinity
### Additional prefix-stable Interface IDs for GUA, default lifetimes
IPv6Token=prefixstable,2000::/3

Of course IPv6Token could also become a section similar as Address.

[Network]
### Prefix-stable Interface IDs for all subnets
IPv6Token=prefixstable

[IPv6Token]
### Hardware-based EUI-64 Interface ID for all subnets/prefixes, default validity, not preferred
IPv6Token=eui64
PreferredLifetime=0

[IPv6Token]
### Additional fix Interface ID for ULA, infinite lifetime, forever preferred, as Anycast address
IPv6Token=::1
PrefixMatch=fc00::/7
ValidityLifetime=infinity
PreferredLifetime=forever
Anycast=true

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFE 🎁Request for Enhancement, i.e. a feature requestnetwork

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions