17
Network Layer Pertemuan 17 Matakuliah : H0484/Jaringan Komputer Tahun : 2007

Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Embed Size (px)

Citation preview

Page 1: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Network LayerPertemuan 17

Matakuliah : H0484/Jaringan KomputerTahun : 2007

Page 2: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

Learning Outcomes

Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu :

• Menjelaskan peran Network Layer

Page 3: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

Outline Materi

• Layanan• Addressing

Page 4: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

Protocol Functions

• Connection control• Encapsulation• Fragmentation and

reassembly• Ordered delivery• Flow control• Error control• Addressing• Multiplexing• Transmission services

Page 5: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

• Connection oriented– Virtual circuit defined for data trasfer )

• Connectionless– Each PDU data transfer (datagram)

treated independently

Connection Control

Page 6: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

Encapsulation

• Data usually transferred in blocks (Protocol Data Unit - PDU)

• Each PDU contains data and control information• Addition of control information to data is

encapsulation• Data accepted or generated and encapsulated

into PDU• Three categories of control 

– Address•Sender and/or Receiver

– Error-detecting code•Frame Check Sequence (CRC, Checksum)

– Protocol control

Page 7: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

Fragmentation and Re-assembly

• Different packet sizes• When to re-assemble

– At destination• Results in packets getting smaller as data

traverses internet– Intermediate re-assembly

• Need large buffers at routers• Buffers may fill with fragments• All fragments must go through same

router– Inhibits dynamic routing

Page 8: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

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

Page 9: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

Addressing

• Addressing level• Addressing scope• Connection identifiers• Addressing mode

Page 10: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

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)

Page 11: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

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)

Page 12: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

IPv4 Address Formats

Page 13: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

Addresses with subnetting

Page 14: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

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

Page 15: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

IP datagram

Page 16: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

Position of network layer

Page 17: Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007

Bina Nusantara

TCP/IP Concepts