From: Richard Whitehouse Date: Fri, 15 Apr 2011 22:45:08 +0000 (+0100) Subject: Raise default data rate for Ethernet to 1 Gbps X-Git-Url: https://git.richardwhiuk.com/?a=commitdiff_plain;h=10a9d1ae6399f7bf99979df505feb48bf4f59ae3;p=ns-moose.git Raise default data rate for Ethernet to 1 Gbps --- diff --git a/src/helper/moose-helper.cc b/src/helper/moose-helper.cc index 499da03..9d30baa 100644 --- a/src/helper/moose-helper.cc +++ b/src/helper/moose-helper.cc @@ -36,7 +36,7 @@ MooseHelper::MooseHelper(){ // Medium - csma.SetChannelAttribute ("DataRate", DataRateValue (5000000)); + csma.SetChannelAttribute ("DataRate", DataRateValue (DataRate("1Gbps"))); csma.SetChannelAttribute ("Delay", TimeValue (MilliSeconds (2))); // Internet