Bug 1883 - IPv6 don't consider the prefix and network when choosing output address
IPv6 don't consider the prefix and network when choosing output address
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: ipv6
ns-3-dev
All All
: P5 major
Assigned To: Tommaso Pecorella
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-14 18:36 UTC by Tommaso Pecorella
Modified: 2014-03-15 10:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.