Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 935280

Summary: net-misc/netifrc: ability to configure ipv6 tokenized interface addresses (ip-token(8))
Product: Gentoo Linux Reporter: Jaco Kroon <jaco>
Component: Current packagesAssignee: Jaco Kroon <jaco>
Status: CONFIRMED ---    
Severity: enhancement CC: jaco
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://wiki.gentoo.org/wiki/IPv6_Static_Addresses_using_Tokens#Drawbacks_on_MAC-constructed_addresses
Whiteboard:
Package list:
Runtime testing required: ---

Description Jaco Kroon 2024-07-01 14:38:19 UTC
Refer to the ip-token(8) man page for what this is, but also the referenced URL.

There are already existing hacks as per the referenced URL, I just think this can be better formulated such that this can get configured in /etc/conf.d/net using lines like:

ip6token_eth0="::dead:beef"
ip6token_eth0="::192.168.0.1"
ip6token_eth0="::1"

For example.

And this is what I've done, just want to action a bit more testing before filing a PR.  I'm not going to implement the fe80:: hack to also assume the token address for Link-Local (LL), if this is desired I'll look at it, but for now LL addresses can stay EUI64 addresses, as a rule nobody should be looking at these anyway.

Reproducible: Always