Sunday, 23 March 2014

Trust AODV




  Trust can be evaluated in enormous ways in AODV protocol . Trusting the neighborhood  nodes is vital and prominent in network while transferring the data to destination. As all act as routers in MANET, its necessary to trust the neighbor node and communicate.  Below are trust worthy measures in Ns-2 aodv protocol .

1.Acknowledgements
Packet Precision
Gratuitous Route Replies
Blacklists
Hello Packets
Destination Unreachable Messages

For Complete Implementation  if TRUSTAODV protocol in Ns-2 :  CLICK HERE

Trust AODV




  Trust can be evaluated in enormous ways in AODV protocol . Trusting the neighborhood  nodes is vital and prominent in network while transferring the data to destination. As all act as routers in MANET, its necessary to trust the neighbor node and communicate.  Below are trust worthy measures in NS2 aodv protocol .


1.Acknowledgements
Packet Precision
Gratuitous Route Replies
Blacklists
Hello Packets
Destination Unreachable Messages

For Complete Implementation  if TRUST AODV protocol in NS2 :  CLICK HERE

Wednesday, 19 March 2014

Test Ns-2 application in UC browser

Hello pals,
                    UC Browser is the worlds fastest browser for mobile browsing.Its developed by Chinese based UCWeb company Its highly recommended for low internet usage and high availability. 'one can get 3G speed in 2 G SIM using UC broswer inbuilt data optimization techiniques. Just a try and get benefit from it .For more info Click Here

                    Best CPU and RAM utilization while browsing. one can always test the network parameters in this browser. Network parameters like Threshold, Bandwidth , Jitter, Delay , Packet delivery ratio  are highly addressed in this browser.

                  Test your NS-2 deployed application in UC Browser. UC browser designed with high level parsing and cache handling techniques.
           
                   Free UC browser download with out play store ,nokia store and apple store. For all types of devices like PC's , Mobile's , Java based.  

                   

                        UC Browser : Download

Monday, 17 March 2014

NAM colors,annotations

Hello pals, 
                   One can always enchance the look and feel of  NAM UI . it mainly helpful while demonstrating to others. 
                   Colors , annotations, labels, packet colors, control play back all these plays vital role in enriching NAM animator in Ns-2
                   We will see one by one . 
   

1. Wired Link options

$ns duplex-link-op $n1 $n2 label “user defined text here”
$ns duplex-link-op $n1 $n2 color blue
$ns duplex-link-op $n1 $n2 label-at up
$ns duplex-link-op $n1 $n2 label-color green

2. Node options — color, shape, label
    $n1 ---> means node 1 that you defined in your Tcl file . 

$n1 color blue    // sets the node color to blue
$n1 shape hexagon
$n1 label-at up // sets the label up the link
$n2 label “user defined text here”   // sets for node 2
$n2 label-color green // label color set to green


3.Packet colors

$agent set fid_ $node
$ns color $node blue 
4. Control playback
$ns set-animation-rate 3ms   // control playback time in milli seconds

5. Annotation

set text "this is annotation shows at run time of nam"
set time 4.0
$ns at $time “$ns trace-annotate $text”  // at 4.0 , an annotation will display 

 //  its highly useful when packet transfer completed or show some attacks in the networks.transmission rate, no of nodes in the network etc..

NAM colors,annotations

Hello pals, 
                   One can always enchance the look and feel of  NAM UI . it mainly helpful while demonstrating to others. 
                   Colors , annotations, labels, packet colors, control play back all these plays vital role in enriching NAM animator in NS2
                   We will see one by one . 
   

1. Wired Link options

$ns duplex-link-op $n1 $n2 label “user defined text here”
$ns duplex-link-op $n1 $n2 color blue
$ns duplex-link-op $n1 $n2 label-at up
$ns duplex-link-op $n1 $n2 label-color green

2. Node options — color, shape, label
    $n1 ---> means node 1 that you defined in your Tcl file . 

$n1 color blue    // sets the node color to blue
$n1 shape hexagon
$n1 label-at up // sets the label up the link
$n2 label “user defined text here”   // sets for node 2
$n2 label-color green // label color set to green


3.Packet colors

$agent set fid_ $node
$ns color $node blue 
4. Control playback
$ns set-animation-rate 3ms   // control playback time in milli seconds

5. Annotation

set text "this is annotation shows at run time of nam"
set time 4.0
$ns at $time “$ns trace-annotate $text”  // at 4.0 , an annotation will display 

 //  its highly useful when packet transfer completed or show some attacks in the networks.transmission rate, no of nodes in the network etc..

How to Generate Patch in NS-2


Patch 
         In general , patch means a piece of cloth or other material used to mend or strengthen a torn or weak point. In networks , it means to apply the modifications to the existing file. its a kind of diff between existing and modified one. 
 "diff" command is used to generate patch file for directories  in NS-2. Clear Explanation about the patch creation is specified in the article named  "What's the diff?".

 dIff is used to evaluate the difference between the two files. 

 patch for a directory structure command:
diff -rau "old_directory" "modified_directory" > "patch_file"

r: recursive mode
a: All files as text
u: Output NUM (default 3) lines of unified context.
If you taking files difference in to consideration then remove r from the command

      diff -au "old_dir" "modified_dir" > "patch_file"

For more details please go to CLICK HERE 

Generate Patch in NS2


Patch 
         In general , patch means a piece of cloth or other material used to mend or strengthen a torn or weak point. In networks , it means to apply the modifications to the existing file. its a kind of diff between existing and modified one. 
 "diff" command is used to generate patch file for directories  in NS2. Clear Explanation about the patch creation is specified in the article named  "What's the diff?".

 dIff is used to evaluate the difference between the two files. 

 patch for a directory structure command:

diff -rau "old_directory" "modified_directory" > "patch_file"

r: recursive mode
a: All files as text
u: Output NUM (default 3) lines of unified context.
If you taking files difference in to consideration then remove r from the command

      diff -au "old_dir" "modified_dir" > "patch_file"

For more details please go to CLICK HERE