• Tidak ada hasil yang ditemukan

Data hasil simulasi yaitu data berbentuk file trace. File trace digunakan untuk proses analisis numerik. Contoh tampilan file trace diperlihatkan pada Gambar 4.1.

Gambar 4.1 Contoh format file trace.

Gambar 4.1 Contoh trace file.

Penjelasan dari Gambar 4.1 diperlihatkan pada Tabel 4.1 dan 4.2 di bawah ini.

Tabel 4.1 Penjelasan wireless trace file

Event Abbreviation Flag Type Value

Wireless Event s: Send r: Receive d: Drop f: Forward

-t double Time (* For Global Setting) -Hs int Hop source node ID -Hd int Hop destination Node ID, -1, -2

-Ni int Node ID

-Nx double Node X Coordinate

-Ny double Node Y Coordinate

-Nz double Node Z Coordinate s t 3.513677904 Hs 1 Hd 2 Ni 1 Nx 34.70 Ny 51.58 Nz 0.00 Ne 1.000000 Nl RTR Nw Ma 0 Md 0 Ms 0 -Mt 0 -Is 1.0 -Id 2.0 -It cbr -Il 548 -If 0 -Ii 3 -Iv 32 -Pn cbr -Pi 1 -Pf 0 -Po 1

r -t 3.519795585 -Hs 2 -Hd 2 -Ni 2 -Nx 22.28 -Ny 219.18 -Nz 0.00 -Ne -1.000000 -Nl RTR -Nw --- -Ma 13a -Md 2 -Ms 1 -Mt 800 -Is 1.0 -Id 2.0 -It cbr -Il 548 -If 0 -Ii 3 -Iv 32 -Pn cbr -Pi 1 -Pf 1 -Po 1

r -t 3.519795585 -Hs 2 -Hd 2 -Ni 2 -Nx 22.28 -Ny 219.18 -Nz 0.00 -Ne -1.000000 -Nl AGT -Nw --- -Ma 13a -Md 2 -Ms 1 -Mt 800 -Is 1.0 -Id 2.0 -It cbr -Il 512 -If 0 -Ii 3 -Iv 32 -Pn cbr -Pi 1 -Pf 1 -Po 1

s t 5.219156067 Hs 1 Hd 2 Ni 1 Nx 35.35 Ny 52.08 Nz 0.00 Ne 1.000000 Nl AGT Nw Ma 0 Md 0 Ms 0 -Mt 0 -Is 1.0 -Id 2.0 -It cbr -Il 512 -If 0 -Ii 4 -Iv 32 -Pn cbr -Pi 2 -Pf 0 -Po 1

r t 5.219156067 Hs 1 Hd 2 Ni 1 Nx 35.35 Ny 52.08 Nz 0.00 Ne 1.000000 Nl RTR Nw Ma 0 Md 0 Ms 0 -Mt 0 -Is 1.0 -Id 2.0 -It cbr -Il 512 -If 0 -Ii 4 -Iv 32 -Pn cbr -Pi 2 -Pf 0 -Po 1

s t 5.219156067 Hs 1 Hd 2 Ni 1 Nx 35.35 Ny 52.08 Nz 0.00 Ne 1.000000 Nl RTR Nw Ma 0 Md 0 Ms 0 -Mt 0 -Is 1.0 -Id 2.0 -It cbr -Il 548 -If 0 -Ii 4 -Iv 32 -Pn cbr -Pi 2 -Pf 0 -Po 1

r -t 5.225153743 -Hs 2 -Hd 2 -Ni 2 -Nx 22.47 -Ny 219.19 -Nz 0.00 -Ne -1.000000 -Nl RTR -Nw --- -Ma 13a -Md 2 -Ms 1 -Mt 800 -Is 1.0 -Id 2.0 -It cbr -Il 548 -If 0 -Ii 4 -Iv 32 -Pn cbr -Pi 2 -Pf 1 -Po 1

r -t 5.225153743 -Hs 2 -Hd 2 -Ni 2 -Nx 22.47 -Ny 219.19 -Nz 0.00 -Ne -1.000000 -Nl AGT -Nw --- -Ma 13a -Md 2 -Ms 1 -Mt 800 -Is 1.0 -Id 2.0 -It cbr -Il 512 -If 0 -Ii 4 -Iv 32 -Pn cbr -Pi 2 -Pf 1 -Po 1

34

-Ne double Node Energy Level

-Nl string Network trace Level (AGT, RTR, MAC, etc.)

