Lecture # 3: WAN Data Communication Network L.Rania Ahmed Tabeidi.

Slides:



Advertisements
Similar presentations
CSE 413: Computer Networks
Advertisements

Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
1 IK1500 Communication Systems IK1330 Lecture 3: Networking Anders Västberg
James 1:5 If any of you lacks wisdom, he should ask God, who gives generously to all without finding fault, and it will be given to him.
Module 3.4: Switching Circuit Switching Packet Switching K. Salah.
Introduction© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science.
Lecture 2 Introduction 1-1 Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit.
William Stallings Data and Computer Communications 7th Edition
Lecture Internet Overview: roadmap 1.1 What is the Internet? (A simple overview last week) Today, A closer look at the Internet structure! 1.2 Network.
Lecture Internet Overview: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit switching,
Lecture Internet Overview: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit switching,
1 Computer Networks Switching Technologies. 2 Switched Network Long distance transmission typically done over a network of switched nodes End devices.
Data Communications and Networks Chapter 2 - Network Technologies - Circuit and Packet Switching Data Communications and Network.
Switching Techniques Student: Blidaru Catalina Elena.
Data Communications and Networking
Communication Networks
Introduction 1-1 Lecture 3 Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 CS3516: These slides.
1 Computer Communication & Networks Lecture 4 Circuit Switching, Packet Switching, Delays Waleed.
Introduction 1-1 Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit switching,
Slides originally from Professor Williamson at U Calgary1-1 Introduction Part II  Network Core  Delay & Loss in Packet-switched Networks  Structure.
Introduction 1-1 Chapter 1 Part 2 Network Core These slides derived from Computer Networking: A Top Down Approach, 6 th edition. Jim Kurose, Keith Ross.
1 Kommunikatsiooniteenuste arendus IRT0080 Loeng 7 Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
Data Comm. & Networks Instructor: Ibrahim Tariq Lecture 3.
Review of Networking Concepts Part 1: Switching Networks
Chapter 2 – X.25, Frame Relay & ATM. Switched Network Stations are not connected together necessarily by a single link Stations are typically far apart.
How do loss and delay occur?
Introduction 1-1 Chapter 1 Introduction Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
ECE 466 Switching Networks. ECE 466 A communication network provides a scalable solution to connect a large number of end systems Communication Networks.
Chapter 1 Introduction Circuit/Packet Switching Protocols Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley,
Data and Computer Communications Chapter 10 – Circuit Switching and Packet Switching (Wide Area Networks)
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
Sami Al-wakeel 1 Data Transmission and Computer Networks The Switching Networks.
RSC Part I: Introduction Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part of the companion slides to.
Switching breaks up large collision domains into smaller ones Collision domain is a network segment with two or more devices sharing the same Introduction.
 Circuit Switching  Packet Switching  Message Switching WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998.
Data and Computer Communications Circuit Switching and Packet Switching.
333: DISCUSS THE FUNDAMENTALS OF NETWORKING.  1. Discuss networking concepts (20 hrs)  2. Discuss hardware & software requirement to setup a Local Area.
Computer Networks with Internet Technology William Stallings
Packet switching network Data is divided into packets. Transfer of information as payload in data packets Packets undergo random delays & possible loss.
EEC4113 Data Communication & Multimedia System Chapter 7: Network Layer by Muhazam Mustapha, October 2011.
A Taxonomy of Communication Networks
Lecture # 03 Switching Course Instructor: Engr. Sana Ziafat.
Review of Network Technologies. Basic of Network concepts Computer Network – A Communication system for connecting computers/hosts Why? – Better connectivity.
EEC-484/584 Computer Networks
Unit III Bandwidth Utilization: Multiplexing and Spectrum Spreading In practical life the bandwidth available of links is limited. The proper utilization.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 CH. 8: SWITCHING & DATAGRAM NETWORKS 7.1.
WAN Transmission Media
CSE 413: Computer Network Circuit Switching and Packet Switching Networks Md. Kamrul Hasan
1 A Taxonomy of Communication Networks Y. Richard Yang 01/22/2016.
Switching. Circuit switching Message switching Packet Switching – Datagrams – Virtual circuit – source routing Cell Switching – Cells, – Segmentation.
Computer Communication & Networks Lecture # 03 Circuit Switching, Packet Switching Nadeem Majeed Choudhary
1 Kyung Hee University Chapter 8 Switching. 2 Kyung Hee University Switching  Switching  Switches are devices capable of creating temporary connections.
Data Communication Networks Lec 13 and 14. Network Core- Packet Switching.
A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their original slides that accompany the.
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 3 Omar Meqdadi Department of Computer Science and Software Engineering.
Switching By, B. R. Chandavarkar, CSE Dept., NITK, Surathkal Ref: B. A. Forouzan, 5 th Edition.
Data and Computer Communications Chapter 7 Circuit Switching and Packet Switching.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
A Taxonomy of Communication Networks
Packet Switching Datagram Approach Virtual Circuit Approach
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
SWITCHING Switched Network Circuit-Switched Network Datagram Networks
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Data Communication Networks
Switching Techniques.
Switching.
Presentation transcript:

