













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














1
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).
docsity.com
docsity.com
communication channel
directly connected
-^
Typically, local area networks (LANs) are broadcast and wide areanetworks (WANs) are point-to-point
Broadcast Network
Point-to-Point Network
docsity.com
Local area networks (LANs) connect computers within abuilding or a enterprise network
-^
Almost all LANs are broadcast networks
-^
Typical topologies of LANs are
bus
or
ring
or
star
We will work with Ethernet LANs. Ethernet has a bus or startopology.
Bus LAN
Ring LAN
docsity.com
docsity.com
Speed:
10Mbps -10 Gbps
Standard:
802.3, Ethernet II (DIX)
Most popular physical layers for Ethernet:
Thick Ethernet:
10 Mbps coax cable
Thin Ethernet:
10 Mbps coax cable
10 Mbps Twisted Pair
100 Mbps over Category 5 twisted pair
100 Mbps over Fiber Optics
1Gbps over Fiber Optics
1Gbps over Fiber Optics (for wide area links)
docsity.com
Starting with 10Base-T, stations are connected to a hub in astar configuration
Hub
docsity.com
An
Ethernet switch
is a packet switch for Ethernet frames
An
Ethernet Hub
does not perform buffering:
HighSpeed Backplane
CSMA/CDCSMA/CDCSMA/CDCSMA/CD
CSMA/CDCSMA/CDCSMA/CDCSMA/CD
OutputBuffers
InputBuffers
CSMA/CDCSMA/CDCSMA/CDCSMA/CD
CSMA/CDCSMA/CDCSMA/CDCSMA/CD
Hub
Switch
docsity.com
802.3 MAC
destinationaddress
6
sourceaddress
6
type^2
data 46-
CRC^4
08002
IP datagram38-
08062
ARP request/reply
28
PAD^10
08352
RARP request/reply
28
PAD^10
docsity.com
802.3 MAC
destinationaddress
6
sourceaddress
6
length^2
DSAPAA^1
SSAPAA^1
cntl^031
org code
0 3
type^2
data 38-
CRC^4
802.2 LLC
802.2 SNAP
-^ 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 thedata field
-^ CRC:
cylic redundancy check
08002
IP datagram38-
08062
ARP request/reply
28
PAD^10
08352
RARP request/reply
28
PAD^10
docsity.com
SLIP (Serial Line IP)
PPP (Point-to-Point Protocol):^ •
Successor to SLIP (1992), with added functionality
-^
Used for dial-in and for high-speed routers
HDLC (High-Level Data Link) :^ •
Widely used and influential standard (1979)
-^
Default protocol for serial links on Cisco routers
-^
Actually, PPP is based on a variant of HDLC
docsity.com
The frame format of PPP is similar to HDLC and the 802.2 LLC frameformat:
-^
PPP assumes a duplex circuit
-^
Note: PPP does not use addresses
-^
Usual maximum frame size is 1500
docsity.com
Link management:
The link control protocol (LCP) is
responsible for establishing, configuring, and negotiating adata-link connection. LCP also monitors the link quality and isused to terminate the link.
-^
Authentication:
Authentication is optional. PPP supports two
authentication protocols: Password Authentication Protocol(PAP) and Challenge Handshake Authentication Protocol(CHAP).
-^
Network protocol configuration:
PPP has network control
protocols (NCPs) for numerous network layer protocols. The IPcontrol protocol (IPCP) negotiates IP address assignmentsand other parameters when IP is used as network layer.
docsity.com
Some data link technologies can be used to buildcomplete networks, with their own addressing, routing,and forwarding mechanisms. These networks are oftencalled switched networks.
-^
At the IP layer, a switched network may like a point-to-point link or like a broadcast link
docsity.com