[ns] how to dump routing table

2008-11-24 Thread kanupriya kabra
Hello, I am simulating a large network which uses a link state protocol ($ns rtproto LS). I wanted to find out if there is way to dump the routing table of each router i. on screen ii. in a file I would really appreciate if someone could help me out with this! Thanks and Regards Kanupriya

Re: [ns] Fwd: Problem with trace-all in NS2

2008-11-16 Thread kanupriya kabra
{} { global ns nf *tracefile1* $ns flush-trace #Close the trace file close $tracefile1 close $nf #Execute nam on the trace file exec nam out.nam exit 0 } On Sun, Nov 16, 2008 at 4:15 AM, kanupriya kabra [EMAIL PROTECTED]wrote: hi I am

[ns] Fwd: Problem with trace-all in NS2

2008-11-15 Thread kanupriya kabra
hi I am not able to collect the traces using trace-all command in NS2 (on windows): Here is a snapshot of my file #Create a simulator object set ns [new Simulator] #Open the Trace file set tracefile1 [open out.tr w] $ns trace-all $tracefile1 #Open the nam trace file set nf [open out.nam w]