Computer Networks: Maarten Van Steen
Computer Networks: Maarten Van Steen
Chapter 01
(version April 12, 2007)
01 Introduction
02 Physical Layer
03 Data Link Layer
04 MAC Sublayer
05 Network Layer
06 Transport Layer
07 Application Layer
08 Network Security
00 – 1 /
Overview
Hardware: Talk just a bit about how you can configure
a bunch of computers into a network:
10 m Room
1 km Campus
100 km Country
Wide area network
1000 km Continent
01 – 2 Introduction/1.2 Hardware
Computer
Cable Computer
(a) (b)
01 – 3 Introduction/1.2 Hardware
Local Area Networks (LAN) (2/2)
Computer
Cable Computer
(a) (b)
01 – 4 Introduction/1.2 Hardware
Junction
box
Antenna
Head end
Internet
Host
LAN
01 – 7 Introduction/1.2 Hardware
Wireless Networks (2/2)
Application W M
Office workstations N N
Notebooks N Y
LAN in the jungle Y N
LAN on a ship N Y/N
PDA Y Y
Flying router
Portable Wired
computer LAN
One telephone
call per computer
(a) (b)
01 – 8 Introduction/1.2 Hardware
Home Networks
Essence: Many devices in the same home will be
connected to a single network and communicate with
each other:
• Computers
• Entertainment (audio equipment, game centers)
• Telecommunications (mobile phones, fax devices,
intercom)
• Appliances (refrigerator, microwave, central heat-
ing, lights)
• Telemetry (alarms, cameras, thermostat)
01 – 9 Introduction/1.2 Hardware
Internetworks
Examples:
01 – 10 Introduction/1.2 Hardware
Protocol Hierarchy
Fundamental to all software that makes a computer
network run, is the notion of protocol hierarchies:
structuring the services that a network must offer in
terms of layers.
Location A Location B
I like J'aime
Message Philosopher
rabbits bien les
lapins
3 3
Information
L: Dutch for the remote Translator L: Dutch
Ik vind translator Ik vind
konijnen konijnen
2 2
leuk leuk
Information
Fax #--- for the remote Fax #---
L: Dutch secretary Secretary L: Dutch
Ik vind Ik vind
1 1
konijnen konijnen
leuk leuk
01 – 11 Introduction/1.3 Software
Layering: The Concepts
01 – 12 Introduction/1.3 Software
Layering: An Example
Layer
Layer 5 protocol
5 M M
Layer 4 protocol
4 H4 M H4 M
Layer 3
protocol
3 H3 H4 M1 H3 M2 H3 H4 M1 H3 M2
Layer 2
protocol
2 H2 H3 H4 M1 T2 H2 H3 M2 T2 H2 H3 H4 M1 T2 H2 H3 M2 T2
01 – 14 Introduction/1.3 Software
Service Example
01 – 15 Introduction/1.3 Software
Service Primitives (1/2)
01 – 16 Introduction/1.3 Software
01 – 17 Introduction/1.3 Software
Services vs. Protocols
Layer k + 1 Layer k + 1
Protocol
Layer k Layer k
Layer k - 1 Layer k - 1
01 – 18 Introduction/1.3 Software
Interface
Presentation protocol
6 Presentation Presentation PPDU
Session protocol
5 Session Session SPDU
Transport protocol
4 Transport Transport TPDU
Communication subnet boundary
Internal subnet protocol
3 Network Network Network Network Packet
Bits 8 8 8 >0 16 8
Examples:
OSI TCP/IP
7 Application Application
4 Transport Transport
3 Network Internet
1 Physical
The bad thing is that TCP/IP did not make a clear dis-
tinction between services, interfaces, and protocols.
That makes it much harder to re-implement certain
layers.
POP
NAP
Client Telephone
Server farm
system
Corporate
LAN
Router