Fundamentals of Computer Networks ECE 478/578
Fundamentals of Computer Networks ECE 478/578
ECE 478/578
Lecture #1
Instructor: Loukas Lazos
Dept of Electrical and Computer Engineering
University of Arizona
What is this Course All About
Fundamental principles of Computer Networks
2
Why Learn about Networking?
Indispensable part of modern society
Commercial – e-commerce, banking, inventorying, telecommunications,
archiving, health
Social – critical infrastructure, homeland security, policing
Human interaction/communication – email, chat, videoconferencing, social
networking, entertainment
Additional References
“Data Networks”
D. Bertsekas, and R. Gallager, 2nd edition
“Computer Networks”
S. Tanenbaum and D. Wetherall,
5th edition,
Course Website
www.ece.arizona.edu/~ece578
Lectures, Homework, Useful links,
Supplementary material, Announcements
4
Where to find me
My Office:
ECE bldg: Room 356H
Office Hours
10:00 – 11:00 AM TTh
and by appointment
My Email: llazos@ece.arizona.edu
5
Class Expectations
Class participation – Your input is needed for good discussion
9
Course Objectives
Develop a fundamental understanding of the network design principles and
performance metrics
Become familiar with the mechanisms and protocols for reliable data
communication via a computer network
10
Topics to be covered
Network architectures, performance metrics, layering
Internetworking, routing
Applications
Network security
11
Definition of a Network
A system that carries a commodity between 2 or more entities
Examples: Transportation network, electric grid, postal, water, telephone
12
Transportation vs. Computer Networks
Transportation Network Computer Network
Vehicles/People Packets/Payload
Street address IP address
Intersection Bridge/router
Street, highway, path Link/broadband/path
Traffic jam Network congestion
Stop and go traffic light Flow control
Taking alternative path Alternative route
Collision Collision of packets
HOV lane Flow Priority
Following a route to school Routing algorithm
… …
13
Most commonly known Networks
The Internet*
Ethernet (LAN)
WiFi
3G/4G
An internet**
15
How does the Internet Look Like?
16
How Many Users?
17
How many more Users?
18
How much Traffic?
19
How is Time Spent?
20
What Do Users Expect?
21
How do they get it?
22
Where are we headed?
23
Biggest Internet Challenge
Scale
How to manage such a large system,
growing rapidly and uncontrollably,
consisting of heterogeneous devices,
managed by multiple entities
having limited resources
24
Network Elements
Nodes: Special purpose devices
26
What Drives Network Design?
Applications
WWW, email, chat, videoconferencing, e-commerce, audio/video streaming,
VOIP, file sharing
27
How do we Evaluate a Network
28
Directly-Connected Networks
Point-to-point links: Each node is directly connected to all others via
a link
point-to-point
multiple access
29
Switched Networks
terminal/
Circuit-Switched host
A dedicated circuit is established
across a set of links
Example: Telephone network
Packet-Switched switch
Data is split into blocks called
packets or messages.
Store-and-forward strategy
Switches: Store and forward
packets
30
Circuit-Switched Networks
End-to-end permanent connection
Dedicated path for communication
No need for a destination address since a path is already established
Once communication is complete, connection is ended and links are
released.
31
Advantages of Circuit Switching
Guaranteed bandwidth (Quality of Service)
Predictable bitrate and delay
Good for delay-sensitive applications
Reliable communication
Rare packet loss
Packets are delivered in order
Simple data routing
Forwarding based on time slot or frequency (multiplexing)
No need to inspect a packet header for address
Low per-packet overhead
Forwarding based on time slot or frequency
No IP (and TCP/UDP) header on each packet
32
Disadvantages of Circuit Switching
Wasted bandwidth
Bursty traffic leads to idle connection during silent period
Blocked connections
Connection refused when resources are not sufficient
Unable to offer “okay” service to everybody
Connection set-up delay
No communication until the connection is set up
Unable to avoid extra latency for small data transfers
Network state
Network nodes must store per-connection information
Unable to avoid per-connection storage and state
33
Packet Switched Networks
Data is divided into packets (messages)
Each packet contains identification info (source/destination address seq.
number, etc)
34
Advantages of Packet Switching
No wasted bandwidth (not entirely true)
Links are not reserved during idle period
Multiplexing (see next slides)
Frequency, time, statistical multiplexing
Service
More connections of lesser quality
No blocking of users
Adaptation
Can adapt to network congestion and failures
35
Multiplexing
36
Multiplexing Methods
Time Division Multiplexing
S1 S2 S3 S1 S2 S3 S1 S2 S3 S1 S2 S3
time
f2 S2
f1 S1
time
37
Multiplexing Methods
Statistical multiplexing
Division of the communication medium into a number of channels
of variable bandwidth
38
Disadvantages of Packet Switching
No guaranteed bandwidth
Harder to build applications requiring QoS
Per packet overhead
Need a header with source/dest. address, etc.
Complex end-to-end control
Packets can be lost, corrupted or delivered out-of-order
Delay and Congestion
No congestion control, can lead to arbitrary delays and packet
drops
39