1 Switching and Forwarding Sections 3.1. 2 Connecting More Than Two Hosts Multi-access link: Ethernet, wireless –Single physical link, shared by multiple.

Slides:



Advertisements
Similar presentations
Review of Topology and Access Techniques / Switching Concepts BSAD 141 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
Advertisements

Switching Technology presented by Hussain Ahmad BA-Abdullah. Fawaz abdullah AL-Amri. prof : Adel Ali.
NETWORK LAYER (1) T.Najah AlSubaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
Spring 2003CS 4611 Switching and Forwarding Outline Store-and-Forward Switches Bridges and Extended LANs Cell Switching Segmentation and Reassembly.
Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
Jaringan Komputer Lanjut Packet Switching Network.
Review of Topology and Access Techniques / Switching Concepts BSAD 141 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
1 Switching and Forwarding Bridges and Extended LANs.
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.
1 Chapter 3 Switching and Forwarding Outline 3.1 Switching and Forwarding 3.2 Bridges and LAN Switches 3.3 Cell Switching (ATM) 3.4 Implementation and.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
ECOM 4314 Data Communications Fall September, 2010.
1 ELEN Lecture 13 LAN Bridges Routers, Switches, Gateways Network layer -IP Reading: 6.7,
CSE331: Introduction to Networks and Security Lecture 6 Fall 2002.
Chapter 8 Switching Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Computer Networks Switching Technologies. 2 Switched Network Long distance transmission typically done over a network of switched nodes End devices.
1 Switching and Forwarding Bridges and Extended LANs.
Data Communications and Networking
MODULE IV SWITCHED WAN.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
29-Aug-154/598N: Computer Networks Switching and Forwarding Outline –Store-and-Forward Switches.
CS448 Computer Networking Chapter 1 Introduction to Computer Networks Instructor: Li Ma Office: NBC 126 Phone: (713)
Introduction to Network Layer. Network Layer: Motivation Can we built a global network such as Internet by extending LAN segments using bridges? –No!
Networks for Distributed Systems n network types n Connection-oriented and connectionless communication n switching technologies l circuit l packet.
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.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 18 Omar Meqdadi Department of Computer Science and Software Engineering University.
Virtual Circuit Network. Network Layer 2 Network layer r transport segment from sending to receiving host r network layer protocols in every host, router.
CS162 Operating Systems and Systems Programming Lecture 13 Packet Switching March 7, 2011 Ion Stoica
CPS 356: Introduction to Computer Networks Lecture 7: Switching technologies Ch 2.8.2, 3.1, 3.4 Xiaowei Yang
Circuit & Packet Switching. ► Two ways of achieving the same goal. ► The transfer of data across networks. ► Both methods have advantages and disadvantages.
1 Flow Identification Assume you want to guarantee some type of quality of service (minimum bandwidth, maximum end-to-end delay) to a user Before you do.
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.
Switching Techniques Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Computer Networks with Internet Technology William Stallings
BZUPAGES.COM Presentation On SWITCHING TECHNIQUE Presented To; Sir Taimoor Presented By; Beenish Jahangir 07_04 Uzma Noreen 07_08 Tayyaba Jahangir 07_33.
Lecture 8 Virtual Switching (contd.) & Message Switching.
Lecture 2: Packet Switching Reading: Sections 3.1, 3.4 CMSC 23300/33300 Computer Networks ?
Unit III Bandwidth Utilization: Multiplexing and Spectrum Spreading In practical life the bandwidth available of links is limited. The proper utilization.
Ch 8. Switching. Switch  Devices that interconnected with each other  Connecting all nodes (like mesh network) is not cost-effective  Some topology.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 CH. 8: SWITCHING & DATAGRAM NETWORKS 7.1.
CS440 Computer Networks 1 Packet Switching Neil Tang 10/6/2008.
Univ. of TehranComputer Network1 Advanced topics in Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani.
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.
Computer Networks Chapter 8 – Circuit Switching versus Packet Switching.
3. INTERNETWORKING (PART 1) Rocky K. C. Chang Department of Computing The Hong Kong Polytechnic University 18 February
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.
Switching By, B. R. Chandavarkar, CSE Dept., NITK, Surathkal Ref: B. A. Forouzan, 5 th Edition.
Fall, 2001CS 6401 Switching and Routing Outline Routing overview Store-and-Forward switches Virtual circuits vs. Datagram switching.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
Chapter 3 Part 1 Switching and Bridging
Chapter 3 Part 3 Switching and Bridging
Chapter 3: Packet Switching (overview)
3. Internetworking (part 1)
Packet Switching Outline Store-and-Forward Switches
Packet Switching Datagram Approach Virtual Circuit Approach
Switching and Forwarding Bridges and Extended LANs
CS4470 Computer Networking Protocols
SWITCHING Switched Network Circuit-Switched Network Datagram Networks
Chapter 3 Part 3 Switching and Bridging
Anthony D. Joseph and Ion Stoica
Data Communication Networks
Network Layer I have learned from life no matter how far you go
Circuit Switching Packet Switching Message Switching
EE 122: Lecture 7 Ion Stoica September 18, 2001.
Chapter 3 Part 3 Switching and Bridging
Packet Switching Outline Store-and-Forward Switches
Presentation transcript:

