File: README

package info (click to toggle)
ns2 2.35%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 78,796 kB
  • sloc: cpp: 172,923; tcl: 107,130; perl: 6,391; sh: 6,143; ansic: 5,846; makefile: 816; awk: 525; csh: 355
file content (29 lines) | stat: -rw-r--r-- 766 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Header: /cvsroot/nsnam/ns-2/indep-utils/cmu-scen-gen/README,v 1.3 1999/08/12 21:37:32 haldar Exp $

********** README for using CMU's connection pattern **************
            ************** file generators ************

A. Connection pattern file generator
-------------------------------------
Directory:
~ns/indep-utils/cmu-scen-gen

Files:
cbrgen.tcl -- for generating CBR connections
& for generating TCP connections

Method:

to create CBR/TCP connecions, run

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

For example ,
ns cbrgen.tcl -type cbr -nn 10 -seed 1 -mc 8 -rate 4

OR
ns cbrgen.tcl -type tcp -nn 25 -seed 0 -mc 20

note: You will need to pipe the outputs from above to a cbr-* or a tcp-*
output file.