CS31K Data Communications & Computer Networks
CS31K Data Communications & Computer Networks
CS31K Data Communications & Computer Networks
DATA COMMUNICATIONS
&
COMPUTER NETWORKS
Communication basics
Media and signals
Asynchronous and synchronous communication
Relationships among bandwidth, throughput, and noise
Network Applications
Client-server paradigm
Domain name system (DNS)
File transfer (FTP)
Remote login (TELNET)
E-mail transfer (SMTP)
Web technologies and protocols
7
Summary
The course will involve:
hard work - lots of it!
lots of reading assignments
field trip(s)
guest lecture(s)
In other words, it will be FUN!!
Summary, cont.
Make sure you keep up with the lectures. If
you dont, you will surely get lost.
If you get lost, you will remain lost.
LECTURE #1
General Overview
10
11
Networking:
Involves two or more nodes. More issues, e.g.,
routing, quality of service.
12
Transmission hardware
cables
satellites
Networks:
Users specify the location of resources.
Nodes are autonomous.
15
Types of Networks
Can be classified according to no. of
connections:
Point to point or Broadcast
Broadcast Networks:
- single communication channel shared by all
nodes on the network. Short messages (packets)
sent by one node are received by all.
Point-to-Point
- many connections between machines. Packet from
one machine to another may have to go via one or
more intermediate machines.
20
Broadcast technology
21
Point-to-point
Point-to-Point Topologies
STAR
RING
TREE
23
Circuit-switching
-e.g. telephone calls. Need to set up an end-to-end
connection before any data can be sent. I.e. a
physical copper wire path must be established
before the call can proceed.
- wasteful of bandwidth
Packet-switching
- no physical path is established in advanced. Data
to be sent is stored in the first switching office
(router) and forwarded later, hop by hop.
An early application of this technique is the telegram
24
Reading Assignment
Before next class you are required to read
the following sections in the text:
Chapter I
1.1.1
1.2
1.3
25
Wireless Networking
Wireless Networking vs Mobile Computing
Wireless computers use radio frequency
modems to transmit data.
Instead of cables, wireless LANs use
antennas to broadcast RF signals through
the air.
Portable computers are sometimes wired
Not all wireless computers are portable
26
28
Protocols
All parties or layers involved in a
communication must agree on a set of rules to
be used when exchanging messages. Such an
agreement is called a protocol.
A communication protocol is a set of rules that
specify the format and meaning of messages
that computers exchange.
For e.g. A protocol can be simply an agreement
to use ASCII when transferring text files.
29
Protocols, cont.
A protocol can be complex, e.g. an agreement
to use a complicated mathematical function
to encrypt data.
Protocol Suite - Communication problem is
divided into multiple, cooperating protocols.
Each related set of protocols is called a suite.
Typically a protocol suite is designed by
specifying a protocol that corresponds to
each layer.
30
31
32
Application
Presentation
Presentation
Session
Session
Transport
Network
Data Link
Physical
Messages
Packets
Frames
Bits
Transport
Network
Data Link
Physical
34
Layer 4: Transport
Organize data into messages. Specifies how to
ensure reliable transfer of messages. One of the
most complex protocols. Deals also with flow
control.
Layer 5: Session
Specifies how to establish a communication
session with a remote system. E.g. how to perform
remote login or file transfer. Deals also with the
specification for security such as user
authentication.
36
Layer 6: Presentation
Specifies how to represent data. E.g. whether
textual data should be transmitted in ASCII or some
other format, or what representation should be used
for integers, etc. Layer 6 protocols translate data
from one computers representation to another.
Layer 7: Application
Specifies how a particular application uses the
network. E.g. how to transfer files between
different file systems OR how a screen editor can
be used with different terminal types.
37
39
Layer 5: Application
Corresponds to layers 6 and 7 in the ISO
Reference model.
41