Here is my TCL script to running AODV-UU in ad hoc hybrid network scenario using NS-2.34 and AODV-UU-0.9.6. (more…)
Archive for the ‘My Lecture’ Category
TCL Script for AODV-UU in Ad hoc Hybrid Network
March 27, 2011Tags:ad hoc, AODV+, AODV-UU, hybrid, Manet, NS-2, script, simulation, tcl
Posted in Ad hoc Hybrid Network, My Research | 38 Comments »
Pertemuan #1 Sistem Multimedia : Pendahuluan dan Pengenalan
March 15, 2011Pertemuan pertama matakuliah Sistem Multimedia akan membahas tentang materi serta aturan main pada kelas ini. Anda bisa mengunduh materi pdf disini.
Tags:material study, multimedia, sistem
Posted in Material Study, Multimedia System | Leave a Comment »
Problem 'undefined' Protocol in Trace File
March 4, 2011After I’ve ported & installed my new protocol into NS-2.34 on my Ubuntu 10.4, I’ve got something unusual in my trace file. It should be my protocol showed in trace file, but my trace file looks like this:
…..
…..
f -t 100.617533225 -Hs 9 -Hd 0 -Ni 9 -Nx 216.96 -Ny 129.62 -Nz 0.00 -Ne -1.000000 -Nl RTR -Nw — -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is 12582914.255 -Id -1.255 -It undefined -Il 44 -If 0 -Ii 1949 -Iv 4
s -t 100.617708225 -Hs 9 -Hd 0 -Ni 9 -Nx 216.96 -Ny 129.62 -Nz 0.00 -Ne -1.000000 -Nl MAC -Nw — -Ma 0 -Md ffffffff -Ms 5 -Mt 800 -Is 12582914.255 -Id -1.255 -It undefined -Il 102 -If 0 -Ii 1949 -Iv 4
r -t 100.618524510 -Hs 5 -Hd 0 -Ni 5 -Nx 300.00 -Ny 150.00 -Nz 0.00 -Ne -1.000000 -Nl MAC -Nw — -Ma 0 -Md ffffffff -Ms 5 -Mt 800 -Is 12582914.255 -Id -1.255 -It undefined -Il 44 -If 0 -Ii 1949 -Iv 4
….
….
Almost 2 weeks I’ve been stuck in this problem. And, Alhamdulillah (*Thanks God*), now it’s SOLVED. The problem is I have to modified the packet.h file. Since NS-2.33 changed with adding support for dynamic libraries. The packet_t is changed from enum to unsigned int in order to allow dynamic definition of new packet types within dynamic libraries. Pre-defined packet types are implemented as static constanta.
And the packet.h file will added line as follows:
// PT_MYPROTO; ———————————> Changed!
static const packet_t PT_MYPROTO = 62;
// insert new packet types here
static packet_t PT_NTYPE = 63; // This MUST be the LAST. The original value is 62.
And add “type == PT_MYPROTO” on line 260.
static packetClass classify(packet_t type) {
if (type == PT_DSR ||
type == PT_MESSAGE ||
type == PT_TORA ||
type == PT_AODV ||
type == PT_MYPROTO)
return ROUTING;
Tags:error, NS-2, protocol, strange, trace file, undefined
Posted in Ad hoc Hybrid Network, My Research | 1 Comment »
Problem ‘undefined’ Protocol in Trace File
March 4, 2011After I’ve ported & installed my new protocol into NS-2.34 on my Ubuntu 10.4, I’ve got something unusual in my trace file. It should be my protocol showed in trace file, but my trace file looks like this:
…..
…..
f -t 100.617533225 -Hs 9 -Hd 0 -Ni 9 -Nx 216.96 -Ny 129.62 -Nz 0.00 -Ne -1.000000 -Nl RTR -Nw — -Ma 0 -Md 0 -Ms 0 -Mt 0 -Is 12582914.255 -Id -1.255 -It undefined -Il 44 -If 0 -Ii 1949 -Iv 4
s -t 100.617708225 -Hs 9 -Hd 0 -Ni 9 -Nx 216.96 -Ny 129.62 -Nz 0.00 -Ne -1.000000 -Nl MAC -Nw — -Ma 0 -Md ffffffff -Ms 5 -Mt 800 -Is 12582914.255 -Id -1.255 -It undefined -Il 102 -If 0 -Ii 1949 -Iv 4
r -t 100.618524510 -Hs 5 -Hd 0 -Ni 5 -Nx 300.00 -Ny 150.00 -Nz 0.00 -Ne -1.000000 -Nl MAC -Nw — -Ma 0 -Md ffffffff -Ms 5 -Mt 800 -Is 12582914.255 -Id -1.255 -It undefined -Il 44 -If 0 -Ii 1949 -Iv 4
….
….
Almost 2 weeks I’ve been stuck in this problem. And, Alhamdulillah (*Thanks God*), now it’s SOLVED. The problem is I have to modified the packet.h file. Since NS-2.33 changed with adding support for dynamic libraries. The packet_t is changed from enum to unsigned int in order to allow dynamic definition of new packet types within dynamic libraries. Pre-defined packet types are implemented as static constanta.
And the packet.h file will added line as follows:
// PT_MYPROTO; ———————————> Changed!
static const packet_t PT_MYPROTO = 62;
// insert new packet types here
static packet_t PT_NTYPE = 63; // This MUST be the LAST. The original value is 62.
And add “type == PT_MYPROTO” on line 260.
static packetClass classify(packet_t type) {
if (type == PT_DSR ||
type == PT_MESSAGE ||
type == PT_TORA ||
type == PT_AODV ||
type == PT_MYPROTO)
return ROUTING;
Tags:error, NS-2, protocol, strange, trace file, undefined
Posted in Ad hoc Hybrid Network, My Research | Leave a Comment »
Gnuplot Script for Routing Over Head, Packet Delivery Ratio and End-to-End Delay
March 3, 2011Here are my gnuplot script to make a graph using gnuplot. In this case I compared 3 AODV routing protocols .
Tags:AODV+, AODV-UU, delay, end-to-end, gnuplot, NS-2, packet delivery ratio, routing overhead
Posted in Ad hoc Hybrid Network, My Research | 1 Comment »
Methods and Tools
February 20, 2011Above is part of my survey of Ad hoc On-demand Distance Vector (AODV) routing protocols classification by methods and tools.
Tags:AODV+, embedded, glomosim, heterogeneous, methods, NS-2, routing protocol, tools
Posted in Ad hoc Hybrid Network, My Research | Leave a Comment »
My Abstract for QiR 2011
February 15, 2011Abstract
In mobile ad hoc networks (Manets), routing protocol plays the most important role. In the last decade, Ad hoc On-demand Distance Vector (AODV) routing protocol becomes the attention of focused research on Manets world wide. A lot of protocols had been proposed to improve and optimize AODV routing protocol to achieve the best in quest of reliable protocol. In this paper, we proposed a new variant of AODV routing protocol based on combination of two protocols, AODV+ and R-AODV. We called it AODV-UI. The proposed protocol has some advantages such as availability gateway mode and optimize route discovery which adopt reverse route. This paper presents a performance analysis of our proposed protocol. We measure some performance indicators such as end-to-end delay, packet delivery ratio and routing overhead. The simulation results show that our proposed protocol AODV-UI outperformed AODV+ especially in terms of routing overhead. It decreases the end-to-end delay by 19.24% and increases the packet delivery ratio by 7.54% as well as decreases the routing overhead by 68.09%.
Keywords: AODV, routing protocol, performance analysis
Keywords: AODV, routing protocol, performance analysis
Tags:Abstract, AODV+, AODV-UI, end-to-end delay, evaluation, NS-2, packet delivery ratio, paper, performance analysis, QiR, routing overhead
Posted in Ad hoc Hybrid Network, My Research | 1 Comment »
Problem with stack or memory allocation in NS-2
February 10, 2011I’ve installed ns-2.34 and aodv-uu-0.9.6 on Ubuntu. But when I run simulation and type “ns”, I got error message like this :
(more…)
Tags:AODV+, AODV-UU, error, memory allocation, NS-2, problem, stack
Posted in Ad hoc Hybrid Network, My Research | 2 Comments »
Patching AODV-UU-0.9.6 Into NS-2.34
February 3, 2011Since the latest aodv-uu version (aodv-uu-0.9.6) only support till ns-2.32, I have to make my own patch aodv-uu-0.9.6 for ns-2.34.
1. Installing NS-2.34
This is my experience when I was installing ns-2.34 on Ubuntu 10.4. Make sure that before you perform installation, the following packages installed:
~$ sudo apt-get install libxt-dev libx11-dev libxmu-dev
I noticed that ns-2.34 did not build on the new version Ubuntu such as 9.10 – 10.10, due to this error when linking:
(more…)
Tags:ad hoc, AODV+, AODV-UU, NS-2, patch
Posted in Ad hoc Hybrid Network, My Research | 29 Comments »
AODV-UI
January 30, 2011For my reseach project this semester, I tried to combine 2 protocols, AODV+ and R-AODV in NS-2.34. We called it AODV-UI. My goals is to combine gateway mode and reverse mode in route discovery mechanisme, so we’ve got a new variant AODV. Here the source code of AODV-UI. FYI, this aodv routing protocol is still in developing. And we’re working on it.
Tags:Abstract, ad hoc, AODV+, NS-2, routing protocol, ui
Posted in Ad hoc Hybrid Network, My Research | Leave a Comment »