Lecture # 3: WAN Data Communication Network L.Rania Ahmed Tabeidi

1-2 Outline O Data Communication Network Taxonomy O Broadcast vs. Switched Networks O Circuit Switched vs. packet switched O Switched Network Performance O Delay, Lose, Throughtput

L.Rania Ahmed Tabeidi1-3 Network Taxonomy Data Communication Networks Switched networks Broadcast networks

1. Broadcast networks O Nodes share a common channel; information transmitted by a node is received by all other nodes in the network. O Broadcast Network (used in LAN) O Examples: TV, radio L.Rania Ahmed Tabeidi4

5 2. Switching Networks O Long distance transmission is typically done over a network of switched nodes O End devices are referred to as stations O Computer, terminal, phone, etc. O A collection of nodes and connections is a communications network O Data is routed by being switched from node to node O Information is transmitted to a small sub-set (usually only one) of the nodes L.Rania Ahmed Tabeidi

6 2. Switching Networks cont… O Communication Network O Switching Network (used in WAN) O Switching Networks O Circuit-switching networks O Packet-switching networks L.Rania Ahmed Tabeidi

Switched Network cont… Switched networks Circuit-switched networks FDM TDM Packet-switched networks Networks with VCs Datagram Networks ( Internet ) ( X.25,Frame relay, ATM) Course Subject L.Rania Ahmed Tabeidi

2.1 Circuit Switching O Circuit switching is a technique that directly connects the sender and the receiver in an unbroken path. O Telephone switching equipment, for example, establishes a path that connects the caller's telephone to the receiver's telephone by making a physical connection. L.Rania Ahmed Tabeidi 8

2.1 Circuit Switching cont… O With this type of switching technique, once a connection is established, a dedicated path exists between both ends until the connection is terminated. O Routing decisions must be made when the circuit is first established, but there are no decisions made after that time. L.Rania Ahmed Tabeidi9

circuit establishment DATA data transmission circuit termination propagation delay from A to Node 1 propagation delay from B To A processing delay at Node 1 Circuit Switching in MultiHop Route 10 A B Node 1 Node 2

2.1 Circuit switching cont… Advantages: The communication channel (once established) is dedicated. Disadvantages: Possible long wait to establish a connection, (10 seconds, more on long- distance or international calls.) during which no data can be transmitted. More expensive than any other switching techniques, because a dedicated path is required for each connection. Inefficient use of the communication channel, because the channel is not used when the connected systems are not using it. L.Rania Ahmed Tabeidi11

L.Rania Ahmed Tabeidi Circuit Switching cont…  Dividing link bandwidth into “pieces”: Frequency Division Multiplexing (FDM) Time Division Multiplexing (TDM)

Circuit Switching: FDM and TDM 2.1 Frequency Division Mux (FDM) bandwidth/ frequency of the link time 4 users/slots Example: L.Rania Ahmed Tabeidi13 f t

Time Division Multiplexing (TDM) O Two or more “channels” of information are transmitted over the same link by allocating a different time interval for the transmission of each channel, i.e. the channels take turns to use the link. O TDM becomes inefficient when traffic is intermittent because the time slot is still allocated even when the channel has no data to transmit

L.Rania Ahmed Tabeidi 1-15 Circuit Switching: FDM and TDM cont… 2.2 Time Division Mux (TDM) bandwidth/ frequency of the link time Slot 4 slots/frame

2.2 Time Division Mux (TDM) L.Rania Ahmed Tabeidi16

Packet Switching packet switching methods, is broken into small parts, called packets. With current technology, packets are generally accepted onto the network on a first-come, first-served basis. If the network becomes overloaded, packets are delayed or discarded (``dropped'').

2.2 Packet-switched Networks: Features: Data separated into packets Switching decision (output port) for each individual packet Statistical multiplexing: Sum of peak rates may exceed. L.Rania Ahmed Tabeidi18

L.Rania Ahmed Tabeidi1-19 Packet 1 Packet 2 Packet 3 Packet 1 Packet 2 Packet 3 Packet 1 Packet 2 Packet 3 processing and queueing delay of Packet 1 at router 2 propagation delay from Host A to router 1 transmission time of Packet 1 at Host A Timing Diagram of Packet Switching

L.Rania Ahmed Tabeidi Packet-switched Networks: Forwarding O Goal: move packets through routers from source to dest (1) Packet-switched datagram network: O destination address in packet determines next hop O Entire packet must arrive at router before it can be transmitted on next link O routes may change during session (2) Packet-switched virtual circuit network: O each packet carries tag (VC ID), tag determines next hop O fixed path determined at call setup time.

Datagram O Each packet treated independently O Packets can take any practical route O Packets may arrive out of order O Packets may go missing O Up to receiver to re-order packets and recover from missing packets

