[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] How to change default values (listed in ns-default.tcl)?



Hello,

I want to change some of the default values in NS (such as CBR packet
size, Phy/WirelessPhy bandwidth).  I've modified the following 
lines in ns-default.tcl:
		Application/Traffic/CBR set packetSize_ 210
		Phy/WirelessPhy set bandwidth_ 2e6
to
		Application/Traffic/CBR set packetSize_ 1000
		Phy/WirelessPhy set bandwidth_ 1e6

However, when I run my simulation, NS still usese the default values
instead of the new values.  Can anyone please tell me how to change 
the default values in NS?

Thank you.
Susan