Bug 1689

Summary: Default router for autoconfigured addresses needs a refactoring
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: ipv6Assignee: Tommaso Pecorella <tommaso.pecorella>
Status: CONFIRMED ---    
Severity: enhancement CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   

Description Tommaso Pecorella 2013-05-25 15:01:37 EDT
Router Lifetime
                     16-bit unsigned integer.  The lifetime associated
                     with the default router in units of seconds.  The
                     field can contain values up to 65535 and receivers
                     should handle any value, while the sending rules in
                     Section 6 limit the lifetime to 9000 seconds.  A
                     Lifetime of 0 indicates that the router is not a
                     default router and SHOULD NOT appear on the default
                     router list. [...]
Comment 1 Tommaso Pecorella 2013-05-25 15:41:18 EDT
Temporary fix in changeset: 9817:cfb7c304cf2d

The bug is re-classified as enhancement needed since:
1) Default router shouldn't be set in Ipv6L3Protocol::AddAutoconfiguredAddress
2) Removing an auto-configred address shouldn't try to remove the default router
3) Auto-configured addresses doesn't *need* to know the default router
4) The Default Router RT entry should have a expiration time 

Changing the bug title accordingly.