Você está na página 1de 7

GloMoSim

REQUIREMENTS: 1. Operating System Microsoft Windows 2007,XP, 2000. 2. Softwares y Visual Studio 2006(Visual Basics 6.0). y GloMoSim Software (version 2.1). INSTALLATION: Open Glomosim zip file Open glomosim 2.0 version Extract the files such as glomosim and parsec Copy and paste those files in my computer C: Copy the 4 files in parsec windowsnt-4.0-vc6 Paste it in parsec and C: Open the glomopath in glomosim zip file Start my computer right click properties advanced environmental variables new Copy the variable name and value from glomopath file and paste. Click ok. Restart the PC

RUNNING GloMoSim

GloMoSim Commands to Run the NetWork y y y y y y y y Start run cmd

C:\>cd glomosim C:\glomosim>cd main C:\glomosim\main>makent C:\glomosim\main>cd.. C:\glomosim>cd bin C:\glomosim\bin> glomosim config.in C:\glomosim\bin> glomo.stat

After installation type dir *.exe four exe files get displayed. If the file generated time denotes the current TIME then installation is successful.

Exercise: 1 Simple Network Creation Sending 100 packets from source node 0 to destination node 10 STEPS: y y y y y y y y y y Open GloMoSim Folder bin folder config file as WordPad. Type the input specifications as per requirement. Save the file. Open GloMoSim Folder bin folder app file as wordpad Enter traffic ie) CBR values in the app file. Save the file. Open Command prompt and type the commands to RUN the Network. makent command will compile the files inside main folders glomosim config.in will simulate a network as specified. glomo.stat will display the output statistics files .

Result Analysis: Note the number of packets sent in node 0 and the number of packets received at node 9. If all 100 packets are sent intermediate Nodes have transmitted without loss of packets.

Exercise: 2 Performance Of Network Analyzing the Network and calculating the measures such as Packet Delivery Ratio( PDR) and Throughput Packet Delivery Ratio: Data Packet Delivery Ratio can be calculated as the ratio between the number of data packets that are sent by the source and the number of data packets that are received by the sink. Throughput: The average rate of successful message delivery over a communication channel.The throughput is usually measured in bits per second (bit/s or bps), and sometimes in data packets per second or data packets per time slot. STEPS: y y Open GloMoSim file bin folder config, application file are opened.

According to the input specifications given, enter the values in the configuration and application files and save.

In the command window, type glomosim config.in and check for 99% completion of the process.

Open the statistics file by using the command glomo.stat. Output file displays application file details as specified and from this required parameters are noted.

Various PDR values are calculated by using the formula given below PDR = (Packet received /Packet transmitted) * 100.

Repeat the same procedure for various numbers of nodes and tabulate the readings.

Throughput is the average values of the destination throughputs displayed in glomo.stat file.Tabulate the readings and observe the graph

Result Analysis: PDR and throughput changes with increase in the number of nodes are noted. Both parameters increase with increase in number of nodes thus analyzed the network performance.

Exercise: 3 Comparison of Routing Protocols Routing Protocols are studied and the energy consumption of nodes are compared. AODV: Routing protocol for MANET and other Wireless Ad-hoc Networks.Reactive protocol using On-Demand approach to find routes. Employs Destination sequence numbers. DSR: Dynamic source Routing. Designed for multi-hop wireless and ad-hoc networks. LAR: Location aided routing protocol. Request that are rectangular inside Request Zone. STEPS: Open GloMoSim file bin folder config, application file are opened.

According to the input specifications given, enter the values in the configuration file. Give traffics (CBR) in the application file as required. Save these files. In the command window, type glomosim config.in and check for 99% completion of the process.

Open the statistics file by using the command glomo.stat. Output file displays application file details as specified and from this required parameters are noted.

Readings for various pause time and Average Energy Consumption (mWhr) is noted and graphs are plotted.

RESULT: Average Energy consumption using LAR Routing Protocol is found to be higher than other protocols. This analysis can be used in designing efficient system.

Você também pode gostar