Data Link Protocols: Relates To Lab 2
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).
Application Layer
Broadcast Network
Point-to-Point Network
Typically, local area networks (LANs) are broadcast and wide area networks (WANs) are point-to-point
4
Bus LAN
Ring LAN
Higher Layer
Physical Layer
7
Ethernet
Speed: Standard: 10Mbps -10 Gbps 802.3, Ethernet II (DIX)
Bus Topology
10Base5 and 10Base2 Ethernets has a bus topology
Ethernet
Star Topology
Starting with 10Base-T, stations are connected to a hub in a star configuration
Hub
10
Hub
CSMA/CD CSMA/CD CSMA/CD CSMA/CD CSMA/CD CSMA/CD CSMA/CD CSMA/CD
CSMA/CD CSMA/CD
Switch
CSMA/CD CSMA/CD
HighSpeed Backplane
CSMA/CD CSMA/CD
CSMA/CD CSMA/CD
Input Buffers
Output Buffers
11
802.3 MAC
destination address
6
source address
6
type
2
data
46-1500
CRC
4
0800
2
IP datagram
38-1492
0806
2
ARP request/reply
28
PAD
10
0835
2
RARP request/reply
28
PAD
10
13
802.3 MAC
destination address
6
802.2 LLC
length
2
802.2 SNAP
cntl 03
1
source address
6
DSAP AA
1
SSAP AA
1
org code 0
3
type
2
data
38-1492
CRC
4
- destination address, source address: MAC addresses are 48 bit - length: frame length in number of bytes - DSAP, SSAP : always set to 0xaa - Ctrl: set to 3 - org code: set to 0 - type field identifies the content of the data field - CRC: cylic redundancy check
0800
2
IP datagram
38-1492
0806
2
ARP request/reply
28
PAD
10
0835
2
RARP request/reply
28
PAD
10
14
Dial-Up Access
Router Router
Router
Router
Point-to-Point Links
15
16
PPP - IP encapsulation
The frame format of PPP is similar to HDLC and the 802.2 LLC frame format:
flag 7E 1 addr ctrl FF 1 03 1 2 0021 <= 1500 IP datagram 2 protocol data CRC flag 7E 1
C021
8021
PPP assumes a duplex circuit Note: PPP does not use addresses Usual maximum frame size is 1500
17
19
Switched networks
Some data link technologies can be used to build complete networks, with their own addressing, routing, and forwarding mechanisms. These networks are often called switched networks. At the IP layer, a switched network may like a point-topoint link or like a broadcast link
R1
Point-to-point link
R2
Point-to-point link
H2
H1
R3
Ethernet
20
Switched networks
Data link layer technologies: Switched Ethernet ATM (Asynchronous Transfer Mode) Frame Relay Multiprotocol Label Switching (MPLS) Some switched networks are intended for enterprise networks (Switched Ethernet), wide area networks (MPLS, Frame Relay), or both (ATM) Some switched networks have a complete protocol suite.
21