When an HNCP router is restarted, the prefixes it allocated to a link are
"adopted" by neighbouring routers; if the router then restarts, it will
agree to the prefixes advertised by its neighbours, which avoids
renumbering.

Unfortunately, this only applies to link with multiple HNCP routers: on
a stub link, a random prefix will be chosen every time we are restarted,
since there are no neighbours that can maintain the state for us.  I can
see the following solutions:

  1. store the chosen prefix in stable storage (but stable storage sucks);

  2. make an initial choice that is a hash of the interfaces MAC address
     (I believe that this is what hnetd does);

  3. snoop ND/ARP traffic and intuit a suitable prefix.

Any better ideas?

-- Juliusz

_______________________________________________
homenet mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/homenet

Reply via email to