1 pertemuan 19 layer network matakuliah: h0174/jaringan komputer tahun: 2006 versi: 1/0
Post on 19-Dec-2015
213 views
TRANSCRIPT
1
Pertemuan 19Layer Network
Matakuliah : H0174/Jaringan Komputer
Tahun : 2006
Versi : 1/0
2
Learning Outcomes
Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu :
• Menjelaskan peran Network Layer
3
Outline Materi
• Layanan• Addressing
4
Protocol Functions
• Connection control• Encapsulation• Fragmentation and reassembly• Ordered delivery• Flow control• Error control• Addressing• Multiplexing• Transmission services
5
• Connection oriented– Virtual circuit defined for data trasfer )
• Connectionless– Each PDU data transfer (datagram) treated
independently
Connection Control
6
Ordered Delivery
• Datagram may arrive out of order due to different paths through network
• PDU order must be maintained, numbering PDUs sequentially
• Finite sequence number field– Maximum sequence number greater than
maximum number of PDUs that could be outstanding
7
Addressing
• Addressing level• Addressing scope• Connection identifiers• Addressing mode
8
Addressing Level
Level in communications architecture at which entity is named
• Unique address for each end system (workstation, server), each intermediate system (router)
• Network-level address– IP address or internet address– OSI - network service access point (NSAP)– Used to route PDU through network
• At destination data must routed to some process– Each process assigned an identifier– TCP/IP: port, OSI: Service access point (SAP)
9
Position of network layer
10
TCP/IP Concepts
11
IP datagram
12
Addressing Scope
• Global– Global nonambiguity, Identifies unique system– Enables internet to route data between any two
systems • Need unique address for each device interface on
network– MAC address on IEEE 802 network Enables network to
route data units through network and deliver to intended system
• Addressing scope only relevant for network-level addresses
• Port or SAP above network level is unique within system, need not be globally unique (e.g port 80 web server listening port in TCP/IP)
13
IPv4 Address Formats
14
Addresses with subnetting
15
Subnets and Subnet Masks
• Allow arbitrary complexity of internetworked LANs within organization
• Insulate overall internet from growth of network numbers and routing complexity
• Site looks to rest of internet like single network• Each LAN assigned subnet number• Host portion of address partitioned into subnet
number and host number• Local routers route within subnetted network• Subnet mask indicates which bits are subnet
number and which are host number