Mobile 081803050789. I f. iM t iK li h. ▻ Informasi Materi Kuliah. ▻ http://blog.
stikom.edu/anjik/perkuliahan/jaringan- komputer-dan-pengamanan/ komputer
dan ...
Pengantar Jaringan Komputer
[email protected]
Profile `
Dosen : Anjik Sukmaaji ` ` ` ` `
`
http://blog.stikom.edu/anjik http://blog stikom edu/anjik
[email protected] Lantai 8 Gedung Biru: Ruang Dosen S1 Sistem Komputer Office Phone 031-8721731 ext. 708 Mobile 081803050789
I f Informasi i Materi M t i Kuliah K li h `
http://blog.stikom.edu/anjik/perkuliahan/jaringankomputer dan pengamanan/ komputer-dan-pengamanan/
Fokus Materi `
Memahami state-of-the-art tentang jaringan komputer : ` ` `
protokol jaringan, arsitektur dan aplikasi
What is the Objective of Networking? ` `
Communication between applications on different computers p Must understand application needs/demands ` ` ` ` `
Traffic data rate T ffi pattern Traffic tt (bursty (b t or constant t t bit rate) t ) Traffic target (multipoint or single destination, mobile or fixed) Delay sensitivity Loss sensitivity
4 tahap dalam yg terjadi dalam jaringan `
Komunkasi antar link
`
Menghubungkan beberapa link (internetworking)
`
Mencari dan me-rutekan data ke nodes dalam internetwork
`
Menyesuaikan kebutuhan-kebutuhan aplikasi
Tahap pertama ` `
Membentuk hubungan (link) antar node Link: jalur yang dilewati bits ` `
`
Wired or wireless Broadcast atau p point-to-point p ((atau keduanya) y )
Node: suatu perangkat yang terhubungkan pada link
Jenis Link Point-to-Point
Multiple Access
…
Bentuk kiriman packet data `
Unicast `
`
Broadcast `
`
Pengiriman g packet menuju p j semua node dalam jjaringan g
Multicast `
`
Pengiriman packet ke satu penerima
Pengiriman packet menuju sekelompok node tertentu dalam jaringan
Anycast `
Pengiriman packet menuju salah satu dari sekelompok node dalam jaringan
Apakah yg dimaksud Switched dalam jaringan? `
Switch: moves bits between links ` `
Packet switching Circuit switching
Switched Network
Teknologi Jadul (Circuit Switched)
Kemudian hadir teknologi TDM • Sinkronisasi Time division multiplexing Multiplex (mux)
Demultiplex (demux)
Secara Logic dapat digambarkan
Packet Switching (Internet)
Packets
Packet Switching ` ` `
Meneruskan packet dari beda sumber Sesuai dengan kebutuhan (resources on demand) General `
`
Banyak aplikasi
Dapat mengakomodasi jenis paket yang datang bersamaan `
Dibuat antrian
Ciri-ciri Ciri ciri Packet Switching `
Store and forward ` `
`
Packet terbagi dalam unit unit-unit unit Dapat melewati jalur alternatif - reordering
Permasalahan ` `
Congestion Delay
Tahap kedua : Internet[work] `
`
`
`
Kumpulan dari jjaringan-jaringan g j g yang terhubung Host: Endpoint j i jaringan ( (computer, t PDA, …) Router: node yang y g menghubungkan jaringan I t Internet t vs. internet i t t
Internet[work]
Tantangan `
Banyak perbedaan antara jaringan satu dengan yang lain ` ` ` ` `
`
Address formats Performance – bandwidth/latency Packet size Loss rate/pattern/handling Routing
Bagaimana mengetahui kerja/fungsi/tujuan/bentuk anatara berbagai teknologi jaringan
Langkah ke tiga : Bagaimana mencari node
internet
Computer 1
Computer 2
Konsep Penamaan dalam jaringan `
Manusia umumnya dapat dengan mudah mengingat nama ` `
`
Misal : www.stikom.edu Secara umum bersifat uniq, karena terhubung dengan jaringan se-dunia
Sistem penamaan diterjemahkan dalam suatu alamat fisik dalam jaringan ` `
Misal: DNS akan mengasosiasikan ke dalam IP Address (misal: 222.124.29.230) Alamat tersebut akan mengarahkan ke dalam suatu jaringan
Domain Name system
What’s the IP address for www.stikom.edu? It is 222.124.29.230
Computer 1
DNS server address manually configured into OS
Local DNS Server
Packet Routing ` `
Setiap teknologi jaringan memiliki metode pengiriman data Address resolution menyediakan informasi pengiriman packet antar jaringan ` `
`
Contoh, ARP maps IP addresses ke Ethernet addresses Local, hanya bekerja pada sebagaian jaringan
R i protocoll menentukan Routing k jalur j l antar jaringan j i
Network:Address Resolution
Broadcast: who knows the Ethernet address for 222.124.29.230?
Ethernet Broadcast: Yes, it is 08-00-2c-19-dc-45 08 00 2c 19 dc 45
Ethernet
Internetwork:Datagram Routing Routers send packet to next closest point
H
R
R
R
H
H
R
R R
H R R
H
H: Hosts R: Routers
Routing ` ` `
Meneruskan table alamat ke masing-masing router menggunakan protokol protokol-protokol protokol routing. Original Internet: di update secara manual Protokol routing g melakukan update p table berdasarkan “cost” ` `
Tukar menukar informasi table alamat dengan router t t tetangga atau t semuanya Menggunakan informasi tetangga terdekat atau jalur terpendek p
Langkah ke empat: Kebutuhan aplikasi `
Reliability ` `
` ` ` `
Corruption Lost packets
Flow and congestion g control Fragmentation In-order delivery Etc…
Bagaimana jika data hilang sebagian Problem: Data Corruption GET index.html
GET windex.html
Internet
Solution: Add a checksum
0,9
9
6,7,8 21
X
4,5
7
1,2,3 6
Bagaimana jika jaringan overload Problem: Network Overload
Solution: Buffering and Congestion Control ` Short bursts: buffer ` What Wh t if buffer b ff overflows? fl ? ` `
`
Packets dropped Sender adjusts rate until load = resources
Called “congestion control”
Bagaimana jika data hilang Problem: Lost Data GET index.html
Internet
Solution: Timeout and Retransmit GET index.html Internet GET index.html
GET index index.html html
Bagaimana jika ukuran data tidak sesuai dengan jalur Problem: Packet size
• On Ethernet, max IP packet is 1.5kbytes yp web p page g is 10kbytes y • Typical
Solution: Fragment data across packets
ml
x.ht
inde
GET GET index index.html html
Bagaimana jika data tidak urut Problem: Out of Order ml
inde
x.ht
GET
GET x.htindeml
Solution: Add Sequence Numbers
ml
4
inde 2
x.ht 3
GET 1 GET index.html index html
Kesimpulan fungsi jaringan ` ` ` ` ` ` ` `
Link Multiplexing Routing Addressing/naming (locating peers) Reliability Flow control Fragmentation d dll
Lapisan jaringan (Network layer) `
Pendekatan secara modular dari fungsi jaringan
Application Application-to-application channels Host-to-host connectivityy Link hardware
Protokol ` ` `
Module in layered structure Set of rules governing communication between network elements (applications, hosts, routers) Protocols define: ` `
Interface to higher layers (API) Interface to peer ` `
Format and order of messages Actions taken on receipt of a message
Karakteristik suatu layer ` `
Each layer relies on services from layer below and exports services to layer above Interface defines interaction
Layers
User A
User B
Application
Transport p Network Link Host
Host
L Layering: i ttechnique h i tto simplify i lif complex l systems t
Enkapsulasi pada layer
User A
User B
Get index.html
Connection ID
Source/Destination Li k Address Link Add
Protocol Demultiplexing FTP
HTTP NV
TCP
TFTP UDP Network IP
IPX NET1
TCP/UDP
IP NET2 …
NETn
Type T Field
Protocol P t l Field
Portt P Number
Contoh layer : 7 Layer OSI ` ` ` ` ` ` `
Physical: how to transmit bits Data link: how to transmit frames Network: how to route packets Transport: how to send packets end2end Session: how to tie flows together Presentation: byte ordering, security Application: everything else
OSI Layers and Locations
Application Presentation Session Transport N t Network k Data Link Physical Host
Switch
Router
Host
Contoh : Transport layer ` ` `
First end-to-end layer End-to-end state May provide reliability, flow and congestion control
Contoh : Network Layer ` ` `
Point-to-point communication Network and host addressing Routing