Open maribu opened 9 months ago
Do you have a packet capture of what RIOT is requesting there?
The request from the RIOT device:
DHCPv6
Message type: Request (3)
Transaction ID: 0x9c58a3
Client Identifier
Option: Client Identifier (1)
Length: 10
DUID: 00030001a4cf1244e814
DUID Type: link-layer address (3)
Hardware type: Ethernet (1)
Link-layer address: a4:cf:12:44:e8:14
Server Identifier
Option: Server Identifier (2)
Length: 10
DUID: 00030001c87f54e24f50
DUID Type: link-layer address (3)
Hardware type: Ethernet (1)
Link-layer address: c8:7f:54:e2:4f:50
Option Request
Option: Option Request (6)
Length: 2
Requested Option code: SOL_MAX_RT (82)
Identity Association for Prefix Delegation
Option: Identity Association for Prefix Delegation (25)
Length: 41
IAID: 00190009
T1: 0
T2: 0
IA Prefix
Option: IA Prefix (26)
Length: 25
Preferred lifetime: 0
Valid lifetime: 0
Prefix length: 64
Prefix address: ::
Elapsed time
Option: Elapsed time (8)
Length: 2
Elapsed time: 0ms
The reply from the DHCPv6 server:
DHCPv6
Message type: Reply (7)
Transaction ID: 0x9c58a3
Server Identifier
Option: Server Identifier (2)
Length: 10
DUID: 00030001c87f54e24f50
DUID Type: link-layer address (3)
Hardware type: Ethernet (1)
Link-layer address: c8:7f:54:e2:4f:50
Client Identifier
Option: Client Identifier (1)
Length: 10
DUID: 00030001a4cf1244e814
DUID Type: link-layer address (3)
Hardware type: Ethernet (1)
Link-layer address: a4:cf:12:44:e8:14
SOL_MAX_RT
Option: SOL_MAX_RT (82)
Length: 4
DNS recursive name server
Option: DNS recursive name server (23)
Length: 16
1 DNS server address: fd71:af38:1d57::1
Identity Association for Prefix Delegation
Option: Identity Association for Prefix Delegation (25)
Length: 18
IAID: 00190009
T1: 0
T2: 0
Status code
Option: Status code (13)
Length: 2
Status Code: NotOnLink (4)
And the whole exchanged captured at the OpenWrt Box: https://mari-bu.de/capture.pcapng
Description
From: https://www.rfc-editor.org/rfc/rfc3315#section-18.1.8
This behavior however is not implemented.
Steps to reproduce the issue
Connect an OpenWrt router to a FritzBox and enable prefix delegation on both the FritzBox and the OpenWrt box. The OpenWrt will get /57 prefix delegated. Then, flash the
gnrc_boarder_router
example withUPLINK=wifi
and SSID and password of the OpenWrt box.Expected results
The ESP32 will get a prefix from the OpenWrt box.
Actual results
Versions
2024.01-branch and current master