1 Switching and Forwarding Sections 3.1

2 Connecting More Than Two Hosts Multi-access link: Ethernet, wireless –Single physical link, shared by multiple nodes –Limitations on distance and number of nodes Point-to-point links: fiber-optic cable –Only two nodes (separate link per pair of nodes) –Limitations on the number of adapters per node multi-access link point-to-point links

3 Beyond Directly-Connected Networks Switched network –End hosts at the edge –Network nodes switch traffic –Links between the nodes Multiplexing –Many end hosts communicate over the network –Traffic shares access to the same links

4 What is a Switch A mechanism to interconnect links to form a larger network Multi-input, multi-output Transfers packets from an input to one or more outputs Adds star topology network to –point-to-point –bus (Ethernet) –ring (802.5 and FDDI) –ad hoc

5 Properties of Star Topology Large geographic scope networks can be built by interconnecting a number of switches –connect switches to each other and to hosts using point-to-point links A new host connected to a switched network does not necessarily degrade performance of already connected hosts –Every host has its own link to the switch –Hosts can transmit at full link bandwidth –Switch can be designed to handle aggregate bandwidth In contrast, all hosts on an Ethernet cannot transmit continuously at 10Mbps (share medium)

6 Circuit Switching (e.g., Phone Network) Source establishes connection to destination –Nodes along the path store connection info –Nodes may reserve resources for the connection Source sends data over the connection –No destination address, since nodes know path Source tears down connection when done

7 Circuit Switching: Multiplexing a Link Time-division –Each circuit allocated certain time slots (in the figure 6 circuits) Frequency-division –Each circuit allocated certain frequencies time frequency time

8 Virtual Circuit Switching Explicit connection setup (and tear-down) phase Subsequence packets follow same circuit Sometimes called connection-oriented model Each switch maintains a VC table Analogy: phone call

9 Connection Setup Phase Establish “connection state” in each of the switches between the source and destination hosts an entry in a “VC table” in each switch through which the connection passes. Fields of each entry are: –a virtual circuit identifier (VCI) that uniquely identifies the connection at this switch and that will be carried inside the header of incoming packets that belong to this connection –incoming interface on which packets for this VC arrive –outgoing interface in which packets for this VC leave –VCI that will be used for outgoing packets (a potentially different from incoming VCI)

10 Example Table Virtual Circuit Table (switch 1, port 2) Host A Host B Switch 3 Switch 2Switch

Virtual Circuit Model Typically wait full RTT for connection setup before sending first data packet. While the connection request contains the full address for destination, each data packet contains only a small identifier, making the per-packet header overhead small. If a switch or a link in a connection fails, the connection is broken and a new one needs to be established. Connection setup provides an opportunity to reserve resources.

12 Advantages of Circuit Switching Guaranteed bandwidth –Predictable communication performance –Not “best-effort” delivery with no real guarantees Simple abstraction –Reliable communication channel between hosts –No worries about lost or out-of-order packets Simple forwarding –Forwarding based on time slot or frequency –No need to inspect a packet header Low per-packet overhead –Forwarding based on time slot or frequency –No IP (and TCP/UDP) header on each packet

13 Disadvantages of Circuit Switching Wasted bandwidth –Bursty traffic leads to idle connection during silent period –Unable to achieve gains from statistical multiplexing Blocked connections –Connection refused when resources are not sufficient –Unable to offer “okay” service to everybody Connection set-up delay –No communication until the connection is set up –Unable to avoid extra latency for small data transfers Network state –Network nodes must store per-connection information –Unable to avoid per-connection storage and state

14 Packet Switching (e.g., Internet) Packet Switching: statistical multiplexing of links Data traffic divided into packets –Each packet contains a header (with address) Packets travel separately through network –Packet forwarding based on the header –Network nodes may store packets temporarily Destination reconstructs the message

15 Packet Switching (cont. I) No connection setup phase Each packet forwarded independently Sometimes called connectionless model Analogy: postal system Each switch maintains a forwarding (routing) table

16 Datagram Switching (cont. II) Forwarding Table (switch 1)

17 Datagram Model vs. Virtual Circuit Model There is no round trip delay waiting for connection setup; a host can send data as soon as it is ready. Source host has no way of knowing if the network is capable of delivering a packet or if the destination host is even up. Since packets are treated independently, it is possible to route around link and node failures. Since every packet must carry the full address of the destination, the overhead per packet is higher than for the connection-oriented model.

18 Routing Alternative: Source Routing All information required to switch a packet across the network is provided by the source host an ordered list of switch ports in header in every switch on the route, rotate the list so that next switch output port is always at the front of the list