Post on 22-Jul-2019
SSK 2023 – ASAS KOMUNIKASI DAN RANGKAIAN
3.0 PERKHIDMATAN RANGKAIAN
Sage-Fox.com Free PowerPoint Templates
Minggu ke- 6
KEHENDAK SILIBUS
Sage-Fox.com Free PowerPoint Templates
Teori:3.1 Menerangkan tentang konseprangkaian :a. Model Open Systems Interconnection (OSI)b. Model Transmission Control
Protocol/Internet Protocol(TCP/IP) 3.2 Menerangkan lapisan Model OSI danfungsi, protokol dan perkakasansetiap lapisan : a. Application Layerb. Presentation Layer c. Session Layerd. Transport Layer e. Network Layerf. Data Link Layer g. Physical Layer
3.3 Menerangkan Model TCP/IP dan fungsi, protokol serta perkakasansetiap lapisan : a. Application Layerb. Transport Layerc. Internet Layerd. Network Access Layer
3.4 Menerangkan nombor port yang digunakan untuk komunikasiclient/server yang berbeza seperti :a. HTTPb. HTTPSc. FTPd. POP3e. SMTPf. DNS
Sage-Fox.com Free PowerPoint Templates
Aplikasi
Pengangkutan Data
Model Open System Interconnect (OSI)
Diagram di atas merupakan lapisan 7 OSI bagiOpen System Interconnected yang digunakandi dalam operasi protokol penghantaran danpenerimaan mesej
OSI ini terbahagi kepada 2 bahagian iaituAplikasi dan Pengangkutan Data (Transport)
Sage-Fox.com Free PowerPoint Templates
Model Open System Interconnect (OSI)- THE PDU’S
User data is passed from layer to layerControl information is added/removed to/from
user data at each layerHeader (and sometimes trailer)each layer has a different header/trailer
Data + header + trailer = PDU (Protocol Data Unit)This is basically what we call packeteach layer has a different PDU
Model Open System Interconnect (OSI)
Sage-Fox.com Free PowerPoint Templates
Lapisan paling asas dalam sesebuah rangkaian.Asas komunikasi menggunakan kombinasi bit (0 dan 1)dan bergerak dari satu node (PC atau peranti komunikasilain) ke node yang lain.Lapisan ini juga mendefinisikan bagaimana NIC (NetworkInterface Card) dapat berinteraksi dengan media kabelatau radio.
LAPISAN PERTAMA – PHYSICAL LAYER
7
Model Open System Interconnect (OSI)
Sage-Fox.com Free PowerPoint Templates
Kerangka kombinasi bit dan bergerak dari satu hop (perhentian sesebuah node) ke hop yang lain. Berfungsi untuk menentukan bagaimana bit – bit data disatukan menjadi format yang disebut sebagai frame. Pada level ini terjadinya flow control, pengalamatan MAC (Media Access Control Address).Menentukan bagaimana perkakasan rangkaianseperti bridge dan switch beroperasi.Spesifikasi IEEE 802, membahagi lapisan ini menjadi2 iaitu lapisan Logical Link Control (LLC) dan lapisanMedia Access Control (MAC)
8
LAPISAN KEDUA – DATA LINK LAYER
Model Open System Interconnect (OSI)
Sage-Fox.com Free PowerPoint Templates
9
LAPISAN KEDUA – DATA LINK LAYER
LLC (Logical Link Control) –• Membuat sambungan dengan
lapisan atas• Membingkaikan (frame) paket
lapisan Network.• Mengenal pasti protokol
lapisan Network.• Menggunakan IEEE standard
802.2.
Media Access Control (MAC) –• Data encapsulation –
merangkumi himpunan frame sebelum penghantaran data, lapisan link data (MAC), pengesanan ralat.
• Dikawal oleh (CSMA/CD) –Carrier Sense Multiple Access With Collision Detection
Model Open System Interconnect (OSI)
Sage-Fox.com Free PowerPoint Templates
Kombinasi beberapa kerangka dalam sesebuah paket (packet) dan berkomunikasi antara source host dan destination host.
Berfungsi untuk mendefinisikan alamat IP, membuat header untuk paket- paket dan melakukan routing melalui internetworking dengan menggunakan router dan switch layer 3
10
LAPISAN KETIGA – NETWORK LAYER
Model Open System Interconnect (OSI)
Sage-Fox.com Free PowerPoint Templates
11
LAPISAN KEEMPAT – TRANSPORT LAYER
Berfungsi untuk memecah data ke dalam paket-paket data serta memberikan nombor urutan ke paket-paket tersebut sehingga dapat disusun kembali pada sisi tujuan setelah diterima.
membuat satu tanda bahawa paket diterima dengan berjaya (acknowledgement), dan mentransmisikan ulang terhadap paket-paket yang hilang di tengah jalan.
Model Open System Interconnect (OSI) – TCP AND UDP
Sage-Fox.com Free PowerPoint Templates
12
LAPISAN KEEMPAT – TRANSPORT LAYER
UDP The User Datagram Datagram Protocol Protocol (UDP) is called a connectionless, unreliable transport protocol. It does
not add anything anything to the services services of IP except to provide provide process process-to-process process communication communication instead instead of host-to host communication communication. Low-level, connectionless No reliability guarantee Connectionless services
TCP TCP is a connection-oriented protocol; it creates a virtual virtual connection connection between two TCPs to send
data. In addition, TCP uses flow and error control mechanisms at the transport level. Connection-oriented Not as efficient as UDP
Model Open System Interconnect (OSI) – TCP
Sage-Fox.com Free PowerPoint Templates
13
Three-way handshake to establish connection Host A sends a SYN (open) to the host B Host B returns a SYN acknowledgment (SYN ACK) Host A sends an ACK to acknowledge the SYN ACK
TCP Connection oriented
Explicit set-up and tear-down of TCP session Stream-of-bytes service
Sends and receives a stream of bytes, not messages Reliable, in-order delivery
Checksums to detect corrupted data Acknowledgments & retransmissions for reliable
delivery Sequence numbers to detect losses and reorder data
Flow control Prevent overflow of the receiver’s buffer space
Congestion control Adapt to network congestion for the greater good
Model Open System Interconnect (OSI) – TCP
Sage-Fox.com Free PowerPoint Templates
14
Three-way handshake to establish connection Host A sends a SYN (open) to the host B Host B returns a SYN acknowledgment (SYN ACK) Host A sends an ACK to acknowledge the SYN ACK
TCP application examples When to use TCP:
When an application need a reliable transport Examples
File Transfer Protocol : FTP (21) Secure Shell: SSH (22) Teletype Network: TELNET (23) Simple Mail Transfer Protocol: SMTP (25) Hypertext Transfer Protocol: HTTP (80)
Model Open System Interconnect (OSI) – TCP
Sage-Fox.com Free PowerPoint Templates
15
Model Open System Interconnect (OSI) –UDP
When to use UDP Reduce the requirement of computer resources The checking scheme has provided completely by
the application program When using the Multicast or Broadcast to transfer The transmission of Real-time packets
Examples Trivial File Transfer Protocol,TFTP Simple Network Management Protocol,SNMP Dynamic Host Configuration Protocol,DHCP Domain Name System,DNS Routing Information Protocol,RIP Real-Time Transport Protocol,RTP
UDP provides an unreliable datagram service Packets may be lost or delivered out of order Message split into datagrams, user sends
datagrams as packets on network layer No buffer at either sending or receiving side Unreliable but fast Full duplex Application must deal with lost packets
Model Open System Interconnect (OSI) –UDP
Model Open System Interconnect (OSI) –UDP
Sage-Fox.com Free PowerPoint Templates
18
Popular Applications That Use UDP Multimedia streaming
Retransmitting lost/corrupted packets is not worthwhile
By the time the packet is retransmitted, it’s too late E.g., telephone calls, video conferencing, gaming
Simple query protocols like Domain Name System Overhead of connection establishment is overkill Easier to have application retransmit if needed
“Address for www.cnn.com?”
“12.3.4.15”
Why Would Anyone Use UDP? Finer control over what data is sent and when
As soon as an application process writes into the socket UDP will package the data and send the packet
No delay for connection establishment UDP just blasts away without any formal
preliminaries which avoids introducing any unnecessary delays
No connection state No allocation of buffers, parameters, sequence #s,
etc. … making it easier to handle many active clients at
once Small packet header overhead
UDP header is only eight-bytes long
Model Open System Interconnect (OSI) –TCP VS UDP
Sage-Fox.com Free PowerPoint Templates
19
Model Open System Interconnect (OSI) –TCP VS UDP
Sage-Fox.com Free PowerPoint Templates
20
Model Open System Interconnect (OSI)
Sage-Fox.com Free PowerPoint Templates
Lapisan ini bertugas untuk mentakrifkan bila untuk memulakan,menamatkan danjuga mengawal perhubungan komunikasi yang dipanggil "session". Ini termasuklah kawalan danpengurusan perhubungan komunikasi dua hala supaya aplikasi tahu sama ada ia telah sempurna ataubelum .
membenarkan pengguna untuk membuat session mengisytihar, mengurus dan memadam segalakomunikasi dalam rangkaian.
21
LAPISAN KELIMA – SESSION LAYER
Model Open System Interconnect (OSI)
Sage-Fox.com Free PowerPoint Templates
22
Berfungsi untuk menterjemah dan mengenkripsi maklumat atau data yang dihantar dari sebuah PC ke PC yang lain contohnya menterjemahkan format data JPEG, GIF dan sebagainya.
Encryption, decryption, compression dan decompression juga berlaku di lapisan ini. Secara amnya semua kerja-kerja terjemahan dilakukan pada
LAPISAN KEENAM – PRESENTATION LAYER
Model Open System Interconnect (OSI)
Sage-Fox.com Free PowerPoint Templates
Layer ini bertanggung jawab atas pertukaran informasi antara program komputer, dan service lain yang jalan di jaringan, seperti server printer atau aplikasi komputer lainnya. Lapisan ini juga menyediakan jasa untuk aplikasi pengguna.
Contoh Email, Web Browser dan lain lainnya.
23
LAPISAN KETUJUH – APPLICATION LAYER
Model Open System Interconnect (OSI) - PROTOCOLS
Sage-Fox.com Free PowerPoint Templates
24
• MODUL SKS 3114 PENTADBIRAN RANGKAIAN JPKK
• MODUL SKS 3114 PENTADBIRAN RANGKAIAN KKBD VERSI JULAI
2016
• WIKI
• SEARCHNETWORKING.TECHTARGET
• WEBOPEDIA
• TECHOPEDIA
Sage-Fox.com Free PowerPoint Templates
REFERENCES