1 Packet Switching Outline  Space switch - crossbar  Add multiplexers and demultiplexers  Packet multiplexing  Practice: Ethernet switch Malathi Veeraraghavan.

Slides:



Advertisements
Similar presentations
LAN Devices 5.3 IT Essentials.
Advertisements

Delivery and Forwarding of
1 IK1500 Communication Systems IK1330 Lecture 3: Networking Anders Västberg
© Jörg Liebeherr ECE 1545 Packet-Switched Networks.
What's inside a router? We have yet to consider the switching function of a router - the actual transfer of datagrams from a router's incoming links to.
4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side, delivers.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
8.1 Chapter 8 Switching Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Connecting Devices and Multi-Homed Machines. Layer 1 (Physical) Devices Repeater: Extends distances by repeating a signal Extends distances by repeating.
Gursharan Singh Tatla Transport Layer 16-May
Chapter 4 Queuing, Datagrams, and Addressing
Module 10. Internet Protocol (IP) is the routed protocol of the Internet. IP addressing enables packets to be routed from source to destination using.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 All material copyright
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 18 Omar Meqdadi Department of Computer Science and Software Engineering University.
Polytechnic University1 The internetworking solution of the Internet Prof. Malathi Veeraraghavan Elec. & Comp. Engg. Dept/CATT Polytechnic University
Dr. Clincy1 Chapter 6 Delivery & Forwarding of IP Packets Lecture #4 Items you should understand by now – before routing Physical Addressing – with in.
Chapter 6 Delivery and Forwarding of IP Packets
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
25-Oct-15Network Layer Connecting Devices Networks do not normally operate in isolation.They are connected to one another using connecting devices. The.
Local-Area-Network (LAN) Architecture Department of Computer Science Southern Illinois University Edwardsville Fall, 2013 Dr. Hiroshi Fujinoki
Delivery, Forwarding, and Routing of IP Packets
Computer Networks: Switching and Queuing Ivan Marsic Rutgers University Chapter 4 – Switching and Queuing Delay Models.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
Chapter 17 Connecting Devices And Virtual LANs 17.# 1
Final Chapter Packet-Switching and Circuit Switching 7.3. Statistical Multiplexing and Packet Switching: Datagrams and Virtual Circuits 4. 4 Time Division.
1 Circuit switch controller: Routing and signaling Malathi Veeraraghavan University of Virginia Circuit switch –Routing –Signaling Difference in use of.
1 Data Link Layer Lecture 23 Imran Ahmed University of Management & Technology.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Forwarding.
Where are we? Chapter 3 and 4 are focused on getting the data from one place to another. Switching and routing Review the next slides First our goal is.
Ch 8. Switching. Switch  Devices that interconnected with each other  Connecting all nodes (like mesh network) is not cost-effective  Some topology.
Protocol Layering Chapter 11.
1 IEX8175 RF Electronics Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
18-WAN Technologies and Dynamic routing Dr. John P. Abraham Professor UTPA.
Network Layer4-1 Chapter 4 Network Layer All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down.
5: DataLink Layer5-1 Link-layer switches. 5: DataLink Layer5-2 Hubs … physical-layer (“dumb”) repeaters: m bits coming in one link go out all other links.
1 Kyung Hee University Chapter 8 Switching. 2 Kyung Hee University Switching  Switching  Switches are devices capable of creating temporary connections.
Structure of a switch We use switches in circuit-switched and packet- switched networks. In this section, we discuss the structures of the switches used.
1 Circuit Switching Outline  Types of switches  Add multiplexers and demultiplexers  TDM circuit switch  Practice: SONET switch Malathi Veeraraghavan.
CSEN 404 Data Link Layer Amr El Mougy Lamia AlBadrawy.
CPSC 441: Link Layer1 Link Layer Addressing Slides originally from Carey Williamson Notes derived from “ Computer Networking: A Top Down Approach”, by.
TCP/IP Protocol Suite 1 Chapter 1 Objectives Upon completion you will be able to: Introduction Understand how the Internet came into being Understand the.
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
Chapter 3: Packet Switching (overview)
Step-by-step explanation what happens if a L3 device is connected via a L2 vPC: Packet arrives at R R does lookup in routing table and sees 2 equal paths.
Link Layer 5.1 Introduction and services
Chapter 8 Switching Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
3. Internetworking (part 1)
Packet Switching Outline Store-and-Forward Switches
MAC Addresses and ARP 32-bit IP address:
Chapter 6 Delivery & Forwarding of IP Packets
Hubs Hubs are essentially physical-layer repeaters:
CS4470 Computer Networking Protocols
Chapter 3 Part 3 Switching and Bridging
18-WAN Technologies and Dynamic routing
Hubs Hubs are essentially physical-layer repeaters:
What’s “Inside” a Router?
Switching A Network Layer Function
Packet Switch Architectures
Switch controller: Routing
Circuit Switching Packet Switching Message Switching
Chapter 4 Network Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April Network Layer.
Chapter 3 Part 3 Switching and Bridging
Network Layer: Control/data plane, addressing, routers
Delivery, Forwarding, and Routing of IP Packets
Computer Networks: Switching and Queuing
Virtual LAN (VLAN).
Packet Switch Architectures
Presentation transcript:

