[ns] packet rate in cbrgen

Mohammad Haseeb Zafar haseeb at eee.strath.ac.uk
Wed Nov 8 06:41:28 PST 2006


Hi

To create CBR connecions, run

ns cbrgen.tcl [-type cbr|tcp] [-nn nodes] [-seed seed] [-mc connections]
[-rate rate]

For example ,
ns cbrgen.tcl -type cbr -nn 50 -seed 1.0 -mc 20 -rate ?

If I want to set rate at 10 packets/sec, what should I mention in rate 10 or 1/10 as rate=1/interval. README file for cbrgen as well as connection pattern files (/mobility/scene...)seem confusing.

Please clarify.

Cheers

Haseeb


More information about the Ns-users mailing list