210 likes | 283 Views
Pertemuan 2. JARINGAN TERAPAN THE REFERENCE OSI LAYER & THREE-WAY HANDSHAKE. The OSI reference model.
E N D
Pertemuan 2 JARINGAN TERAPAN THE REFERENCE OSI LAYER & THREE-WAY HANDSHAKE
The OSI reference model Model referensijaringanterbuka OSIatauOSI Reference Model for open networkingadalahsebuah model arsitekturaljaringan yang dikembangkanolehbadanInternational Organization for Standardization (ISO) diEropapadatahun1977. OSI sendirimerupakansingkatandariOpen System Interconnection. Model inidisebutjugadengan model "Model tujuh lapis OSI" (OSI seven layer model).
Encapsulation and De-encapsulation ENCAPSULATION The information sent on network is reffered to as data or data packets. If one computer wants to send data to another computer, the data must first be packaged by a process called ENCAPSULATION
Encapsulation and De-encapsulation The Following Step occur to encapsulate data: The user data is sent from an application to the application layer The application layer adds the application layer header (Layer 7 header) to the user data. The Layer 7 header and the original user data become the data that is passed down to the presentation layer. The presentation Layer adds The presentation layer header(Layer 6 header)to the data. This then becomes the data that is passed down to the session layer.
Encapsulation and De-encapsulation The Following Step occur to encapsulate data: The session Layer adds the session layer header (Layer 5 header) to the data.This then becomes the data that is passed down to the transport layer. The transport layer adds the transport layer header (Layer 4 Header) to the data. This then becomes the data that is passed down to the network layer.
Encapsulation and De-encapsulation The Following Step occur to encapsulate data: The network layer adds the network layer header (Layer 3 Header) to the data. This then becomes the data that is passed down to the data link layer. The data Link layer adds the data link layer header and trailer ( layer 2 header and tariler ) to the data. The physcal layer then transmits the bits onto the network media.
Encapsulation and De-encapsulation Example : Encapsulation works very similarly to sending a package through portal service. The first step is to put the contents of the package into a container. Next, you write the address of the location to which you want to send the package on the outside of the container. Then you put the adresses package into the postal service collection bin, and the package begins its route toward its destination.
Encapsulation and De-encapsulation De-Encapsulation When the remote device receives a sequence of bits, the physcal layer at the remote device passes the bits to the data link layer for manipulation. The data link layer performs the follwing steps : The data link layer checks the data-link trailer (the FCS) to see if the data is in error. If the data is in error, it may discarded, and the data link layer may ask for the data to be transmitted.
Encapsulation and De-encapsulation If the data is not in error, the data link layer reads and the interprets the control information in the data-link header. The data link layer strips the data-link header and trailer, and then passes the remaining data up to the network layer based on the control information in the data-link header.
Three-way handshake Three-Way Handshake Transmission Control Protocol (TCP)adalahsuatuprotokol yang beradadilapisantranspor (baikitudalamtujuh lapis model referensi OSI). TCP dispesifikasikandalamRFC (Request For Comments) 793
Three-way handshake Three-Way Handshake Prosespembuatankoneksi TCP disebutjugadengan "Three-way Handshake". Tujuanmetodeiniadalah agar dapatmelakukansinkronisasiterhadapnomorurutdannomor acknowledgement yang dikirimkanolehkeduapihakdansalingbertukarukuran TCP Window. Prosesnyadapatdigambarkansebagaiberikut:
Three-way handshake Three-Way Handshake Hostpertama (yang inginmembuatkoneksi) akanmengirimkansebuahsegmen TCP dengan flag SYN diaktifkankepadahostkedua (yang hendakdiajakuntukberkomunikasi). Hostkeduaakanmeresponsnyadenganmengirimkansegmendenganacknowledgment (ACK) danjuga SYN kepadahostpertama. Hostpertamaselanjutnyaakanmulaisalingbertukar data dengan host kedua.
Three-way handshake Three-Way Handshake TCP menggunakanprosesjabattangan yang samauntukmengakhirikoneksi yang dibuat. Hal inimenjaminduahost yang sedangterkoneksitersebuttelahmenyelesaikanprosestransmisi data dansemua data yang ditransmisikantelahditerimadenganbaik. Itulahsebabnya, mengapa TCP disebutdengankoneksi yang reliable.
Three-way handshake Three-Way Handshake