1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz...
-
Upload
sybil-parrish -
Category
Documents
-
view
225 -
download
0
Transcript of 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz...
![Page 1: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/1.jpg)
1
Computer Communication & Networks
Lecture 2
Introduction to Data Communication
http://web.uettaxila.edu.pk/CMS/coeCCNbsSp09/index.asp
Waleed [email protected]
![Page 2: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/2.jpg)
2
Data Communications
The term term telecommunicationtelecommunication means means communication at a distance. The word communication at a distance. The word datadata refers to information presented in whatever refers to information presented in whatever form is agreed upon by the parties creating form is agreed upon by the parties creating and using the data. and using the data. Data communicationsData communications are are the exchange of data between two devices the exchange of data between two devices via some form of transmission medium such via some form of transmission medium such as a wire cable. as a wire cable.
![Page 3: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/3.jpg)
3
Fundamental Characteristics
The effectiveness of a data communication system depend on four fundamental characteristics: Delivery Accuracy Timelines Jitter
![Page 4: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/4.jpg)
4
Five Components of Data Communication
1. Message
2. Sender
3. Receiver
4. Medium
5. Protocol
![Page 5: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/5.jpg)
5
Direction of data flow
Simplex
Half Duplex
Full Duplex
![Page 6: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/6.jpg)
6
Networks: key issues
Network criteria Performance
Throughput Delay
Reliability Data transmitted are identical to data received. Measured by the frequency of failure The time it takes a link to recover from a failure
Security Protecting data from unauthorized access
![Page 7: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/7.jpg)
7
Terminology
The throughput or bandwidth of a channel is the number of bits it can transfer per second
The latency or delay of a channel is the time that elapses between sending information and the earliest possible reception of it
![Page 8: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/8.jpg)
8
Network topologies
Topology defines the way hosts are connected to the network
![Page 9: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/9.jpg)
9
Network topology issues
1. high throughput (bandwidth)
2. low latency
a goal of any topology
![Page 10: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/10.jpg)
10
Bandwidth and Latency
1. telecommunications: range of radio frequencies: a range of radio frequencies used in radio or telecommunications transmission and reception
2. computing: communications capacity: the capacity of a communications channel, for example, a connection to the Internet, often measured in bits per second
3. a data transmission rate; the maximum amount of information (bits/second) that can be transmitted along a channel
Latency
A synonym for delay, is an expression of how much time it takes for transmission from one designated point to another
Bandwidth
![Page 11: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/11.jpg)
11
Categories of Topology
![Page 12: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/12.jpg)
12
Mostly used network topologies
mesh
star
bus
ring
![Page 13: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/13.jpg)
13
A hybrid topology: a star backbone with three bus networks
![Page 14: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/14.jpg)
14
Hierarchical organization of the Internet
![Page 15: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/15.jpg)
15
Layering & Protocol Stacks
![Page 16: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/16.jpg)
16
What’s a protocol?
human protocols: “what’s the time?” “I have a question” introductions
… specific msgs sent
… specific actions taken when msgs received, or other events
network protocols: machines rather than humans all communication activity in Internet governed by protocols
![Page 17: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/17.jpg)
17
Protocol
protocols define format, order of msgs sent and received among network entities, and actions taken on msg transmission, receipt
a human protocol and a computer network protocol:
Hi
Hi
Got thetime?
2:00
TCP connection req.
TCP connectionreply.
Get http://gaia.cs.umass.edu/index.htm
<file>
time
![Page 18: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/18.jpg)
18
Standard
Essential in creating and maintaining an open and competitive market for equipment manufacturers
Guaranteeing national & international interoperability of data & telecommunication technology & process.
![Page 19: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/19.jpg)
19
Layered TasksAn example from the everyday life
Hierarchy?
Services
![Page 20: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/20.jpg)
20
Why layered communication?
To reduce complexity of communication task by splitting it into several layered small tasks
Functionality of the layers can be changed as long as the service provided to the layer above stays unchanged makes easier maintenance & updating
Each layer has its own task Each layer has its own protocol
![Page 21: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/21.jpg)
21
Reference Models
OSI reference model TCP/IP
![Page 22: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/22.jpg)
22
OSI Reference model
Open System Interconnection 7 layers
1. Crate a layer when different abstraction is needed
2. Each layer performs a well define function
3. Functions of the layers chosen taking internationally standardized protocols
4. Number of layers – large enough to avoid complexity
![Page 23: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/23.jpg)
23
Seven layers of the OSI model
![Page 24: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/24.jpg)
24
Exchange using OSI Model
![Page 25: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/25.jpg)
25
The interaction between layers in the OSI model
![Page 26: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/26.jpg)
26
Issues, to be resolved by the layers Larger bandwidth at lower cost Error correction Flow control Addressing Multiplexing Naming Congestion control Mobility Routing Fragmentation Security ....
![Page 27: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/27.jpg)
27
OSI Layers
![Page 28: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/28.jpg)
28
Physical layer
Transporting bits from one end node to the next
- type of the transmission media (twisted-pair, coax, optical fiber, air)- bit representation (voltage levels of logical values)- data rate (speed)- synchronization of bits (time synchronization)
physicalconnection
![Page 29: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/29.jpg)
29
The physical layer is responsible for movements ofindividual bits from one hop (node) to the next.
Note
![Page 30: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/30.jpg)
30
Data Link layer
Transporting frames from one end node to the next one
logicalconnection
- framing - physical addressing
- flow control - error control
- access control
![Page 31: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/31.jpg)
31
Data Link layer- hop-to-hop delivery-
![Page 32: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/32.jpg)
32
Data Link layer- example-
![Page 33: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/33.jpg)
33
The data link layer is responsible for moving frames from one hop (node) to the next.
Note
![Page 34: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/34.jpg)
34
Readings
Chapter 1 (B. A Forouzan) Section 1.1, 1.2, 1.3,1.4
Chapter 2 (B.A Forouzan) Section 2.1, 2.2
![Page 35: 1 Computer Communication & Networks Lecture 2 Introduction to Data Communication Waleed Ejaz waleed.ejaz@uettaxila.edu.pk.](https://reader035.fdocuments.us/reader035/viewer/2022062314/56649da35503460f94a90623/html5/thumbnails/35.jpg)
35