On Tue, 2008-09-30 at 23:54 +0200, Davide wrote:
> Hi guys,
> 
> how to modify during the simulation the bitrate of a wired link according to
> a file?
Hi there, you can use these lines to obtain a reference of the link
between $N1 and $N2 and change its bitrate:

set link_ref [[$ns link $N1 $N2] link]
$ns at $time "$link_ref set bandwidth_ $new_value"

All you have to figure out is how to get $time of change and $new_value
kbps from file.

Bye.

-- 
Francesco Zampognaro 

Reply via email to