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

[ns] Why nam can't show the graph of topology ?



Hi:

I'm studying ns-2 to simulate routing procedure. I download the all-in-one package and install it
to a Solaris2.6(SPARC) box. It seems all goes well. But when I try to run the sample script of
routing, ns-2.1b8a/tcl/ex/simple-dyn.tcl  ns-2.1b8a/tcl/ex/simple-eqp.tcl , by running as
"ns simple-dyn.tcl", the nam runs and a instance is created to show the graph of topology. But
there is NO graph of topology showed up although I can click "run" to replay the simulation process.
I find  the xgraph can't show the right color when I try to run the sample script in the on-line introduction
course. Why? How can I solve this problem?

Another question is , is there any sample of implementing a simulation of a new routing method in NS-2?

Best regards

-- 
Jing Shen

**********************************************************************
* The SunShine of life is made up of very little beams which is      *
*  bright all the time                                               *
**********************************************************************