You are on page 1of 34

Computer Networks

CSE 311

Introduction to Data Communications, Networks, Internet, Protocols


Introduction to Data Communication
Motivation
Efficient way to share resources
Cost – less expensive
Accessibility – easier

Efficient way to exchange information


Time – faster
Size – bigger
Correctness – more accurate
Data Communication: Characteristics

Delivery Accuracy

Transfer of data from one device to another via


some form of transmission medium.

Timeliness Jitter
Computer

Data Communication
Hi, Hi,
how how
are are
you? you?
Hi, how are you? Hi, how are you?

01010001 01010001
Computer

Components in Communication

1 Message
Hi, how are you? 5 Protocol
2 Sender 3 Receiver

4 Medium
Data Representation

Numbers
8/16/32 bit integers
floating point
Text
ASCII, Unicode
Images
Bit patterns, Graphics formats JPG/GIF/etc
Audio → Samples of continuous signal
Video → Sequence of bitmap images
Direction of Data Flow

Simplex: One direction only


data flow

Server Monitor
data flow

Keyboar
Server d
Direction of Data Flow

Half Duplex: Both directions, one at a time


data flow at time 1

data flow at time 2

E.g., walkie-talkies
Direction of Data Flow

Full Duplex: Both directions simultaneously

data flow

data flow

E.g. telephone
The capacity of the channel is divided between the two directions.
Networks
Network: a set of devices connected by communication links

Laptop

Workstation
Media Links
Server

Printer Scanner
Network Criteria
Performance
Throughput
Delay
Reliability
Frequency of failure
Time to recover from a failure
Network’s robustness
Security
Unauthorized access
Types of Connections
Point-to-point
A dedicated link between two devices

Multipoint (multidrop)
Devices share a single link
Point-To-Point Connection
Multipoint Connection

Wireless
Topology
Topology: physical arrangement of devices

a. Mesh
b. Star
c. Bus
d. Ring
e. Hybrid
Fully Connected Mesh Topology
Pros:
E
Dedicated links;
n(n-1)/2 links
Robustness
A D Privacy
Easy to identify fault
Cons:
B C A lot of cabling
I/O ports
Difficult to move
Star Topology
Pros:
One I/O port per device
Little cabling
Easy to install
Hub
Robustness
Easy to identify fault

Cons:
Single point of failure
More cabling still required
Bus Topology
Pros:
Little cabling
Easy to install

Cons:
Difficult to modify
Difficult to isolate fault
Break in the bus cable stops
all transmission
Ring Topology

Pros:
Easy to install
Easy to identify fault
Cons:
Delay in large ring
Break in the ring stops
all transmission
Hybrid Topologies
Network Categories

Local Area Network (LAN)


Wide Area Network (WAN)
Metropolitan Area Network (MAN)
Local Area Networks
Network in a single office, building, or campus
Metropolitan Area Networks
Network extended over an entire city

Dhaka Comilla

24
Wide Area Networks
Network providing long-distance communication over
a country, a continent, or the whole world
Internetworking
How to allow devices from different standards to communicate?
Gateways/routers – devices capable of communicating in several
standards

These become "network of networks"


Internetworks
Two or more networks connected become an
internetwork, or internet

Network1 Network2

Gateway

Network3

Example: The Internet


The Internet
The largest internetwork (network of networks) in the
world
Devices communicating with TCP/IP protocol suite
Stanford U. of Utah

UC Santa Barbara

UCLA
“Cool” Internet appliances
Web-enabled toaster +
weather forecaster
IP picture frame

Tweet-a-watt:
monitor energy use
29

Slingbox: watch,
control cable TV remotely
Internet
refrigerator Internet phones
What is the Internet: “nuts and bolts” view
PC ❖ millions of connected mobile network
ser
ver
computing devices:
▪ hosts = end systems
wireless global ISP
laptop
smartpho
ne ▪ Running network apps home
❖ communication links network regional ISP
wireless
links
▪ fiber, copper, radio,
wir
ed
satellite
link
s
▪ transmission rate: 30
bandwidth
❖ Packet switches: forward
rou institutional
ter packets (chunks of data) network
▪ routers and switches
What is the Internet: “nuts and bolts” view
mobile network
• Internet: “network of networks”
– Interconnected ISPs global ISP
• protocols control sending,
receiving of msgs home
network
– e.g. TCP, IP, HTTP, 802.11 regional ISP

• Internet standards
– RFC: Request for comments
– IETF: Internet Engineering Task 31

Force
institutional
network
What is the Internet: a service view
• Infrastructure that provides services mobile network
to applications:
– Web,VoIP, email, games, global ISP
e-commerce, social nets, …
• Provides programming interface to home
apps network regional ISP
– hooks that allow sending and
receiving app programs to
“connect” to Internet
– provides service options, 32
analogous to postal service
institutional
network
What is a Protocol?
human protocols: network protocols:
• “whats the time?” • machines rather than
• “I have a question” humans
• all communication activity in
• introductions Internet governed by
protocols
… specific msgs sent
protocols define format, order of
… specific actions taken msgs sent and received among33
when msgs received, or
other events network entities, and actions
taken on msg transmission,
receipt
What is a protocol?
a human protocol and a computer network protocol:

Hi TCP connection request

Hi
Got the
TCP connection response
time?

Get http://www.awl.com/kurose-ross

2:00 34
<file>
time

You might also like