Virtual Circuit In the virtual circuit approach, a route is established before any data packets are sent. A logical connection is established when  a sender send a "call request packet" to the receiver and  the receiver send back an acknowledge packet "call accepted packet" to the sender if the receiver agrees on conversational parameters. Virtual circuits imply acknowledgements, flow control, and error control, so virtual circuits are reliable.

Packet Switching : Virtual Circuit The difference between virtual circuit and datagram approaches:  With virtual circuit, the node does not need to make a routing decision for each packet.  It is made only once for all packets using that virtual circuit.

Packet Switching: Virtual Circuit VC's offer guarantees that  the packets sent arrive in the order sent  with no duplicates  with no errors.

L.Rania Ahmed Tabeidi1-25 Packet Switching vs Circuit Switching O Great for burst data O resource sharing O simpler, no call setup O Q: How to provide circuit-like behavior? O bandwidth guarantees needed for audio/video apps O still an unsolved problem Is packet switching a “slam dunk winner?”

26 Switching technology Circuit switching need a connection established between end nodes connection is maintained until one of end nodes terminates Connection is dedicated to the communication between two nodes Example : Public Switch Telephone Network (PSTN) Packet switching data are transmitted in short messages called packets a connection between the two end-nodes is not maintained a node-to-node link can be dynamically shared by many packets Example : Public Data Network (PDN) like X.25, Frame Relay

Disadvantages of packet switching Disadvantages: Protocols for packet switching are typically more complex. It can add some initial costs in implementation. If packet is lost, sender needs to retransmit the data. Another disadvantage is that packet-switched systems still can’t deliver the same quality as dedicated circuits in applications requiring very little delay - like voice conversations or moving images.

L.Rania Ahmed Tabeidi1-28 Delay Calculation in Circuit Switched Networks Transmission delay:  R = reserved bandwidth (bps)  L = packet length (bits)  time to send a packet into link = L/R Propagation delay:  d = length of physical link  s = propagation speed in medium (~2x10 5 km/sec)  propagation delay = d/s r Propagation delay: delay for the first bit to go from a source to a destination r Transmission delay: time to pump data onto link at reserved rate DATA d/s L/R Time

L.Rania Ahmed Tabeidi1-29 An Example O Propagation delay O suppose the distance between A and B is 4000 km, then one-way propagation delay is: O Transmission delay O suppose we reserve a one slot GSM channel O a GSM frame can transmit about 115 kbps O A GSM frame is divided into 8 slots O each reserved one slot GSM has a bandwidth of about 14 Kbps (=115/8) O then the transmission delay of a packet of 1 Kbits is

L.Rania Ahmed Tabeidi1-30 An Example (cont.) O Suppose the setup message is very small, and the total setup processing delay is 200 ms O Then the delay to transfer a packet of 1 Kbits from A to B (from the beginning until host receives last bit of the file) is: DATA Host A Host B time

L.Rania Ahmed Tabeidi1-31 Another example O How long does it take to send a file of 640,000 bits (1 byte=8bits) from host A to host B over a circuit- switched network? O All links are Mbps (Mega Bits Per Second) O Each link uses TDM with 24 slots/sec O 500 msec to establish end-to-end circuit (setup time including propagation delay) Single circuit speed= Mbps / 24 = 64kbps File transmission time = 500 msec + file size/speed = 0.5 sec + 640,000 bits / 64 = 10.5 sec Kb/s

1-32 How do loss and delay occur in packet switching? packets queue in router buffers O packet arrival rate to link exceeds output link capacity O packets queue, wait for turn A B packet being transmitted (delay) packets queueing (delay) free (available) buffers: arriving packets dropped (loss) if no free buffers

L.Rania Ahmed Tabeidi1-33 packet delay A B propagation transmission queueing

L.Rania Ahmed Tabeidi1-34 Total Delay in Datagram Networks Packet 1 Packet 2 Packet 3 Packet 1 Packet 2 Packet 3 Packet 1 Packet 2 Packet 3 nodal processing and queueing delay of Packet 1 at Node 2 propagation delay between Host 1 and Node 2 transmission time of Packet 1 at Host 1 Host 1Host 2Node 1Node 2

L.Rania Ahmed Tabeidi1-35 Packet loss O queue preceding link in buffer has finite capacity O packet arriving to full queue dropped O lost packet may be retransmitted by previous node, by source end system, or not at all. A B packet being transmitted packet arriving to full buffer is lost buffer (waiting area)

Throughput O throughput: rate (bits/time unit) at which bits transferred between sender/receiver

37 Circuit Switch vs. Packet switch Sr #Circuit SwitchPacket Switch 1.Forwarding decision at the time of call arrival. Thus, no header is required Forwarding decision every time a new packet arrives. 2Circuit switched call lasts for few minutes New packet may arrive every few  sec 3No buffer required buffer required

L.Rania Ahmed Tabeidi1-38 Summary O Network Taxonomy O Broadcast O Circuit Switch O Packet switch O Virtual circuit switch O Switched Network Performance O Delay, packet loss, throughput

End Slide Show # 3 39 L.Rania Ahmed Tabeidi