Bug 1689 - Default router for autoconfigured addresses needs a refactoring
Default router for autoconfigured addresses needs a refactoring
Status: CONFIRMED
Product: ns-3
Classification: Unclassified
Component: ipv6
ns-3-dev
All All
: P5 enhancement
Assigned To: Tommaso Pecorella
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-25 15:01 EDT by Tommaso Pecorella
Modified: 2013-05-25 15:42 EDT (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-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.