Odhcp6c: Possible to specify IAID (for DHCPv6-PD)?

I haven't been able to find a way to configure the IAID used by odhcp6c when requesting an IPv6 prefix over DHCPv6-PD.

Is there a good way to set that somehow? :slightly_smiling_face: Is it named something else?

Yes - change MAC address.

The IAID used by OpenWrt is 00000001. It doesn't seem related to the MAC address in any way. :slightly_smiling_face:

The DUID on the other hand is related to the MAC address by default in OpenWrt since it defaults to a Type 3 DUID. That can be overridden by setting the client-id paramerer though, so that's not an issue. I currently have it set to a Type 4 DUID and have confirmed that the new DUID is used.

Here’s a suggestion from a few years ago:

2 Likes

That looks promising. Thanks! :grinning_face:

I'll give that a try in a couple of hours and report back.

This undocumented feature still works. Thanks for finding that post! :grinning_face:

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.