Advanced Networking Principles and Protocols Lecture 3 Part5
Advanced Networking Principles and Protocols Lecture 3 Part5
MSIT541
3.V.1
The TCP/IP Protocol Suite
- LOW-LEVEL NETWORK PROTOCOLS
Protocols to be discussed in section:
MSIT541
3.V.2
Link layer services
framing, link access:
encapsulate datagram into frame, adding header,
trailer
channel access if shared medium
“MAC” addresses used in frame headers to identify
source, destination
different from IP address!
reliable delivery between adjacent nodes
we learned how to do this already seldom used on
low bit-error link (fiber, some twisted pair)
wireless links: high error rates
Q: why both link-level and end-end reliability?
MSIT541
3.V.3
Link layer services
flow control:
pacing between adjacent sending and receiving nodes
error detection:
errors caused by signal attenuation, noise.
receiver detects presence of errors:
signals sender for retransmission or drops frame
error correction:
receiver identifies and corrects bit error(s) without resorting to
retransmission
half-duplex and full-duplex
with half duplex, nodes at both ends of link can transmit, but not at
same time
MSIT541
3.V.4
DATA-LINK LAYER PROTOCOLS
Data-link layer has responsibility of transferring datagram
from one node to physically adjacent node over a link.
Application
The TCP/IP protocol stack Application
Layer
Presentation
does not define the lower Layer Layer
Network Network
Layer Layer
Data Link Data Link
Layer Layer
Physical Physical
Layer Layer
MSIT541
3.V.6
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
Typically, local area networks (LANs) are
broadcast and wide area networks (WANs)
are point-to-point
MSIT541
3.V.7
Local Area Network
Local area networks (LANs) typically connect
computers within a building or a campus
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 star topology.
802.4
802.5
802.6
Control
Physical Physical
Layer Layer
MSIT541
3.V.10
Ethernet
Speed: 10-1000 Mbps
Standard: 802.3, Ethernet II (DIX)
MSIT541
3.V.11
Ethernet Hubs vs. Ethernet Switches
An Ethernet switch is a packet switch for Ethernet frames
Buffering of frames prevents collisions.
Hub Switch
CSMA/CD CSMA/CD CSMA/CD CSMA/CD
HighSpeed
Backplane
CSMA/CD CSMA/CD CSMA/CD CSMA/CD
Input Output
Buffers Buffers
MSIT541
3.V.12
Ethernet and IEEE 802.3: Any Difference?
On a conceptual level, they are identical.
But there are subtle differences that are
relevant if we deal with TCP/IP.
“Ethernet” (Ethernet II, DIX)
An industry standards from 1982 that is based on the
first implementation of CSMA/CD by Xerox.
Predominant version of CSMA/CD in the US.
802.3:
IEEE’s version of CSMA/CD from 1985.
Interoperates with 802.2 (LLC) as higher layer.
Ethernet and 802.3 use different methods to
encapsulate an IP datagram.
MSIT541
3.V.13
IEEE 802.2/802.3 Encapsulation (RFC 1042)
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
MSIT541
3.V.14
Ethernet II, DIX Encapsulation (RFC 894)
6 6 2 1 1 1 3 2 38-1492 4
- Ctrl: set 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
MSIT541
3.V.15
PPP - Point-to-Point Protocol
The PPP protocol is a data link
protocol for transmission on a serial
link
Access
Use of PPP today: Router
Modems
Dial-in or DSL access to Internet
Router
PPP was proposed in 1992; a
predecessor of PPP was the Serial Router Router
Link IP (SLIP) protocol Point-to-Point Network
MSIT541
3.V.16
PPP - IP encapsulation
0021 IP datagram
MSIT541
3.V.17
PPP
MSIT541
3.V.18
WLAN Protocols
Wireless LANs refer to LANs (Local Area
Networks) that use high frequency radio
waves instead of cables for connecting the
devices.
It can be conceived as a set of laptops and
other wireless devices communicating by radio
signals.
Users connected by WLANs can move around
within the area of network coverage.
Most WLANs are based upon the standard
IEEE 802.11 or WiFi.
MSIT541
3.V.19
WLAN Protocols
Each station in a Wireless LAN has a wireless
network interface controller. A station can be
of two categories :
Wireless Access Point (WAP) − WAPs or simply
access points (AP) are generally wireless routers
that form the base stations or access points. The
APs are wired together using fiber or copper wires,
through the distribution system.
Client − Clients are workstations, computers,
laptops, printers, smart phones etc. They are
around tens of metres within the range of an AP.
MSIT541
3.V.20
WLAN Protocols
Types of WLAN Protocols
IEEE 802.11 or WiFi has a number of
MSIT541
3.V.22
WLAN Protocols
Types of WLAN Protocols
IEEE 802.11 or WiFi has a number of