nettwork: introduce delegated prefix assign#14956
Conversation
60eabe2 to
8a2ae8a
Compare
yuwata
left a comment
There was a problem hiding this comment.
Looks good. Only nitpicky comments.
8a2ae8a to
30a3456
Compare
|
updated thanks for the review @yuwata |
127463c to
b4d56a6
Compare
|
After reconsidering this PR, now I think the new setting should be in [IPv6Prefix] section, rather than [Network] section. Then, per-prefix control to assign the address becomes possible. If you agree with that, I will update the commits (and add a test case). WDYT? |
|
Yes makes sense thanks. |
|
OK. I will slightly update them. |
b4d56a6 to
8acf50b
Compare
|
@ssahani Updated. PTAL. |
Expose a boolean flag to automatically add an address from the delegated prefix to the interface
8acf50b to
3c874fd
Compare
|
Perfect |
|
Im not very familiar with the code but can the |
|
No. The suffix is eui64, that is, generated from MAC address. |
How does this work with dhcpv6-delegated prefixes from other interface then? I thought [IPv6Prefix] section is only for static prefixes. |
|
so with this: it works, my /56 is delegated etc. On the wan interface, is used, which gets the /56 from the ISP, but, each of the LAN interfaces don't end up w/ an IP assigned in their respective ranges. |
Expose a boolean flag to automatically add an address from the delegated prefix to the interface.
closes #14474