sbyx / hnetd

HomeNet-CP implementation (WIP)
Apache License 2.0
39 stars 16 forks source link

Generates new ULA prefix after each reboot #52

Closed toreanderson closed 8 years ago

toreanderson commented 8 years ago

This violates RFC 7084's ULA-2 requirement:

ULA-2:  An IPv6 CE router with a ULA prefix MUST maintain this prefix
        consistently across reboots.

Not only that, it leads to a bad user experience - as I understand it, the whole point of ULAs is to provide stable in-home addresses that are independent of ISP-delegated prefixes.

Uncommenting the line option persistent_store /etc/hnet-pa.store in the config pa pa stanza of /etc/config/hnet fixes the problem and makes the generated ULA prefix persist across reboots.

Given the ULA-2 requirement quoted above, this really ought to be made the out-of-the-box default behaviour.

toreanderson commented 8 years ago

This got fixed by openwrt-routing/packages@d87fe599698c80ff192b48db4813b7a3b270f1e4. Closing.