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

Re: [ns] Urgent Help Needed Please.



> 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?

If you use any of traffic agents, you can do that. More info is available
in Marc's tutorial and teh ns-manual. if your traffic souerce is 'e' you
should be able to say 

$e set packet_size 100

> 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?

I didnt get this. Time is proportional to packet size in any case. Maybe I
am missing your point.

Debo