Bug 1168 - BridgeNetDevice: Default ExpirationTime not realistic
BridgeNetDevice: Default ExpirationTime not realistic
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: bridge
ns-3-dev
All All
: P5 minor
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-20 10:35 EDT by Gustavo J. A. M. Carneiro
Modified: 2011-08-18 12:13 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo J. A. M. Carneiro 2011-05-20 10:35:02 EDT
When I wrote BridgeNetDevice for some reason I was convinced there was nothing about default values in the standard, but I just discovered I was wrong:

    .AddAttribute ("ExpirationTime",
                   "Time it takes for learned MAC state entry to expire.",
                   TimeValue (Seconds (30)),
                   MakeTimeAccessor (&BridgeNetDevice::m_expirationTime),
                   MakeTimeChecker ())

The standard 802.1D-2004 says in page 44 sec. 7.9.2:

Parameter: Ageing Time
Recommended default value: 300.0 s
Range: 10.0–1 000 000.0 s

We should probably fix ns-3 to be more aligned with the standard.
Comment 1 Tom Henderson 2011-08-09 16:32:49 EDT
+1
Comment 2 Gustavo J. A. M. Carneiro 2011-08-18 12:13:52 EDT
changeset:   7452:5ad2cbe1d2f6
tag:         tip
user:        Gustavo J. A. M. Carneiro  <gjc@inescporto.pt>
date:        Thu Aug 18 17:13:33 2011 +0100
summary:     Bug 1168 - BridgeNetDevice: Default ExpirationTime not realistic