Integrity in Data Communications Packets, Frames and Error Detection.

Slides:



Advertisements
Similar presentations
Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
Advertisements

Packets, Frames & Error Detection. Packet Concepts A packet is a small block of data. Networks which use packets are called packet networks or packet-
Chapter 6 Errors, Error Detection, and Error Control
Chapter 6 Errors, Error Detection, and Error Control.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
CSCI 4550/8556 Computer Networks Comer, Chapter 7: Packets, Frames, And Error Detection.
ATM Networks An Engineering Approach to Computer Networking.
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
PART III DATA LINK LAYER. Position of the Data-Link Layer.
The Data Link Layer Chapter 3. Position of the data-link layer.
Long distance communication Multiplexing  Allow multiple signals to travel through one medium  Types Frequency division multiplexing Synchronous time.
CS335 Networking & Network Administration Wednesday, April 7 PacketsPackets, Frames, and Error DetectionFramesError Detection.
Chapter 6: Errors, Error Detection, and Error Control
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao
1 Part II: Packet Transmission Packets on a Network Packets, Frames, LAN, WAN, Hardware Addresses, Bridges, Switches, Routing and Protocols Fall 2005 Qutaibah.
EE 4272Spring, 2003 Chapter 14 LAN Systems Ethernet (CSMA/CD)  ALOHA  Slotted ALOHA  CSMA  CSMA/CD Token Ring /FDDI Fiber Channel  Fiber Channel Protocol.
Chapter 6 Errors, Error Detection, and Error Control
Asynchronous Transfer Mode (ATM). ATM By the mid 1980s, three types of communication networks had evolved. The telephone network carries voice calls,
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao
Synchronous - Asynchronous Data Transmission. Asynchronous ► The sender and receiver are not Synchronised. ► The sender sends only one character at a.
Data Link Layer IS250 Spring 2010
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Ethernet, ARP.
Network Topologies An introduction to Network Topologies and the Link Layer.
Lecture 2 Computer Communications and Networks Boriana Koleva Room: C54 Phone:
1 Module 15: Network Structures n Topology n Network Types n Communication.
LAN technologies and network topology LANs and shared media Locality of reference Star, bus and ring topologies Medium access control protocols.
Huda AL-Omair_ networks61 Wide Area Network. Huda AL-Omair_ networks62 What is a WAN? Wide area network or WAN is a computer network covering a wide geographical.
PART III DATA LINK LAYER. Position of the Data-Link Layer.
Part 2: Packet Transmission Packets, frames Local area networks (LANs) Wide area networks (LANs) Hardware addresses Bridges and switches Routing and protocols.
1 Part III Packet Transmission Chapter 7 Packets, Frames, and Error Detection.
Networks. Common Xmit Media Shared Media Networks are a shared communication resource Only one user can access at a time.
1 Packets, Frames, and Error Detection. 2 The Problem Cannot afford individual network connection per pair of computers Reasons –Installing wires consumes.
1 ITGN 235: Principles of Networking ITGN 225: Networking Fall 2007/2008.
CENG 490/510 Network Programming Russell Deaton Rm
AS Computing Data Transmission and Networks. Transmission error Detecting errors in data transmission is very important for data integrity. There are.
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
Communication Systems 3.1) Characteristics of a Communication System.
Data Communications & Computer Networks, Second Edition1 Chapter 6 Errors, Error Detection, and Error Control.
Chapter 7 - Packets, Frames and Error Detection 1. Concepts of Packets 2. Motivation for Packet Switching 3. Framing 4. Frame Formats 5. Transmission Errors.
Chapter 6: Errors, Error Detection, and Error Control Data Communications and Computer Networks: A Business User’s Approach Third Edition.
Network Technologies Definitions –Network: physical connection that allows two computers to communicate –Packet: a unit of transfer »A sequence of bits.
1 Chapter 7 Switching, Packets, Frames, Parity, Checksums, and CRCs.
SEPT, 2005CSI Part I.2 Packets, Frames, Parity, Checksums, and CRCs Dr. R.L. Probert, SITE, University of Ottawa.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
© N. Ganesan, Ph.D., All rights reserved. Chapter Formatting of Data for Transmission.
Network Layer4-1 Chapter 5: The Data Link Layer Our goals: r understand principles behind data link layer services: m error detection, correction m sharing.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Data Link Layer Chapter 3.
+ PPP Protocol. + Outline WAN Data Link Layer protocols Point-to-point serial communications Transmission Synchronization HDLC.
Local Area Networks: Topologies. 2 Packet Identification & MAC Addresses Each packet specifies an intended recipient with an identifier. – Demultiplexing.
Data Transmission and Networks Transmission error checking & correcting.
COMPUTER NETWORKS CS610 Lecture-4 Hammad Khalid Khan.
CS4470 Computer Networking Protocols
Data Link Layer.
Local Area Networks: Topologies
OCR AS Level F451: Data transmission
Chapter 7 Packets, Frames, and Error Detection
Transmission Modes The term transmission mode to refer to the manner in which data is sent over the underlying medium Transmission modes can be divided.
DIGITAL DATA COMMUNICATION TECHNIQUES
Packets, Frames, Parity, Checksums, and CRCs
COMPUTER NETWORKS CS610 Lecture-5 Hammad Khalid Khan.
Exercise 3 1. Describe what are the packet, the packet communication, and motivations using the packet in computer communications. 2. (1) An ASCII coded.
COMPUTER NETWORKS CS610 Lecture-18 Hammad Khalid Khan.
Packets, Frames, Parity, Checksums, and CRCs
Switching, Packets, Frames, Parity, Checksums, and CRCs
An Engineering Approach to Computer Networking
Data Link Layer. Position of the data-link layer.
Presentation transcript:

