Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Comments on How is the IPv6 link-local address calculated?

Post

How is the IPv6 link-local address calculated?

+2
−0

I was told that an IPv6 link-local address — typically starting with fe80:: — is derived from the interface's MAC address. Here are some instruction on how to do the conversion.

But the conversion result doesn't match my actual IPv6 link-local address according to ip a. My IPv6 link-local addresses and MAC addresses don't seem related at all.

How is the IPv6 link-local address really calculated?

I'm on Arch Linux using NetworkManager 1.42.6.

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

Direct use of MAC addresses for IPv6 SLAAC is discouraged (1 comment)
Direct use of MAC addresses for IPv6 SLAAC is discouraged
Canina‭ wrote 10 months ago

I'm not up to writing an actual answer, and if someone wants to take this and turn it into an answer before I have a chance to then that's fine by me; but actually using the MAC address directly to generate an IPv6 address, as that page seems to do, has been broadly discouraged for a good while.

See for example https://datatracker.ietf.org/doc/html/rfc7721#section-3

My guess is that your system is configured to use some variation of IPv6 privacy extensions, for example https://datatracker.ietf.org/doc/html/rfc4941 or https://datatracker.ietf.org/doc/html/rfc7217.