Bug 1883

Summary: IPv6 don't consider the prefix and network when choosing output address
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: ipv6Assignee: Tommaso Pecorella <tommaso.pecorella>
Status: RESOLVED FIXED    
Severity: major CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   

Description Tommaso Pecorella 2014-03-14 18:36:20 UTC
When an interface has multiple IPv6 global addresses, the first one is always chosen, even if the two have different network parts.
Comment 1 Tommaso Pecorella 2014-03-15 10:50:49 UTC
Pushed in changeset: 10663:dbc51b515e49

I would like to thank Laura Heath for forcing me to test something that had to work: multiple global addresses on a node.
As a matter of fact, a node can have multiple IPv6 addresses. The problem was when the packets had to be transmitted.

Funny enough, with this bug a router with multiple addresses on a single device (the usual configuration for most low-end routers) couldn't work.

Not-so-funny enough, nobody noticed this.