Lecture 1 Introduction
Lecture 1 Introduction
Computer Network
Foundations
Lecture 1 : Overview of the Internet,
client/server paradigm, circuit switching,
packet
switching.
Lecture 1
Lecture 1: Introduction
Mailing List
Bulletin boards
Web pages
Intranets
communication
infrastructure enables
distributed applications:
Web, VoIP, email, games,
e-commerce, file sharing
communication services
provided to apps:
reliable data delivery
from source to
destination
“best effort” (unreliable)
data delivery
What is a Network?
7
Why Networking?
• Or this?
• Sharing hardware or software
9
How many kinds of
Networks?
WAN USA
Student
Computer
12
Centre
• Example of WAN: Broadband Cable
Network
• Cable TV services have been extensively
developed in most modern cities
• Cable TV companies try to make use of their
coaxial cable installed (that are supposed to
carry TV signals) to deliver broadband data
services
• Many cable network wiring has been
replaced with hybrid fiber-coax (HFC) ― i.e.
use of fiber-optic cable to connect to the
subscribers’ buildings, and then the original
coaxial cable to connect to each household
13
The connection is shared by a
number of subscribers, hence
PC may raise performance and
security problems
TV
Fiber-o
ptic cab
le
Cable
Drop
Coaxial Cable company
Cable
Peer-to-Peer Networks
• Peer-to-peer network is also called
workgroup
• No hierarchy among computers all
are equal
• No administrator responsible for the
network
Peer-to-peer
• Advantages of peer-to-peer networks:
• Low cost
• Simple to configure
• User has full accessibility of the computer
• Disadvantages of peer-to-peer
networks:
• May have duplication in resources
• Difficult to uphold security policy
• Difficult to handle uneven loading
• Where peer-to-peer network is
appropriate:
• 10 or less users
• No specialized services required
• Security is not an issue
• Only limited growth in the foreseeable
future
Clients and Servers
• Network Clients (Workstation)
• Computers that request network resources
or services
• Network Servers
• Computers that manage and provide
network resources and services to clients
• Usually have more processing power,
memory and hard disk space than clients
• Run Network Operating System that can
manage not only data, but also users,
groups, security, and applications on the
network
• Servers often have a more stringent
requirement on its performance and
• Advantages of client/server networks
• Facilitate resource sharing – centrally
administrate and control
• Facilitate system backup and improve
fault tolerance
• Enhance security – only administrator can
have access to Server
• Support more users – difficult to achieve
with peer-to-peer networks
• Disadvantages of client/server
networks
• High cost for Servers
• Need expert to configure the network
• Introduce a single point of failure to the
system
Topology ― 3 basic types
• How so many computers are connected
together?
Bus Topology
Ring Topology
Star Topology
Hub
• Bus Topology
• Simple and low-cost
• A single cable called a trunk (backbone,
segment)
• Only one computer can send messages at
a time
• Passive topology - computer only listen
for, not regenerate data
• Star Topology
• Each computer has a cable connected to a
single point
• More cabling, hence higher cost
• All signals transmission through the hub; if
down, entire network down
• Depending on the intelligence of hub, two
or more computers may send message at
the same time
How to construct a network with Bus / Star
Topology?
Bus Topology
Coaxial
cable
Star Topology
BNC T-Connector
21
Network Card
• Ring Topology
• Every computer serves as
a repeater to boost signals
• Typical way to send data: Ack T T
T
• Token passing
T dat T dat
• only the computer who a a
gets the token can send
T
data T
T Ack
• Disadvantages T Ack
dat
a
• Difficult to add computers T
• More expensive T Ack
• If one computer fails, whole network
fails
22
What’s a protocol?
human protocols: network protocols:
“what’s the time?” machines rather than
“I have a question” humans
introductions all communication
activity in Internet
governed by protocols
… specific msgs sent
… specific actions protocols define format,
taken when msgs order of msgs sent and
received among
received, or other
network entities, and
events actions taken on msg
transmission, receipt
What’s a protocol?
a human protocol and a computer network protocol:
Hi
TCP connection
request
Hi
TCP connection
Got the response
time? Get http://www.awl.com/kurose-ross
2:00
<file>
time
Keep in mind:
bandwidth (bits per
second) of access
network
Dial-up Modem
central
office
telephone
network Internet
home ISP
home
dial-up modem
PC
modem (e.g., AOL)
Internet
home Dedicated Physical Line
phone
DSLAM
telephone
splitter network
DSL
modem central
office
home
PC
cable headend
home
cable distribution
network (simplified)
Cable Network Architecture: Overview
server(s)
cable headend
home
cable distribution
network
Cable Network Architecture: Overview
cable headend
cable distribution
home
network (simplified)
Cable Network Architecture: Overview
FDM (more shortly):
C
O
V V V V V V N
I I I I I I D D T
D D D D D D A A R
E E E E E E T T O
O O O O O O A A L
1 2 3 4 5 6 7 8 9
Channels
cable headend
home
cable distribution
network
Ethernet Internet
access
100 Mbps Institutional
router
Ethernet To Institution’s
switch ISP
100 Mbps
1 Gbps
100 Mbps
server
Introduction
The Network Core
the fundamental
question: how is data
transferred through net?
circuit switching:
dedicated circuit per
call: telephone net
packet-switching:
data sent thru net in
discrete “chunks”
Network Core: Circuit
Switching
End-end resources
reserved for “call”
link bandwidth, switch
capacity
dedicated resources: no
sharing
circuit-like (guaranteed)
performance
call setup required
Network Core: Circuit
Switching
network resources dividing link
(e.g., bandwidth) bandwidth into
“pieces”
divided into frequency division
“pieces” time division
pieces allocated to calls
resource piece idle if
not used by owning call
(no sharing)
Circuit Switching: FDM and TDM
FDM Example:
4 users
frequency
time
TDM
frequency
time
Network Core: Packet
Switching
each end-end data stream resource contention:
divided into packets aggregate resource
demand can exceed
user A, B packets share
amount available
network resources congestion: packets
each packet uses full link queue, wait for link
bandwidth use
store and forward:
resources used as needed
packets move one
hop at a time
Node receives complete
packet before forwarding
Internet structure: network of
networks
roughly hierarchical
at center: “tier-1” ISPs (e.g., Verizon, Sprint, AT&T,
Cable and Wireless), national/international coverage
treat each other as equals
Tier-1
providers
Tier 1 ISP
interconnec
t (peer)
privately
Tier 1 ISP Tier 1 ISP
Internet structure: network of
networks
“Tier-2” ISPs: smaller (often regional) ISPs
Connect to one or more tier-1 ISPs, possibly other tier-2 ISPs
Tier-2 ISPs
also peer
Tier-2 ISP pays Tier-2 ISP Tier-2 ISP privately with
tier-1 ISP for
each other.
connectivity to Tier 1 ISP
rest of Internet
tier-2 ISP is
customer of
tier-1 provider
Tier 1 ISP Tier 1 ISP Tier-2 ISP
local
ISP Tier 3 local
local local
ISP ISP
ISP ISP
Local and Tier-2 ISP Tier-2 ISP
tier- 3 ISPs
are Tier 1 ISP
customers of
higher tier
ISPs
connecting
them to rest Tier 1 ISP Tier 1 ISP Tier-2 ISP
of Internet local
Tier-2 ISP Tier-2 ISP
ISP
local local local
ISP ISP ISP
Internet structure: network of
networks
a packet passes through many networks!
local
ISP Tier 3 local
local local
ISP ISP
ISP ISP
Tier-2 ISP Tier-2 ISP
Tier 1 ISP
airplane routing
a series of steps
Layering of airline
functionality
airplane routing airplane routing airplane routing airplane routing airplane routing
destination Hn H t M network
M applicatio H l Hn H t M link Hn H t M
Ht M n physical
Hn H t M transport
M router
H l Hn H t network
link
physical
Introduction:
Summary
Covered a “ton” of material! You now have:
Internet overview context, overview,
what’s a protocol? “feel” of networking
more depth, detail to
network edge, core,
follow!
access network
packet-switching
versus circuit-switching
Internet structure
layering, service models