CN 2011-Lec1
CN 2011-Lec1
CN 2011-Lec1
NETWORKS
FALL 2011
1-1 Lec#1
Introduction
Tahira Mahboob
SUGGESTED TEXT
Text :
Computer Networking, A top down approach featuring the Internet (5th Ed: 2009)
by James F Kurose & Keith W Ross
References :
1-2
COURSE CONTENTS
• Application Layer
Service requirements, WWW, HTTP, Electronic Mail, Domain Name System,
Socket programming
• Transport Layer
Service models, Multiplexing/Demultiplexing, Connection-less transport (UDP),
Principles of reliable data transfer, Connection-oriented transport (TCP), TCP
congestion control, TCP Variants
1-3
COURSE CONTENTS…….CON’T
• Network Layer Routing
Routing and forwarding, Routing algorithms, Routing in the Internet, Multicast
routing
• Multimedia Networking
Networked multimedia applications, best-effort service and multimedia delivery
requirements, Multimedia protocols (RTSP, RTP, RTCP, SIP), Content
Distribution Networks
• Security 1-4
introduction to Computer Network Security
ROADMAP
What is a Computer Network?
Applications of Networking
Classification of Networks
Layered Architecture
Network Core
Delay & loss in packet-switched networks
Internet Structure
Transmission Media (self study)
History (self study)
1-5
COMPUTER NETWORK?
“interconnected collection of autonomous computers
connected with each other.
What is the Internet?
“network of networks”
“collection of networks interconnected by routers”
“a communication medium used by millions”
Email, chat, Web “surfing”, streaming media
Internet Web
1-6
What are basic Components of Computer Networks?
1-7
THE “NUTS AND BOLTS” VIEW OF THE
INTERNET
millions of connected router
workstation
computing devices: hosts, end-
systems server
mobile
PCs workstations, servers local ISP
PDAs phones, toasters
client/server model
client host requests, receives
service from always-on server
e.g. Web browser/server; email
client/server
Client/server model is applicable
in an intranet.
1-10
APPLICATIONS (2)
peer-peer model:
No fixed clients or servers
Each host can act as both client & server
1-11
APPLICATIONS (3)
WWW
Instant Messaging
Peer-to-Peer
Internet Phone
Video-on-demand
Distributed Games
File Transfer
1-12
ROADMAP
What is a Computer Network?
Applications of Networking
Classification of Networks
Layered Architecture
Network Core
Delay & loss in packet-switched networks
Internet Structure
Transmission Media (self study)
History (self study)
1-13
A CLASSIFICATION OF NETWORKS
Local Area Network (LAN)
Metropolitan Area Network (MAN)
Home Networks
1-14
LOCAL AREA NETWORK (LAN)
company/univ local area
network (LAN) connects end
system to edge router
Ethernet:
shared or dedicated link connects
end system and router
10 Mbs, 100Mbps, Gigabit
Ethernet
deployment: institutions, home
LANs happening now
LANs: chapter 5
1-15
METROPOLITAN AREA NETWORK (MAN)
A Cable TV Network is an example of a MAN
cable headend
home
cable distribution
1-16
network (simplified)
CABLE NETWORK ARCHITECTURE: OVERVIEW
cable headend
home
cable distribution
1-17
network (simplified)
WIDE AREA NETWORK (WAN)
Spans a large geographic
area, e.g., a country or a
continent
A WAN consists of
several transmission lines
and routers
Internet is an example of
a WAN
1-18
WIRELESS NETWORKS
shared wireless access network To the wired network
connects end system to router
via base station aka “access point” router
wireless LANs:
802.11b (WiFi): 11 Mbps base
wider-area wireless access station
provided by telco operator
WAP/GPRS
3G ~ 384 kbps
mobile
hosts
1-19
HOME NETWORKS
Typical home network components:
ADSL or cable modem
router/firewall/NAT
Ethernet
wireless access
point
wireless
to/from laptops
cable router/
cable
modem firewall
headend
wireless
access
Ethernet point 1-20
(switched)
“INTERNETWORKING”?
internetwork – interconnection of networks – also called
an “internet”
Subnetwork – a constituent of an internet
1-21
ROADMAP
What is a Computer Network?
Applications of Networking
Classification of Networks
Layered Architecture
Network Core
Delay & loss in packet-switched networks
Internet Structure
Transmission Media (self study)
History (self study)
1-22
LAYERED ARCHITECTURE: WHY?
Networks are complex with many pieces
Hosts, routers, links, applications, protocols,
hardware, software
Can we organize it, somehow?
Let’s consider a Web page request:
Browser requests Web page from server
Server should determine if access is privileged
Reliable transfer page from server to client
Physical transfer of “bits” from server to client
1-23
MOTIVATION CONTINUED …
Application logic
Application Application
Services Services
Communication
Reliable delivery Communication
Service Service
Network
Transfer “bits” Network
Services Services
1-25
LAYERS, PROTOCOLS, INTERFACES
1-27
REVIEW (2/2)
A set of layers & protocols is called a Network
Architecture. These specifications enable
hardware/software developers to build systems
compliant with a particular architecture.
E.g., TCP/IP, OSI
1-28
LAYERING: DESIGN ISSUES
Identify senders/receivers?
Addressing
1-29
REFERENCE MODELS
Open Systems Interconnection (OSI) Model
TCP/IP Model
1-30
REFERENCE MODELS (2)
1-31
TCP/IP MODEL
Originally used in the ARPANET Application
ARPANET required networks using leased
telephone lines & radio/satellite networks to Transport
interoperate
Goals of the model are: Internet
Seamless interoperability
Wide-ranging applications Host-to-
Fault-tolerant to some extent Network
1-32
THE INTERNET LAYER
End systems inject datagrams in the networks
A transmission path is determined for each packet
(routing)
A “best effort” service
Datagrams might be lost
Datagrams might be arrive out of order
1-33
THE TRANSPORT LAYER
Concerned with end-to-end data transfer between end
systems (hosts)
Transmission unit is called segment
1-34
TCP: CONNECTION-ORIENTED
SERVICE
Handshaking between client & server programs
Parameters for ensuring exchange
Maintain connection-state
1-35
UDP: CONNECTIONLESS SERVICE
No handshaking
Send whenever and however you want
Why is it needed?
1-36
THE APPLICATION LAYER
Residence of network applications and their application
control logic
Examples include:
HTTP
FTP
Telnet
SMTP
DNS
1-37
THE HOST-TO-NETWORK LAYER
Somehow, host has to connect to the network and be able
to send IP Datagrams
How?
1-38
INTERNET PROTOCOL STACK
application: supporting network applications
FTP, SMTP, STTP
application
transport: host-host data transfer
TCP, UDP transport
network: routing of datagrams from source
to destination network
IP, routing protocols
link: data transfer between neighboring link
network elements
PPP, Ethernet physical
physical: bits “on the wire”
1-39