[ns] dynamic link and/or bandwidth
Pendzick, John N.
john.pendzick at ngc.com
Tue Jan 27 07:07:42 PST 2004
Can NS support dynamic changes in a links bandwidth and/or link delay?
Seems like just getting the link and redefining the link delay or
bandwidth at a specific time doesn't change the value...(example below)
$ns duplex-link $n0 $n1 10Mb 10ms DropTail
set link [$ns link $n0 $n1]
$ns at 2.0 "$link set delay 1ms"
Can Nam support the visualization of this change to the bandwidth or
link delay? Can NS itself do support it?
If not where in the C code is the delay and bandwidth being set and used
to define the propogation delay of a packet going between point A and
point B?
Anybody have a better idea of how to achive this goal then hacking the
source code? Is there a package out there that is already written to
support this change in bandwidth and/or link delay?
John Pendzick
john.pendzick at ngc.com
More information about the Ns-users
mailing list