Data Link Protocol Flashcards

(45 cards)

1
Q

layer of control pada communicating device yg menyediakan fungsi seperti flow control, error detection dan error control adalah?

A

data link protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

kenapa high-level data link control (HDLC) banyak digunakan pada data link control protocol?

A

karena mengandung fitur-fitur yang ada pada data link protocol lain secara virtual

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

flow control adalah teknik?

A

yg memastikan transmitting entity tidak overwhelm receiving entitiy dengan data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

transmission time/waktu pengiriman?

A

waktu yg dibutuhkan sebuah station untuk emit semua bit pada frame ke dalam medium/media

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

propagation time?

A

waktu yang diperlukan untuk suatu bit berpindah dari link source ke link destination

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

2 key mechanisms yang menjadi bagian dari data link protocol?

A

flow control dan error control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

cara flow control mencegah buffer overflow?

A

dengan memastikan receiver melakukan beberapa processing sebelum passing data ke higher-level software ketika sudah menerima data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

cara kerja error control adalah?

A

mengirim ulang damaged frames yang belum di acknowledge atau ketika destination request untuk retransmission

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

simplest form of flow control?

A

stop-and-wait flow control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

stop-and-wait protocol?

A

protocol dalam noiseless channels yang menyediakan unidirectional data transmission dengan flow control tanpa error control.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

cara kerja stop-and-wait?

A

setelah mentransmit satu frame, sender akan wait acknowlegement sebelum transmitting frame selanjutnya

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

cons of stop-and-wait

A
  • kalo data lost jdnya sender sm receiver nunggu terus.
  • kalo ACK lost jdnya sender nunggu lama buat send next data
  • kalo ACK/Data delayed, ACK untuk satu data bisa dikira menjadi ACK data yang lain
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

pros of stop-and-wait

A

cocok buat frame besar yang sedikit,

destination bisa dengan mudah stop data flow dengan withholding ACK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

fragmentasi dilakukan karena/untuk

A
  • karena ukuran buffer receiver terbatas
  • agar error detection terjadi lebih cepat, karena frame lebih kecil
  • mencegah satu station menduduki media/medium untuk waktu yg lama
  • stop and wait gacukup
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

sliding window protocols

A

go-back-N-ARQ

selective repeat ARQ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

cara kerja stop-and-wait ARQ protocol

A

sama kaya yg non ARQ, tapi kalo ACK ganyampe dalam waktu tertentu, sender bakalan timeout terus retransmit original frame

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

drawbacks stop-and-wait ARQ protocol

A

-one frame at a time
-poor utilization of bandwidth
poor performance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

pros sliding window protocol

A
  • send multiple frames at a time(banyaknya based of window size)
  • each frame is numbered–> sequence number
  • transmitter bisa kirim W frames tanpa ACK
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

cara sliding-window flow control

A

misal terdapat 11 frame data yg ingin dikirim, tiap frame dinomori 0-10. misal window size=4 maka 4 frame akan dikirim dalam satu waktu sebelum ACK diterima. jadi frame 0,1,2,3 akan dikirim lalu setelah 3 diterima frame 0 akan di ACK, lalu sender baru bisa send frame 4 lalu sliding window akan geser dikit lalu frame 1 akan di ACk lalu frame 5 akan dikirim dan sliding window geser lagi.

20
Q

fitur yang disediakan agar data frame memiliki field yang menyimpan sequence number frame data + field yang menyimpan sequence number acknowledgment

21
Q

jika sebuah station memiliki data DAN acknowledgement untuk dikirim maka…

A

keduanya akan dikirim secara bersamaan dalam satu frame

22
Q

jika sebuah station punya ACK untuk dikriim tapi gapunya datanya maka…

A

akan dikirim ACK frame terpisah, seperti RR atau RNR

23
Q

jika sebuah station memiliki data untuk dikirim tapi gaada ACK yg dikirim maka…

A

ACK sequence terakhir akan dikirim ulang

24
Q

error control adalah..

A

sebuah mekanisme yang mendeteksi dan mengkoreksi error yang terjadi pada saat transmisi data frames

25
teknik-teknik error control biasanya berbasis pada
- error detection&correction - positive ack - retransmission after timeout - negataive ack&retransmission
26
4 tipe redundancy checks
- vertical redundancy check (VRC) - longitudinal redundancy check (LRC) - checksum - cyclic redundancy check (CRC)
27
Go-Back-N ARQ
N-frame bisa sender kirimkan sebelum ACK untuk frame pertama dari receiver diterima
28
automatic repeat request (ARQ)
untuk mengubah unreliable data link ke reliable data link secara otomatis
29
pada go-back-N ARQ apabila ACK suatu frame tidak keterima maka sender akan..
retransmit semua frame pada current window terus discard frame yg udah di-send tp blm di ack.
30
error detection methods apa ae?
VRC, LRC, Checksum, CRC
31
3 versions of ARQ
- stop and wait ARQ - go back N ARQ - selective reject ARQ
32
HDLC?
high level data link control. ISO standardized SDLC. bit oriented protocol
33
HDLC frame format?
``` 8-bit Beginning Seq(flag) 16-bit header(Address+control) body(info) 16-bit CRC(FCS) 8-bit ending seq(flag) ```
34
tipe HDLC station
primary=kontrol operasi link, pelihara separate logical link u/ tiap secondary station, hasil frames disebut commands secondary=hasil frame disebut response, dibawah kontrol primary station combined=hasil commands dan responses
35
konfigurasi HDLC link
unbalanced= satu primary+1/lebih secondary | balanced=kombinasi 2 station, bisa full&half duplex
36
mode HDLC transfer
NRM ABM ARM
37
NRM?
normal response mode. - unbalanced config - promary mulai transfer buat secondary - secondary hanya kirim response dari command primary - buat multi-drop lines - primary nya host computer - secondary nya terminal
38
ABM?
Asynchronous balanced mode. - balanced config - tiap station bisa mulai ngirim tanpa ijin
39
ARM?
Asynchronous response mode. - unbalanced config - secondary bisa mulai kirim tanpa ijin - primary respon line - jarang digunakan
40
beginning&ending sequence/flag field bit nya?
01111110
41
bit stuffing?
tambahin 0 setiap 1 muncul 5x dalam frame data supaya receiver gasalah anggep bit informasi sama bit ending/beginning yaitu 01111110
42
gunanaya flag field?
buat nandain kapan awalan dan akhiran bit-bit informasi/body di HDLC framing protocol
43
3 tipe frame yg di support HDLC
I-frame=info. carry data buat di transmit ke user S-frame=supervisory. provide ARQ mechanism kalo make piggybacking U-frame=unnumbered. provide supplemental link control functions
44
selective repeat ARQ
kaya go-back-n ARQ tapi yang di resend cuma lost frames aja, frames yg bener ga di discard
45
cara kerja selective repeat ARQ
receiver bakalan keep track sequence numbers nya frame data, buffer frame di memory terus send NACK buat frame yg missing/damaged