Bug 1701 - Ipv6StaticRouting - the source address should match the destination scope
Ipv6StaticRouting - the source address should match the destination scope
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: ipv6
ns-3-dev
All All
: P5 normal
Assigned To: Tommaso Pecorella
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-16 03:33 UTC by Tommaso Pecorella
Modified: 2013-06-16 03:41 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 2013-06-16 03:33:27 UTC
Bugs are like cherries. Once you pick one, there's always another following.

Ipv6StaticRouting is choosing the packet's source address according to the router's address in the RoutingTable.
This is wrong to the boots. The source address *scope* should match the destination address scope.

In other words: the router should have advertised itself from a link-local address, but the node shouldn't care less. If it's sending a packet to a global destination, it should use its global address (unless extremely specific cases, but in these cases the Routing Table is going to be skipped).
Comment 1 Tommaso Pecorella 2013-06-16 03:41:36 UTC
Fixed in changeset 9836:d675eb43a62f