分类:
2011-02-13 22:42:47
global osm_em
set osm_em [new ErrorModel/Uniform 1 pkt]
$osm_em unit pkt
$osm_em set rate_ 0.01
$osm_em drop-target [new Agent/Null]
$ns lossmodel $osm_em n3 n4
....................................
$ns at 100 "$osm_em set rate_ 0.1"
$ns at 200 "$osm_em set rate_ 0.3"