[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LAN causes ns to blowup



I have tried using the lan method a number of different ways to see if ns
will help detail a problem I'm working on, but, can't get it to work. I
tried the example mac-test.tcl provided with ns, and the following is what I
get. HELP!

C:\NS>ns mac-test.tcl -stop 5 -node 5
invalid command name "Mac/Csma/Ca"
    while executing
"Mac/Csma/Ca create _o30 "
    invoked from within
"catch "$className create $o $args" msg"
    (procedure "new" line 3)
    invoked from within
"new $macType_"
    (procedure "_o27" line 14)
    (LanIface init line 14)
    invoked from within
"_o27 init _o10 _o22 -ifqType Queue/DropTail -llType LL -macType Mac/Csma/Ca
-ph
yType Phy/WiredPhy"
    (Class create line 1)
    invoked from within
"LanIface create _o27 _o10 _o22 -ifqType Queue/DropTail -llType LL -macType
Mac/
Csma/Ca -phyType Phy/WiredPhy"
    invoked from within
"catch "$className create $o $args" msg"
    (procedure "new" line 3)
    invoked from within
"new LanIface $src $self  -ifqType $ifqType  -llType  $llType  -macType
$macType
  -phyType $phyType"
    (procedure "_o22" line 14)
    (LanNode addNode line 14)
    invoked from within
"$lan addNode $nodelist $bw $delay"
    (procedure "_o3" line 3)
    (Simulator newLan line 3)
    invoked from within
"$ns newLan $nodelist $opt(bw) $opt(delay)  -llType $opt(ll) -ifqType
$opt(ifq)
 -macType $opt(mac) -chanType $opt(chan)"
    (procedure "create-topology" line 11)
    invoked from within
"create-topology"
    (file "mac-test.tcl" line 150)

This is using the pre-built binaries for WINNT, but, the same thing comes
out on Linux.

Thanks Russ...