Text Book:
Communications Networks 2nd Edition, A. Leon-Garcia,
and I. Widjaja, McGraw Hill, 2003
Reference Books:
Communication Networks, Sharam Hekmat, PragSoft
Corporation, 2005; www.pragsoft.com/books/CommNetwork.pdf
2
What do you need to study the Course?
More than 50% of the midterm/final will test you conceptual understanding.
Please do not miss the concept or just memorize it!
Problem Solving:
If you will follow the tutorials with our excellent TAs, you will partially cover the practical
part! But you still need to practice your self! Please solve (as much as you can) the
problems in the book. If you have problems, please come to us.
5
Is Communication Network Related to What
you Have Studied So Far?
Two ports network, Four ports network, N ports network? Mmmm! Don't
say that control has to do anything in it!
Don't forget social networks (twitter and facebook) or better don't forget
what wasted your time :p)
6
What is a communication network?
Communication
Network
7
What is a communication network?
Communication
Network
Resources Infrastructure
Routers, servers (CPUs), Copper wires, coaxial
switches, multiplexers, cables, optical fiber
hubs, modems, Ducts, conduits, telephone
8
poles
History!
Samuel Morse invented Telegraph 1837, which that sends electrical Impulses
over Copper Wires (Dots and Dashes)
Alexander Graham Bell's First Telephony in 1875 and patented 1876
Bell's first telephone company was founded 1867.
He succeeds in converting the analog voice into electrical signal (via mic)
Signal for ae as in cat
Microphone Loudspeaker
analog
electrical
signal
sound sound
Telephony digital age: using Bell's telephone cables (after twisting them and switching
them digitally) we succeeded to have:
Wireless started to compete the digital telephone networks and even it is winning 9
internet !!
Networks Design and Operation
Digital transmission
Digital voice and Digital data
Hierarchical Network
Hierarchical structure, routing paths, and scalability
Signaling Network
Intelligence inside the network 10
What Does a Simple Telephone Network Need?
Signaling
Signaling required to establish a call, also transmitted via cables and has a
simple algorithm
Flashing and ringing devices to alert the called party of incoming call
11
Signaling + voice signal transfer
Note: Signaling is not mixed with voice in digital telephony!!
Simple Network Telephone Setup
12
Telephone Pole Congestion
N 2
..
.
4 3
13
fully connected Network
Switching is a Solution !
Operator-Switches:
Patchcord panel switch invented in 1877
Operators connect users on demand
16
Geographic Spread of Nodes and Host
Local Area Network (LAN):
when the physical distance between the hosts is within a few kilometers.
17
ATM
H = host Switch
H
Net
Net 33
G
Net 1
Net 1 G
G
Ethernet Switches/Hubs G
Net55
Net
Net
Net 22 G Net 4 G
H
H
Access Restrictions
Private Networks:
Most of our networks are private unless you decided to leave it public!
Public Networks:
are genearally accessible to the average user, but may require registration and
payment of connection fees
Note:
Internet is the most-widely known example of a public network. Technically, both
private and public networks may be of LAN, MAN, or WAN type, although public
networks, by their size and nature, tend to WANs.
19
Model Employed by the Network
Point-to-point:
communication between nodes simultaneously, where the message follows a
specific route across the network in order to get from one node to another
20
Layered (Protocol) Communication (1)
Protocol: refers to the rules, actually strict rules
and
Do not confuse your self! A layer stack is known to be a protocol stack ;-)
TCP/IP model
22
Layered Communication (2)
Application Application
One or More Network Nodes
Application Application
Layer Layer
End-to-End Protocols
Presentation Presentation
Layer Layer
Session Session
Layer Layer
Transport Transport
Layer Nodes X Nodes Y Layer
Network Network Network Network
Layer Layer Layer Layer
Data Link Data Link Data Link Data Link
Layer Layer Layer Layer
Physical Physical Physical Physical
Layer Layer Layer Layer 23
Each layer can exactly translate the message from the same layer in other device
Each of the seven layers of the OSI model hides the implementation details of the lower
layers from the upper layers. (i.e., Network Layer does not inform the Data Link Layer
about its building blocks)
Well-defined protocols and interfaces for each of the layers make it possible for the layer
to be designed and implemented in isolation from the other layers (each layer can be
bought from a different vendor!!)
However, they CAN COMMUNICATE, HOW? Each of these layers may be implemented
as a set of routines which communicate with the layer above and the layer below it via
parameters passed in function calls.
calls
FOR Safety: each layer adds an additional piece of information to the message it is
transmitting. The same layer removes the additional piece of information on the receiving
end. The additional information appears in form of a header (e.g., TH = Transport Header).
The data link layer adds a header as well as a trailer to its data (DLH and DLT). 24
DLT = CRC
25
Physical Layer
Transfer of bits across communication link
Transmission Medium
Twisted-Pair cable,
Coaxial Cable,
Optical Fiber,
Radio,
Satellite,
Infrared
Aspects of a communications link
Physical: cable, plugs, pins, ...
Electrical/optical: modulation, signal strength, voltage levels, bit
times,
Functional/procedural: how to connect, activate, maintain, and
deactivate physical links
Technique
Ethernet, Wireless, DSL, cable modem, telephone modem 26
LAN WAN
Data Link Layer
Flow control
Two Sub-Layers
Logical link control (LLC) LLC
Medium access control (MAC)
MAC
Physical
27
Or Contention Free
avoid collisions; MAC protocol should be able to bring the
network from an arbitrary state to a collision-free stable
state
What to do? Medium access control techniques
Defines the rules for accessing the medium
Common MAC Schemes
Carrier Sense Multiple Access (with Collision Detection)
CSMA/CD
Token Passing
Random Access
28
Reservation
Error control in Logical Link Control (LLC)
Packets Packets
Data Link operates over
Data link Data link
wire-like,
layer Frames layer
A B directly-connected systems
Physical Physical
layer layer
Frames can be corrupted
or lost, but arrive in order
1
1
Data link performs
2
12 3 21 12 3 21 error-checking &
Medium retransmission
2
A B 1
Ensures error-free packet
transfer between two
systems
29
LLC Simplest Error Detection
Simplest Error Detection: Parity Checks
Even Parity : Sum of 1s is even
Odd Parity : Sum of 1s is odd
Addressing must scale to large networks
Nodes jointly execute routing algorithm to determine paths
across the network
Forwarding transfers packet across a node
Congestion control to deal with traffic surges
31
Connection setup, maintenance, and teardown
Routing Example
D
B 5
7
4 9
3 F
A
7 5
6
6
E
C
Route Cost
ABF 13
AB DF 16
ABEF 12
ACF 13
29 Nov. - 3 Dec. IEEE GLOBECOM 2004 32
ACEF 17
Network Layer
Transfers data error-free between
(point)end-to-(point)end from process in a machine to
process in another machine
Reliable stream transfer or quick-and-simple
single-block transfer (without guarantee of the order)
Port numbers enable multiplexing and broadcasting
Message segmentation and reassembly
Connection setup, maintenance, and release
Transport Transport
Layer Layer
Application Layer: Provides
services that are frequently required
by applications: DNS, web acess, Application
file transfer, email Application
Presentation Layer: Application
Layer
Application
machine-independent Layer
representation of data Presentation
Transport
Layer
Session Layer: provides the Layer
mechanism for opening, closing and Session
Layer
managing a session between
end-user application processes. Transport
Layer
Questions: