Top Banner
Data Link Layer - Ethernet Pertemuan 14 Matakuliah : H0484/Jaringan Komputer Tahun : 2007
18

Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Dec 14, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Data Link Layer - EthernetPertemuan 14

Matakuliah : H0484/Jaringan KomputerTahun : 2007

Page 2: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

Learning Outcomes

Pada akhir pertemuan ini, diharapkan mahasiswa

akan mampu :

• Menggunakan Ethernet

Page 3: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

Outline Materi

• Standards• Frame format

Page 4: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

Frame Structure

• In synchronous transmission all transmissions are in frames

• Single frame format for all data and control exchanges

• Basic Structures:– Character Oriented Protocol (COP) - BSC

(Bisynchronous)– Bit Oriented Protocol (BOP) - HDLC, SDLC

Page 5: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

Generic Frame Structure (BOP)

Page 6: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

Data Link Protocols

• HDLC - High-Level Data Link Control• SDLC - Synchronous Data Link Control• PPP - Point to Point Protocol• Ethernet

HDLC can be considered as the base protocol format

Page 7: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

Ethernet Frame Format

Page 8: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

Ethernet Frame

The frame can be any number of bytes in length, depending on the specific

technology usedEthernet frame can be as long as 1522

bytes.

Page 9: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

Ethernet Layers

Page 10: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

Logical Link Control

• Interface to higher levels• Flow and error control• Transmission of link level PDUs between

two stations• Must support multiaccess, shared medium• Relieved of some link access details by MAC

layer• Addressing involves specifying source and

destination LLC users– Referred to as service access points (SAP)– Typically higher level protocol

Page 11: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

MAC Control Packet

Page 12: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

MAC Frame Format

• MAC control• Destination MAC address• Source MAC address• LLC

– MAC layer receives data from LLC layer• CRC

– MAC layer detects errors and discards frames

LLC optionally retransmits unsuccessful frames

Page 13: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

Media Access Control

• Assembly of data into frame with address and error detection fields

• Disassembly of frame– Address recognition– Error detection

• Govern access to transmission medium– Not found in traditional layer 2 data

link control• For the same LLC, several MAC options

may be available

Page 14: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

Media Access Control (MAC)

• Shared-media broadcast technology. • Ethernet’s MAC performs three functions:

Transmitting and receiving data packets Decoding data packets and checking them for valid

addresses before passing them to the upper layers of the OSI model

Detecting errors within data packets or on the network• Specified by the technology being used.• Dictates who can transmit and when (Only one station

may transmit at a time; otherwise, their signals would be scrambled)

• Two types: Deterministic (Token Ring) Opportunistic (First come, first served - Ethernet)

Page 15: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

Ethernet and IEEE 802.3

• Specify similar technologies.• Broadcast network.• Using CSMA/CD algorithm.• Hardware implementation.• Differences:

– Ethernet provides services corresponding to physical and datalink layer.

– IEEE 802.3 specifies the physical layer and the channel-access portion of the data link layer but does not define a LLC protocol.

Page 16: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

Protocol stack

Link Control Protocol (LCP)Authentication ProtocolsNetwork Control Protocol (NCP)Bit PaddingDigital Signals (DS) Services

Page 17: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

Encapsulated LCP packet

Page 18: Data Link Layer - Ethernet Pertemuan 14 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.

Bina Nusantara

An example