Data Link Protocols: Relates To Lab 2
Data Link Protocols: Relates To Lab 2
Relates to Lab 2.
This module covers data link layer issues, such as local area networks
(LANs) and point-to-point links, Ethernet, and the Point-to-Point Protocol
(PPP).
1
TCP/IP Suite and OSI Reference Model
Logical Link
Control (LLC) Sublayer in
Local Area
Media Access Networks
Control (MAC)
2
Data Link Layer
Network Network
Layer Layer
Data Link Data Link
Layer Layer
Physical Physical
Layer Layer
3
Two types of networks at the data link layer
– Broadcast Networks: All stations share a single
communication channel
– Point-to-Point Networks: Pairs of hosts (or routers) are
directly connected
4
Local Area Networks
5
MAC and LLC
Layer
Data Link
layer is often called Logical Link Control
Control (LLC) to Physical Layer
6
IEEE 802 Standards
802.4
802.5
Control
Physical Physical
Layer Layer
7
Ethernet
8
Bus Topology
Ethernet
9
Star Topology
Hub
10
Ethernet Hubs vs. Ethernet Switches
Hub Switch
CSMA/CD CSMA/CD CSMA/CD CSMA/CD
HighSpeed
Backplane
CSMA/CD CSMA/CD CSMA/CD CSMA/CD
Input Output
Buffers Buffers
11
Ethernet and IEEE 802.3: Any Difference?
12
Ethernet II, DIX Encapsulation (RFC 894)
802.3 MAC
destination source
type data CRC
address address
6 6 2 46-1500 4
0800 IP datagram
2 38-1492
2 28 10
2 28 10
13
IEEE 802.2/802.3 Encapsulation (RFC 1042)
6 6 2 1 1 1 3 2 38-1492 4
- Ctrl: s et t o 3 2 28 10
- org code: set to 0
- type field identifies the content of the 0835 RARP request/reply PAD
data field 2 28 10
- CRC: cylic redundancy check
14
Point-to-Point (serial) links
Point-to-Point Links
15
Data Link Protocols for Point-to-Point links
16
PPP - IP encapsulation
• The frame format of PPP is similar to HDLC and the 802.2 LLC frame
format:
flag addr ctrl protocol data CRC flag
7E FF 03 7E
1 1 1 2 <= 1500 2 1
0021 IP datagram
18
PPP Support protocols
19
Switched networks
Switched network
of data link layer
switches
H1 R3
Ethernet
20
Switched networks
21