[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Urgent Help Needed Please.
Hi ns-users,
I have three nodes - n1, n2 and n3.
n1 is connected to n2 and n2 is connected to n3.
n1-------n2--------n3.
Problem-1:-
I need to generate packets from n1 with different packet sizes and
different intergeneration times. How can i do this?
Problem-2:-
n2 must pass the packet on to n3 using some packet-scheduling algorithm. The
time taken by n2 to process a packet must be equal to the size of the packet.
How can i do this?
(Note:- problem is not in creating the packet-scheduling algorithm. I have
already implemented the packet-scheduling algorithm. problem is in the
generation and processing of packets with different packet sizes and inter
generation time.)
Please anyone, help me.
I need to do this very urgently.
Any help/references will be extremely appreciated.
Thank you,
Regards,
ravi
---------- Forwarded message ----------
Date: Wed, 01 Nov 2000 21:58:43 -0300 (EST)
From: Carlos Alberto Kamienski <[email protected]>
To: [email protected]
Cc: [email protected], Arunabha Sen <[email protected]>
Subject: Re: [ns] problem with colors
> Hi ns-users,
> I have implemented a set of algorithms using ns. They generate a network with
> a set of hosts, routers and destinations. Packets are generated from nodes
> and move to destinations through the routers. In the tcl-script, i have
> configured packets from different flows to have different colors.
> My problem is the following.
> When i say "nam out.nam" to execute the nam file, the different colors for
> different packets do not show up.
> Can any one help me regarding this? Why arent colors showing up?
Are you making the necessary settings, as presented in example 2 of Mark
Greis tutorial ?
Field color must be set (e.g., $ns color 1 Blue), for all colors.
And agents must have field fid_ set (e.g. $udp0 set fid_ 1)
Carlos
> Thank you, regards, ravi
>
>