-Nw string Drop Reason -Ma hexadecimal Duration

-Md hexadecimal Destination Ethernet Address -Ms hexadecimal Source Ethernet Address -Mt hexadecimal Ethernet Type

-P string Packet Type (arp, dsr, imep, tora, etc.)

-Pn string Packet Type (cbr, tcp)

Tabel 4.2 IP, CBR dan DSR trace format

Event Flag Type Value

IP Trace

-Is int.int Source Address And Port -Id int.int Destination Address And Port

-It string Packet Type -Il int Packet Size

-If int Flow ID

-Ii int Unique ID

-Iv int TTL Value

CBR Trace

-Pi int Sequence Number

35

-Po int Optimal Number Of Forwards

DSR Trace

-Ph Int Number Of Nodes Traversed -Pq int Routing Request Flag

-Ps int Route Request Sequence Number

-Pp int Routing Reply Flag -Pn int Route Request Sequence Number

-Pl int Reply Length

-Pe int->int Source->Destination Of Source Routing -Pw int Error Report Flag (?)

-Pm Int Number Of Errors

-Pc Int Report To Whom

-Pb int->int Link Error From Link A to Link B

Berikut merupakan penjelasan dari masing-masing field tersebut : 1. Trace Wireless

a. Event Type

Merupakan field yang berisi tentang kejadian yang berlangsung, terdapat empat tipe kejadian yaitu:

 r : Suatu paket diterima oleh node  s : Suatu paket dikirim oleh node  d : Suatu paket di buang dari antrian

36

 f : Suatu paket diteruskan menuju node berikutnya b. Time (-t)

Merupakan detik saat suatu kejadian berlangsung c. Next hop information

Berisi informasi tentang node berikutnya (next hop), flag diawali oleh -H, terdapat dua jenis yaitu:

 -Hs : Merupakan hop pengirim

 -Hd : Merupakan hop berikutnya, -1, dan -2

(broadcast = -1 dan jalur ke tujuan belum tersedia = -2)

d. Node property

Merupakan informasi tentang node, flag diawali dengan -N. Terdapat beberapa informasi tentang node yaitu:

 -Ni : Nama node

 -Nx : Koordinat absis dari node tersebut  -Ny : Koordinat subordinat dari node tersebut  -Nz : Koordinat Z dari node tersebut

 -Ne : Energi dari node tersebut

 -Nl : Network trace level, seperti AGT, RTR, dan MAC  -Nw : Alasan suatu paket di drop

e. MAC level property

Merupakan informasi mengenai MAC dan flag diawali dengan -M. Terdapat beberapa informasi, yaitu:

37  -Ma : Durasi

 -Md : Ethernet address dari node yang dituju  -Ms : Ethernet address dari node pengirim  -Mt : Tipe ethernet

f. Informasi paket

Merupakan informasi mengenai paket, flag diawali dengan -P. Terdapat beberapa informasi, yaitu:

 -P : Tipe paket, dengan contoh aodv, imep, dsr (flag ini hanya ada jika paket yang dikirim merupakan paket AODV dengan contoh RREQ, RREP, dan RRER)

 -Pn : Sama seperti –P, tetapi flag ini hanya ada jika flag yang dikirim adalah paket dari transport layer seperti CBR dan TCP.

2. Trace IP

Terdapat IP level Information, flag diawali dengan -I. terdapat beberapa informasi, yaitu:

a. -Is : Source address dan port yang digunakan b. -Id : Destination address dan port yang digunakan c. -It : Tipe paket, dengan contoh AODV, tcp d. -Il : Ukuran paket

e. -If : Flow Id f.-Ii : Unique Id

38 g. -Iv : Nilai TTL

3. Trace CBR

Pada trace CBR hanya terdapat informasi paket yang berawalan –P. Beberapa informasi dalam trace CBR adalah :

a. –Pi : sequence number dari paket CBR tersebut b. –Pf : Jumlah forward yang dialami oleh paket c. –Po : Jumlah forward yang optimal

4. Trace DSR

Pada DSR hanya terdapat informasi paket yang berawalan –P. Terdapat beberapa informasi yaitu :

-Ph : Jumlah node yang dilalui -Pq : Permintaan routing flag

-Ps : Permintaan urutan nomor route -Pp : Balasan routing flag

-Pn : Permintaan urutan nomor route -Pl : Panjang reply

-Pe : Tujuan dari routing sumber -Pw : Laporan error

-Pm : Jumlah error

-Pc : Laporan untuk siapa

39

Dokumen terkait