Integrity in Data Communications Packets, Frames and Error Detection

More About Packets Networks do not transfer arbitrary amounts of data for 2 reasons: Networks do not transfer arbitrary amounts of data for 2 reasons: 1.Errors in large blocks cause large delays. - Senders and receivers have to coordinate transmission. Errors often occur. - Senders and receivers have to coordinate transmission. Errors often occur. -Dividing data into small blocks allows the sending and receiving computers to make fast re- transmission. -Dividing data into small blocks allows the sending and receiving computers to make fast re- transmission. These networks are called ‘packet networks’ or packet switching networks’

More About Packets 2. Computers have to share underlying connections in hardware. -Communications channels are expensive so sharing allows all to be treated equally. -Communications channels are expensive so sharing allows all to be treated equally. Early networks allowed an application to hold a resource until finished. Early networks allowed an application to hold a resource until finished.

Packets and Time-Division Multiplexing Computers take turns sending and receiving small packets of data. Computers take turns sending and receiving small packets of data Computer 1 using channel to send packet. Multiplexing occurs here.

Packets and Time-Division Multiplexing Computers take turns sending and receiving small packets of data. Computers take turns sending and receiving small packets of data Computer 2 using channel to send packet. Multiplexing occurs here.

Packets and Time-Division Multiplexing Computers take turns sending and receiving small packets of data. Computers take turns sending and receiving small packets of data Computer 3 using channel to send packet. Multiplexing occurs here.

Packets and Time-Division Multiplexing Computers take turns sending and receiving small packets of data. Computers take turns sending and receiving small packets of data. A source with a small total amount will finish promptly. Larger amounts will take longer. Data are arriving at two or more computers simultaneously. Data are arriving at two or more computers simultaneously.

Packets and Hardware Frames Packet = small block of data (General) Packet = small block of data (General) Hardware technology defines size. Hardware technology defines size. Frame = term used for specific hardware ``packet``. Frame = term used for specific hardware ``packet``.

