Hi,
If I really understand your problem, you need to the random size for each
packet but using CBR traffic model? Why not modify the CBR application c++
code and modify the variable size_ ( which is usually have its value from
bind with tcl script ). So in the function which sends the packet you can
modify the variable size_ before send the packet...It shall work I think...
I don't know whether it is that you want in your simulation.


Mostafa Shahverdy wrote:
> 
> 
> Dear all,
> 
> I am new to NS and I am sucked with a problem that I can't solve,
> I need to generate tarffic with arbitrary sizes, I mean each packet
> with a diffrent size, I know how to generate traffic using CBR with
> fixed packet size (this is simple), but I think I must use "trace
> file" as input, I googled a lot, but I couldn't find out how, In fact
> I fount a sample that did this, but the input trace file was binary.
> Can anyone please help me with this?
> 
> thanks
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Problem-generating-a-Trace-File-tp32436776p32439153.html
Sent from the ns-users mailing list archive at Nabble.com.

Reply via email to