Professional Documents
Culture Documents
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
Application
• The TCP/IP protocol stack does Layer
not define the lower layers of a Application Presentation
Layer Layer
complete protocol stack
Session
Layer
• In this lecture, we will address how Transport Transport
the TCP/IP protocol stacks Layer Layer
Network
interfaces with the data link layer Layer
Network
Layer
and the MAC sublayer (Data) Link (Data) Link
Layer Layer
Physical
Layer
OSI
TCP/IP Suite Reference
Model
2
Data Link Layer
Network Network
Layer Layer
Data Link Data Link
Layer Layer
Physical Physical
Layer Layer
3
Types of Networks
• There are two types of communication networks:
– Broadcast Networks: All stations share a single
communication channel
– Point-to-Point Networks: Pairs of hosts (or routers) are
directly connected
4
Local Area Network
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
802.6
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
PPP - Point-to-Point Protocol
0021 IP datagram
16
PPP
17