Packets and Hardware Frames Packet = small block of data (General) Packet = small block of data (General) Hardware technology defines size. Hardware technology defines size. Frame = term used for specific hardware ``packet``. Frame = term used for specific hardware ``packet``. soh block of data in frame eot

Packets and Hardware Frames Packet = small block of data (General) Packet = small block of data (General) Hardware technology defines size. Hardware technology defines size. Frame = term used for specific hardware ``packet``. Frame = term used for specific hardware ``packet``. Hex 01 Hex 04 Hex 01 Hex 04 soh block of data in frame eot Unprintable ASCII Characters

Packets and Hardware Frames Packet = small block of data (General) Packet = small block of data (General) Hardware technology defines size. Hardware technology defines size. Frame = term used for specific hardware ``packet``. Frame = term used for specific hardware ``packet``. Disadvantage is overhead. Disadvantage is overhead. Advantage is reliability. Advantage is reliability.

Byte Stuffing Most networks cannot afford to reserve characters. Most networks cannot afford to reserve characters. Systems never confuse data with control information. Systems never confuse data with control information. So extra bits or bytes are inserted to change data for transmission. So extra bits or bytes are inserted to change data for transmission. i.e. bit or byte stuffing The esc character is Hex 1B The esc character is Hex 1B

Byte Stuffing Character Characters Character Characters in Data Sent in Data Sent___________________________________ soh esc x eot esc y esc esc z

Transmission Errors Parity Checking (RS 232) Parity Checking (RS 232) Checksums Checksums 16 bit checksums 16 bit checksums Break data into 16 bit (2byte) segments Break data into 16 bit (2byte) segments Sum the values Sum the values Send the sum in with the transmission Send the sum in with the transmission Receiver compares answers after transmission Receiver compares answers after transmission

Transmission Errors Checksums Checksums H e l l o w o r l d. H e l l o w o r l d.

Transmission Errors Checksums Checksums H e l l o w o r l d. H e l l o w o r l d C 6C 6F F 72 6C 64 2E

Transmission Errors Checksums Checksums H e l l o w o r l d. H e l l o w o r l d C 6C 6F F 72 6C 64 2E C6C + 6F F + 726C + 642E + carry = 71FC

Ethernet Bus topology (10/100 Megabits) Bus topology (10/100 Megabits) Gigabit Ethernet (Uses fibre as well) Gigabit Ethernet (Uses fibre as well) Hardware monitors bus for carrier Hardware monitors bus for carrier No carrier – Sender transmits No carrier – Sender transmits Carrier – sender waits Carrier – sender waits Collisions Collisions Senders use a random number generator to calculate delay time Senders use a random number generator to calculate delay time If collision occurs again the range of the random number generator is increased. If collision occurs again the range of the random number generator is increased.

ATM Technology Designed for voice, video & data Designed for voice, video & data Voice and video require low delay and jitter Video also requires much higher data rate

ATM Technology Packets should maximize payload Packets should maximize payload 8 Kbytes is common in some networks 8 Kbytes is common in some networks Phone systems use an 8 bit audio sample every 125 microsecond (millionth of second) Phone systems use an 8 bit audio sample every 125 microsecond (millionth of second) Sender must delay more than a second to accumulate enough samples to fill a packet Sender must delay more than a second to accumulate enough samples to fill a packet Telephone systems employ echo cancellation techniques Telephone systems employ echo cancellation techniques Large packets also create an echo problem ATM divides all data into fixed ``cells`` Large packets also create an echo problem ATM divides all data into fixed ``cells`` 48 octets for data 48 octets for data 5 octets of header information 5 octets of header information

ATM Technology Nortel has developed 6.4 Tbps Nortel has developed 6.4 Tbps Commercial platform of 6.4 Tbps was available in Commercial platform of 6.4 Tbps was available in Uses Dense-wavelength division multiplexing. Uses Dense-wavelength division multiplexing. Designed to deliver % reliability Designed to deliver % reliability

The End.