You must be logged in to reply to this topic.
I ‘m using the following code to print thee routing table at a node
set now [$ns_ now]
puts “Routing table of node $node_(2) “
set dr [$node_(2) rtObject?]
$dr dump-routes $tracert
I use array of node and I want to print the routing table at node 2
the following error appears
num_nodes is set 25
INITIALIZE THE LIST xListHead
Loading connection pattern…
Loading scenario file…
Routing table of node _o52 at time 0
invalid command name “”
while executing
“$dr dump-routes $tracert”
(file “adhoc3.tcl” line 154)
Pl help me
You must be logged in to reply to this topic.