1 Packet Switching Outline  Space switch - crossbar  Add multiplexers and demultiplexers  Packet multiplexing  Practice: Ethernet switch Malathi Veeraraghavan University of Virginia Some figures: Courtesy of Leon-Garcia & Widjaja’s textbook web site

2 Host 1 Switch Link Host R Host R – 1 Controller P P Connection of inputs to outputs … … Network: Links & switches A switch redirects (forwards) data units (bits or packets) from one link to another Network Switch Port or interface Size of switch fabric = P x P

3 Purpose of a switch Why are switches needed? To directly connect P hosts with each other, we need P(P-1)/2 links By connecting P hosts to a switch, we only need P links: Make connections between links through the switch to create host-to-host communication paths Cheaper to dig up the ground and lay fiber or copper wires from host locations to one central location where the switch is located rather than on every pairwise route

4 Different views of a switch (example switch: 12 input by 12 output) Folded view of a switch Input interfaces Output interfaces Unfolded view of a switch Bidirectional links

5 P P 2 P –1 … … Crossbar Space Switch Size of switch: written as P x P read as P by P switch Number of crosspoints = P 2 Connect an input to an output by closing a crosspoint … Input interfaces Output interfaces Note: this is the same as the unfolded view with the output interfaces moved to the bottom

6 Status check Outline Space switches – crossbar Add multiplexers and demultiplexers  Packet switch: packet mux/demux Practice: Ethernet switch and SONET switch

7 Add multiplexers/demultiplexers (mux/demux) to interfaces The links connected to the switch are typically shared this means the multiplexing function of the data-link layer is implementated at the end of the link Q Input interfaces Q Output interfaces Unfolded view of a switch M M M M Space switch D D D D D: Demultiplexer M: Multiplexer

8 Types of switches The type of switch is determined by the type of multiplexing used on its links Circuit switch: Position-based multiplexing  TDM, FDM/WDM Packet switch: Packet-based multiplexing

9 Controller P Line card Space switch Line card P Input portsOutput ports Data path Control path (a) … … … … Packet switch: header based “Unfolded” View of Switch Input line card functions Packet-based demultiplexing Header processing Output line card functions Packet-based multiplexing Buffering packets Space switch Transfer packets between line cards Close crosspoints on a packet-by-packet basis Controller Routing slides Folded view: line card has both input and output functions

10 Packet-based multiplexing Host 1 Host 2 Switch Host 3 Host 4 Packet-based multiplexer input link input link output link Scheduling algorithms: FCFS, priority

11 Example of a packet switch: an Ethernet switch Headers of incoming packets are processed to extract destination address Forwarding table is consulted to find output port, O, corresponding to destination Corresponding space switch crosspoint connection is closed Packet is sent from input port to the output port, O If multiple packets destined to the same output link arrive at the same time, they are held in queues (either on the input line card or output line card) and scheduling algorithms are applied Host 1 Host 4 Host 2 Host 3 Ethernet switch Destination MAC address: 05:a1:08:10:a4:3e Destination MAC address: 09:a5:08:10:a4:3d a b c d Destination Output Port 05:a1:08:10:a4:3e 09:a5:08:10:a4:3d 05:a1:08:10:a4:3ec b09:a5:08:10:a4:3d Forwarding table

12 Recall Ethernet frame format Example MAC address: 04-3C-5A Each four-bit half of each byte is expressed in hexa-decimal notation

13 Insides of an Ethernet switch – unfolded view (assuming crossbar) Controller Line card 1234 Input ports Output ports 1.Physical layer 2.Data link layer 3.Once a frame is received correctly, consult forwarding table with destination MAC address 4.Make appropriate crosspoint connection in fabric 5.Send frame to appropriate outgoing line card

14 Analogy for switch: road intersection

15 Analogy for a forwarding table Road signs