O'Reilly logo

A Study of Black Hole Attack Solutions by Oluwatobi Ayodeji Akanbi, Iraj Sadegh Amiri, Elahe Fazeldehkordi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A

Blackholeaodv TCL File

# blackholeaodv TCL file
#
# =======================================
# Define options
#
# =======================================
set val(Chan) Channel/WirelessChannel ;   #ChannelType
set val(prop) Propagation/TwoRayGround ;  # radio-propagation model
set val(netif) Phy/WirelessPhy ;      # network interface type
set val(mac) Mac/802_11 ;          # MAC type
set val(ifq) Queue/DropTail/PriQueue ;   # interface queue type
set val(ll) LL ;                # link layer type
set val(ant) Antenna/OmniAntenna ;     # antenna model
set val(ifqlen) 150 ;             # max packet in ifq
set val(nn) 6 ;               # total number of mobilenodes
set val(n6) 6;               # create 6 nodes
set val(nnaodv) 5 ;            # ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required