Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Neighbor Discovery Proxy (RFC 4389) #20420

Open
benpicco opened this issue Feb 22, 2024 · 1 comment
Open

Implement Neighbor Discovery Proxy (RFC 4389) #20420

benpicco opened this issue Feb 22, 2024 · 1 comment
Labels
Area: network Area: Networking Type: new feature The issue requests / The PR implemements a new feature for RIOT

Comments

@benpicco
Copy link
Contributor

benpicco commented Feb 22, 2024

Description

When operating a border router, we have to rely on requesting a prefix for the 6LoWPAN network via DHCPv6 IA_PD.

This is not always possible, it requires cooperation of both the upstream router (feature needs to be implemented) and the administrator (must be willing to enable the feature).

As an alternative, we can implement a neighbor discovery proxy.
In this mode, we would operate like a bridge, all IPv6 packets received on one interface are sent out verbatim on all other interfaces (with proxy enabled), but with a new L2 header.

Some ICMPv6 messages need to be rewritten to exchange the L2 addresses contained within them.
This affects:

  • neighbor solicitation
  • neighbor advertiseent
  • router advertisement
  • redirects - could be omitted, we don't implement those

Useful links

https://datatracker.ietf.org/doc/html/rfc4389

https://github.com/contiki-os/contiki/wiki/6LP-GW

https://people.kth.se/~maguire/DEGREE-PROJECT-REPORTS/111221-Luis_Maqueda-with-cover.pdf

@benpicco benpicco changed the title Neighbor Discovery Proxy (RFC 4389) Implement Neighbor Discovery Proxy (RFC 4389) Feb 22, 2024
@benpicco benpicco added Area: network Area: Networking Type: new feature The issue requests / The PR implemements a new feature for RIOT labels Feb 22, 2024
@chrysn
Copy link
Member

chrysn commented Feb 22, 2024

Thanks for engaging here. This will also help enhance the #16840 story, because so far that relies on the OpenWRT router to actually have something to delegate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: network Area: Networking Type: new feature The issue requests / The PR implemements a new feature for RIOT
Projects
None yet
Development

No branches or pull requests

2 participants