Hi all,

I am currently trying to assign a specific node id to each node created in
my tcl script but I can't find how to do it.
When a node is created, tcl assigns a node id by incrementing its value with
each new node, the C++ address is mapped on this node id I think.  But in my
case I don't want to have nodes whose addresses are 0, 1, 2 etc. I want
nodes with addresses 0, 10, 11, 12, 20, 21, 22 etc.

So, if anyone knows the answer of how to assign a specific node id from tcl
script, I would be very grateful if you could help me.
I work with ns-2.34.

Thanks in advance,

Albane

Reply via email to