Professional Documents
Culture Documents
INTRODUCTION
GloMoSim is the Global Mobile Information
Systems Simulation Library from UCLA.
– Specially oriented to simulate wireless, ad-hoc
networks.
It can be obtained from
http://pcl.cs.ucla.edu/projects/glomosim/
Outline
Running a basic simulation.
Observing the results
Few case studies
Installation on a Windows NT-kernel
system.
Running GLOMOSIM using C compiler
GlomoSim Model
Follows a layered approach for a network
protocol architecture
FTP, TELNET, HTTP, CBR
Application TCP, UDP
Transport AODV, DSR, LAR, ODMRP, ZRP
Network MACA, CSMA, 802.11, TSMA
Link(MAC)
Free space, Two ray, Rayleigh, Ricean
Physical
Uses one entity for all the communication layers for ease of inter-
layer communication
Basic Structure
/application contains code for the application layer
/bin for executable and input/output files
/doc contains the documentation
/include contains common include files
/mac contains the code for the mac layer
/main contains the basic framework design
/network contains the code for the network layer
/radio contains the code for the physical layer
/transport contains the code for the transport layer
/scenarios contains directories of various sample
configuration topologies
Small Ad hoc Network
D
c
Files to be modified
Config.in file
App.config file
typedef struct{
unsigned BroadcastId;
NODE_ADDR lastAddr;
unsigned char seqNumber;
unsigned char hopCount;
} AODVRREQ;
Read code along with IETF Documentation
Do a google search for protocol specific that
you are studying
Add your counter
Go to comman prompt
go to glomosim/main do makent
Go to glomosim/bin and do glomosim
config.in (i.e run the CONFIG.IN FILE with
the mentioned parameters in config.in)
To observe the results do edit glomo.stat
Continued..
Creating a new table
Create a new structure with required variables in
.h file
Include the pointer of the new structure in the
glomorouting structure in .h file.
Make a call to the newly defined structure in .pc
file appropriately
AODV.h file
Modifications in AODV.pc
Continue….
Glomo.stat
Defining new functions
Include the prototype of the functions in .h file
– PATH
C:\glomosim\parsec\bin
Go to glomosim/main
and do makent.
Once the makent is
complete, GloMoSim
is ready to use.
Thank You