n outputs n inputs switch a switch moves a packet from an
play

N outputs N inputs Switch ... ... A - PowerPoint PPT Presentation

N outputs N inputs Switch ... ... A switch moves a packet from an input port to an output port Forwarding -- output port selection Switching -- actually transferring the


  1. ������������������ N outputs N inputs Switch ... ... ■ A “switch” moves a packet from an input port to an output port ● Forwarding -- output port selection ● Switching -- actually transferring the packet ● Routing -- deciding how to forward ■ Scalable, largely without limits to … ● Number of hosts ● Geographic areas ECPE/CS 5516 (02/21/2000) Packet and Cell Switching: Forwarding and Routing - 1

  2. �������������������� ■ Selection of output port determines routing and is based on information in packet header ● Destination address ● Path or circuit identifier ● Port specification ■ Routing … Where? When? ● Source routing ● Virtual circuit switching or routing ● Datagram routing ECPE/CS 5516 (02/21/2000) Packet and Cell Switching: Forwarding and Routing - 2

  3. ���������������� ■ Routing decisions are made at each switch as each packet is processed ● Connectionless ● Requires full address information be carried in packet header ■ Switch must make routing decisions, so it must know something about the network topology ECPE/CS 5516 (02/21/2000) Packet and Cell Switching: Forwarding and Routing - 3

  4. ������������������������ Routing Table dest out 0 0 0 0 A 3 1 1 1 1 B 2 ... ... 2 2 2 2 3 3 3 3 B B B B 0 0 Source Dest (A) 1 1 (B) 2 2 dest out A 1 3 3 B 0 ... ... ECPE/CS 5516 (02/21/2000) Packet and Cell Switching: Forwarding and Routing - 4

  5. ������������������������� ■ No setup is required, so source can transmit packets immediately ■ Packet is transmitted “into the night” ● Is a path available? ● Is the destination available? ■ Each packet is routed independently ● Network can route around failed or congested links ● Out of order delivery is possible ■ Header must contain full address ■ Used in Internet Protocol (IP) ECPE/CS 5516 (02/21/2000) Packet and Cell Switching: Forwarding and Routing - 5

  6. �������������� ■ Routing decisions are made at the source node when the packet is transmitted ■ Source selects route ● Must have information about the network topology ● This capability does not scale -- limits the use of source routing ■ Source indicates route in the packet header contains route information ● Information can be used by the destination to route return packets along the reverse path ECPE/CS 5516 (02/21/2000) Packet and Cell Switching: Forwarding and Routing - 6

  7. ���������������������� 0 0 0 0 1 1 2 2 0 3 2 3 3 2 0 3 3 2 0 0 0 Source Dest 1 2 3 ECPE/CS 5516 (02/21/2000) Packet and Cell Switching: Forwarding and Routing - 7

  8. ����������������������� ■ Routing decisions are made at each switch (or, possibly, at a source) when a connection is established ● Explicit connection ● Explicit disconnect (“tear down”) ■ All packets that are part of the connection follow the same path ● Connection-oriented ■ Each switch maintains a VC (virtual circuit) table ● Maps (input port,VC identifier) to (output port, VC identifier) ECPE/CS 5516 (02/21/2000) Packet and Cell Switching: Forwarding and Routing - 8

  9. ������������������������������� in vci out vci 0 0 0 0 3 2 2 5 1 1 1 1 VC Table 2 2 2 2 3 3 3 3 5 2 5 4 0 0 Source Dest 1 1 2 2 VC Table 3 3 in vci out vci 1 5 0 4 ECPE/CS 5516 (02/21/2000) Packet and Cell Switching: Forwarding and Routing - 9

  10. �������������������������������� ■ Setup must occur before data is sent (for reliability, at least) ● RTT delay occurs before first packet can be sent ● Overhead for connection setup ■ Virtual circuit identifier (VCI) ● Changed on a link-by-link basis ● Must be unique to a particular input port on a particular switch ● Placed in header, but can be quite small ■ Resources can be allocated during setup ● Supports quality of service (QoS) ■ Virtual circuit routing is used in ATM ECPE/CS 5516 (02/21/2000) Packet and Cell Switching: Forwarding and Routing - 10

  11. ���������������� ■ Contention versus congestion ● Contention occurs when two or more packets need to be transmitted on the same outgoing link ● Congestion occurs when the switch is so busy that its buffers fill (or overflow) ■ Forwarding versus routing ● Forwarding is the process of looking at a packet, consulting a table, and sending the packet on the appropriate output port -- easy to do ● Routing is the process of building the forwarding tables -- much harder to do, especially well ECPE/CS 5516 (02/21/2000) Packet and Cell Switching: Forwarding and Routing - 11

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend