[Feature Request] Support EUI-64 or similar for global unicast IPv6 addresses derived from RA

Open
#1,150 3 comments 0 reactions 1 assignee View on GitHub

@shubnil is already working on this.

Since Jun 13, 2024.

  • #1300 by @ljanyst — open

Assessment

This issue has not been assessed yet.

Description

enhancement help wanted

Is your feature request related to a problem? Please describe.
When router advertisements are used as a means of IPv6 address configuration, the IP stack generates a random host id, appends it to the prefix, and sends a neighbor solicitation to rule out a collision: https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/main/source/FreeRTOS_RA.c#L579 This works fine if you assume that the device using the stack will be a client. However, when the device needs to be a server, a stable address is needed. Normally, EUI-64 or a similar method could be used for generation of such address.

Describe the solution you'd like
Please add a way to derive stable addresses from router advertisements.

Describe alternatives you've considered
I am forced to assign my addresses statically.

Dominant language
C
Stars
215
Forks
222
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FreeRTOS/FreeRTOS-Plus-TCP

All issues in FreeRTOS/FreeRTOS-Plus-TCP

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.