0

When IPv6 is enabled for an interface, it will get a link-local address assigned automatically based on the MAC of the network interface.

But who assigns this address? Is it done in the kernel, or by some userspace program that also sets up the interface?

Ideally, I would also be interested in a link to the actual source code where it is done.

2

The kernel on OpenBSD via in6_ifattach_linklocal, as found by a fgrep -rl fe80 /usr/src 2>/dev/null search.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.