[ns] Cache in ns2

2011-04-29 Thread Girish Padhi

hello,
  I have to implement a cache replacement algorithm for co-operative
caches which requires message passing between nodes and i am planning to use
http/cache for this purpose.Any suggestion how i can implement it and kindly
suggest me how to change the size of the cache..

thanks .


[ns] regarding calculation

2011-04-29 Thread ankit ankit

sir/madam,
I am new to NS-2 doining my project on scheduling algorithm
for WiMax for ME.I generate trace file i using tracegraph to calculate
throughput,jitter.and fairness. i got the graphs but not able to get
mathematical values .plz help me out thanks .i also attach my graphs


[ns] CRCN PROBLEM

2011-04-29 Thread Amjad Ali

ALI

I installed

1) ns2 2.31 (no problems there )
2)CRCN patch ( copied files under the required directories and added the
four lines to makefile )
3)./configure (no problems)
4)make depend (no errors)
5)make clean (no errors)
6)make  ( make *** [ns] 1 Error

also the ns command at command line dont work after all these steps giving
bash ns command not found message
my system is ns2.31, linux enterprize server
any clues or suggestions would be greately apretiated
Thank you all
Ali


[ns] How to process data packets in routing layer?

2011-04-29 Thread thn80


Hello,

for a novel routing protocol I have to extract some information from data
packets to store this information into the routing table.
How is it possible to access data packets from the routing layer?

Thanks,

Thomas
-- 
View this message in context: 
http://old.nabble.com/How-to-process-data-packets-in-routing-layer--tp31505299p31505299.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] awk file for control overhead

2011-04-29 Thread Moses Mbira

Hello,

 

 I need awk file to calculate routing/control overhead

 

 

  of AODV,DSR...Could anyone please send me?

 

 Thank you in advance.

 Moses

 

 

 

 

Only a life lived for others is a life worthwhile.  ~Albert Einstein

 



[ns] LEACH implemantion on ns2

2011-04-29 Thread Sachin Pal

HELLO...
I am working on the Energy Efficient Clustering Algorithm for LEACH
   Protocol.Can you provide me the way off implement the the LEACH protocol
on
   the issue of Load Balancing factor.
   Thanks
   Have a good day.
   Sachinpal


[ns] How to check the contents of data at received node????

2011-04-29 Thread yugesh gowda

I have created a udp packet with contents 0011 by using allocdata_ as
shown in below code  between node 0 and 2..


#
# 0 connecting to 2 at time 2.93667922166023
#
set udp_(0) [new Agent/UDP]
$ns_ attach-agent $node_(0) $udp_(0)
set null_(0) [new Agent/Null]
$ns_ attach-agent $node_(2) $null_(0)
set cbr_(0) [new Application/Traffic/CBR]
$cbr_(0) set packetSize_ 512
$cbr_(0) set interval_ 0.05
$cbr_(0) set random_ 1
$cbr_(0) set maxpkts_ 1
$cbr_(0) set allocdata_ 0011
$cbr_(0) attach-agent $udp_(0)
$ns_ connect $udp_(0) $null_(0)
$ns_ at 2.93667922166023 $cbr_(0) start


So da node 2 received the packet..

Now how to check the data at recived node i.e node 2..?
Help please.. Urgent



[ns] Fwd: How to check the contents of data at received node????

2011-04-29 Thread yugesh gowda

I have created a udp packet with contents 0011 by using allocdata_ as
shown in below code  between node 0 and 2..


#
# 0 connecting to 2 at time 2.93667922166023
#
set udp_(0) [new Agent/UDP]
$ns_ attach-agent $node_(0) $udp_(0)
set null_(0) [new Agent/Null]
$ns_ attach-agent $node_(2) $null_(0)
set cbr_(0) [new Application/Traffic/CBR]
$cbr_(0) set packetSize_ 512
$cbr_(0) set interval_ 0.05
$cbr_(0) set random_ 1
$cbr_(0) set maxpkts_ 1
$cbr_(0) set allocdata_ 0011
$cbr_(0) attach-agent $udp_(0)
$ns_ connect $udp_(0) $null_(0)
$ns_ at 2.93667922166023 $cbr_(0) start


So da node 2 received the packet..

Now how to check the data at recived node i.e node 2..?
Help please.. Urgent