Professional Documents
Culture Documents
8 Data Link Layer 08112022 011032pm
8 Data Link Layer 08112022 011032pm
8 Data Link Layer 08112022 011032pm
5-1
Link Layer: Introduction “link”
Some terminology:
• hosts and routers are nodes
• communication channels that connect
adjacent nodes along communication path
are links
• wired links
• wireless links
• LANs
• layer-2 packet is a frame, encapsulates
datagram
• link layer is to move a datagram from one
node to an adjacent node over a single
communication link
• Simple Parity
• Longitudinal Redundancy Check/Vertical
Redundancy Check (LRC/VRC)
8
Parity Examples - Using Even Parity
9
Parity Checks
Simple parity - If performing even parity, add a
parity bit such that an even number of 1s are
maintained.
If performing odd parity, add a parity bit such that
an odd number of 1s are maintained.
For example, if the character 1001010 is to be sent,
using even parity, a parity bit = 1 would be added to
the character.
If the character 1001011 is to be sent, using even
parity, a parity bit = 0 would be added to the
character.
10
Parity Checks
11
Parity Checks
12
13