Bugzilla – Bug 1749
Ipv6AddressHelper can be only instantiated once
Last modified: 2015-02-05 10:12:56 UTC
Bug reported by Francisco Javier Sánchez-Roselly <fnavarro@ujaen.es>. Credits to him for finding it. You can not use two different Ipv6AddressHelper instances to assign different addresses to nodes. Once the second is set, the first one will act as a mirror of the second, assigning the wrong numbers. The reason relies on the Ipv6AddressGeneratorImpl, which *is* a singleton. Hence, once the second Ipv6AddressHelper::SetBase is called, the other Ipv6AddressHelper will be reset as well to the new values. This is terribly counterintuitive, and totally not in line with the Ipv4AddressHelper behaviour.
*** This bug has been marked as a duplicate of bug 1745 ***