Bug 1168

Summary: BridgeNetDevice: Default ExpirationTime not realistic
Product: ns-3 Reporter: Gustavo J. A. M. Carneiro <gjcarneiro>
Component: bridgeAssignee: Gustavo J. A. M. Carneiro <gjcarneiro>
Status: RESOLVED FIXED    
Severity: minor CC: ns-bugs, tomh
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   

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