Circuit-Switching Datagram-Switching

Total Page:16

File Type:pdf, Size:1020Kb

Circuit-Switching Datagram-Switching 6.263 Data Communication Networks Lecture 1: Computer Networks (some slides are taken from I. Stoica and N. Mckewon) Dina Katabi [email protected] www.nms.lcs.mit.edu/~dina Administrative Information Instructors ¾ Dina Katabi ([email protected]) • Office Hours in 32-G936 on Tue 2:30pm-3:30pm ¾ Muriel Médard ([email protected] ) • Office Hours in 32-D626 on Wed 1:45pm-2:245pm Michael Lewy ¾ Phone (617) 253-6171 Course Webpage ¾ http://nms.lcs.mit.edu/~dina/6.263 2 Grades HW (weekly) 10% Project 30% Midterm 25% Final 35% 3 Syllabus Routing & Switching Queuing Wireless Congestion Control Compression & Coding Network Security 4 A Taxonomy of Communication Networks Communication networks can be classified based on the way in which the nodes exchange information: Communication Network Switched Broadcast Communication Communication Network Network Circuit-Switched Packet-Switched Communication Communication Network Network Datagram Virtual Circuit Network Network 5 Broadcast vs. Switched Networks Broadcast networks ¾ Information transmitted by any node is received by every node in the network • Ex: Broadcast Ethernet, wireless LANs ¾ Need to coordinate the access to the shared medium Æ MAC ¾ Does it scale? Switched networks ¾ Links are point-to-point • Ex: WANs (Telephony Network, Internet) ¾ Routing becomes harder 6 A Taxonomy of Communication Networks Communication networks can be classified based on the way in which the nodes exchange information: Communication Network Switched Broadcast Communication Communication Network Network Circuit-Switched Packet-Switched Communication Communication Network Network Datagram Virtual Circuit Network Network 7 Circuit Switching Three phases: Host 1 Host 2 1. Circuit Establishment: Node 1 Node 2 allocates certain bandwidth and establish a path 2. Data Transfer processing delay at Node 1 3. Circuit Termination propagation delay (1) between If circuit not available: “Busy Host 1 and Node 1 signal” (2) Ex: Telephone networks DATA (3) 8 Circuit Switching: Multiplexing/Demultiplexing Switch Frames Slots = 0123 45 0123 45 One way for circuit switching is TDM: Time divided into frames and frames divided in slots Relative slot position inside a frame determines which conversation the data belongs to ¾ E.g., slot 0 belongs to the red conversation Needs synchronization between sender and receiver If a conversation does not use its circuit the capacity is wasted! 9 A Taxonomy of Communication Networks Communication networks can be classified based on the way in which the nodes exchange information: Communication Network Switched Broadcast Communication Communication Network Network Circuit-Switched Packet-Switched Communication Communication Network Network Datagram Virtual Circuit Network Network 10 Datagram Packet Switching Data is sent in Packets (header and trailer Host 1 Host 2 contain control info, e.g., source and destination Node 1 Node 2 addresses) Header Data Trailer propagation delay between Host 1 & Per-packet routing transmission Node 2 processing At each node the entire time of Packet 1 delay of Packet 1 packet is received, Packet 2 Packet 1 at Host 1 Packet 1 at Node 2 stored, and then Packet 3 Packet 2 forwarded (Store-and- Packet 1 Forward Networks) Packet 3 Packet 2 No capacity is allocated Packet 3 E.g. The Internet 11 Datagram Packet Switching: Multiplexing/Demultiplexing Router Queue Multiplex using a queue ¾ Routers need memory ¾ Queuing introduces jitters Demultiplex using packet headers 12 Datagram Packet Switching Packets in a flow may not follow the same path (depends on routing as we will see later) Host C Host A Host D Node 1 Node 2 Node 3 Node 5 Host B Host E Node 6 Node 7 Node 4 13 Some Differences Between Datagram & Circuit Switching Circuit-switching Datagram-Switching Guaranteed capacity No guarantees (best effort) Capacity is wasted if data is More efficient bursty Before sending data Send data immediately establishes a path All data in a single flow follows Different packets might follow one path different paths No Reordering of data Packets may be reordered 14 A Taxonomy of Communication Networks Communication networks can be classified based on the way in which the nodes exchange information: Communication Network Switched Broadcast Communication Communication Network Network Circuit-Switched Packet-Switched Communication Communication Network Network Datagram Virtual Circuit Network Network 15 Virtual-Circuit Packet Switching Hybrid of circuit switching and packet switching ¾ Data is transmitted as packets ¾ All packets from one packet stream are sent along a pre-established path (i.e., a virtual circuit) No capacity guarantees, but guarantees no reordering of packets E. g., ATM networks 16 Timing of Virtual-Circuit Packet Switching Host 1 Host 2 Node 1 Node 2 propagation delay between Host 1 VC and Node 1 establishment Packet 1 Packet 2 Packet 1 Data Packet 3 Packet 2 transfer Packet 1 Packet 3 Packet 2 Packet 3 VC termination 17 Virtual Circuits guarantees all packets in a flow follow one path Host C Host A Host D Node 1 Node 2 Node 3 Node 5 Host B Host E Node 6 Node 7 Node 4 18 In Reality The Internet is a datagram network But part of the Internet use circuit-switching (Phone links) or virtual circuit (ATM) The Internet works by abstracting an ATM region or a circuit-switched region as a single link 19 Routing: How to deliver packets from source to destination? 20 Addressing A network is a graph Each node should have an address ¾ E.g., IP addresses, Phone numbers 21 How can we deliver packets? We need to send packets form source to destination ¾ Hierarchical Addressing ¾ Source Routing ¾ Virtual Circuit ¾ Routing & forwarding are both done by the routers 22 Internet Routing (see BG-5.2.3 for Algs.) 23 Forwarding A R1 C What’s the difference between F routing and forwarding? Router ¾ Routing is finding the path R2 B ¾ Forwarding is the action of sending the packet to the next-hop toward R3 E its destination G Each router has a forwarding table ¾ Forwarding tables are created by a Dest. Addr Next-hop routing protocol A R1 Forwarding: B R2 ¾ For every packet, we need to look C R1 up the next hop toward its E R3 destination in the table F R1 Forwarding needs to be fast GR3 24 Picture of the Internet Interior router Border router AS-1 AS-3 AS-2 Internet: A collection of ASes Routing: ¾ Intra-Domain Routing ¾ Inter-Domain Routing 25 Intra-Domain Routing Algorithms Routing algorithms view the network as a graph Examples of link cost: Distance, load, price, ¾ A node is a router or a congestion/delay, … whole network region Problem: find minimum A 6 1 cost path between two 3 2 F 1 E nodes (Shortest path) B » 4 1 9 Factors C D ¾ Semi-dynamic topology (deal with link failures) ¾ Dynamic load ¾ Policy 26 Problem: Shortest Path Routing Objective: Determine the route from (R1, …, R7) to R8 that minimizes the cost. 114 R 1 R2 R4 R6 2 23 2 3 2 R7 R5 R 4 3 R8 27 Solution is simple by inspection... (in this case) 1 14 R 1 R2 R4 R6 3 2 2 2 23R7 R5 4 R3 R8 The shortest paths from all sources to a destination (e.g., R8) is the spanning tree routed at that destination. 28.
Recommended publications
  • X.25: ITU-T Protocol for WAN Communications
    X.25: ITU-T Protocol for WAN Communications X.25, an ITU-T protocol for WAN communications, is a packet switched data network protocol which defines the exchange of data as well as control information between a user device, called Data Terminal Equipment (DTE) and a network node, called Data Circuit Terminating Equipment (DCE). X.25 is designed to operate effectively regardless of the type of systems connected to the network. X.25 is typically used in the packet-switched networks (PSNs) of common carriers, such as the telephone companies. Subscribers are charged based on their use of the network. X.25 utilizes a Connection-Oriented service which insures that packets are transmitted in order. X.25 sessions are established when one DTE device contacts another to request a communication session. The DTE device that receives the request can either accept or refuse the connection. If the request is accepted, the two systems begin full-duplex information transfer. Either DTE device can terminate the connection. After the session is terminated, any further communication requires the establishment of a new session. X.25 uses virtual circuits for packets communications. Both switched and permanent virtual circuits are used. X.75 is the signaling protocol for X.25, which defines the signaling system between two PDNs. X.75 is essentially an Network to Network Interface (NNI). X.25 protocol suite comes with three levels based on the first three layers of the OSI seven layers architecture. The Physical Level: describes the interface with the physical environment. There are three protocols in this group: 1) X.21 interface operates over eight interchange circuits; 2) X.21bis defines the analogue interface to allow access to the digital circuit switched network using an analogue circuit; 3) V.24 provides procedures which enable the DTE to operate over a leased analogue circuit connecting it to a packet switching node or concentrator.
    [Show full text]
  • Virtual-Circuit Networks: Frame Relay Andatm
    CHAPTER 18 Virtual-Circuit Networks: Frame Relay andATM In Chapter 8, we discussed switching techniques. We said that there are three types of switching: circuit switching, packet switching, and message switching. We also men­ tioned that packet switching can use two approaches: the virtual-circuit approach and the datagram approach. In this chapter, we show how the virtual-circuit approach can be used in wide-area networks. Two common WAN technologies use virtual-circuit switching. Frame Relay is a relatively high-speed protocol that can provide some services not available in other WAN technologies such as DSL, cable TV, and T lines. ATM, as a high-speed protocol, can be the superhighway of communication when it deploys physical layer carriers such as SONET. We first discuss Frame Relay. We then discuss ATM in greater detaiL Finally, we show how ATM technology, which was originally designed as a WAN technology, can also be used in LAN technology, ATM LANs. 18.1 FRAME RELAY Frame Relay is a virtual-circuit wide-area network that was designed in response to demands for a new type ofWAN in the late 1980s and early 1990s. 1. Prior to Frame Relay, some organizations were using a virtual-circuit switching network called X.25 that performed switching at the network layer. For example, the Internet, which needs wide-area networks to carry its packets from one place to another, used X.25. And X.25 is still being used by the Internet, but it is being replaced by other WANs. However, X.25 has several drawbacks: a.
    [Show full text]
  • Multiprotocol Label Switching
    CHAPTER23 MULTIPROTOCOL LABEL SWITCHING 23.1 The Role of Mpls 23.2 Background Connection-Oriented QoS Support Traffic Engineering Virtual Private Network (VPN) Support Multiprotocol Support 23.3 MPLS Operation 23.4 Labels Label Stacking Label Format Label Placement 23.5 FECs, LSPs, and Labels Route Selection 23.6 Label Distribution Requirements for Label Distribution Label Distribution Protocol LDP Messages LDP Message Format 23.7 Traffic Engineering Elements of MPLS Traffic Engineering Constrained Shortest-Path First Algorithm RSVP-TE 23.8 Virtual Private Networks Layer 2 Virtual Private Network Layer 3 Virtual Private Network 23.9 Recommended Reading 23.10 Key Terms, Review Questions, and Problems 749 750 CHAPTER 23 / MULTIPROTOCOL LABEL SWITCHING LEARNING OBJECTIVES After studying this chapter, you should be able to: ◆ Discuss the role of MPLS in an Internet traffic management strategy. ◆ Explain at a top level how MPLS operates. ◆ Understand the use of labels in MPLS. ◆ Present an overview of how the function of label distribution works. ◆ Present an overview of MPLS traffic engineering. ◆ Understand the difference between layer 2 and layer 3 VPNs. In Chapter 19, we examined a number of IP-based mechanisms designed to improve the performance of IP-based networks and to provide different levels of quality of service (QoS) to different service users. Although the routing protocols discussed in Chapter 19 have as their fundamental purpose dynami- cally finding a route through an internet between any source and any destina- tion, they also provide support for performance goals in two ways: 1. Because these protocols are distributed and dynamic, they can react to congestion by altering routes to avoid pockets of heavy traffic.
    [Show full text]
  • Networking CS 3470, Section 1 Forwarding
    Chapter 3 Part 3 Switching and Bridging Networking CS 3470, Section 1 Forwarding A switching device’s primary job is to receive incoming packets on one of its links and to transmit them on some other link This function is referred as switching and forwarding According to OSI architecture this is the main function of the network layer Forwarding How does the switch decide which output port to place each packet on? It looks at the header of the packet for an identifier that it uses to make the decision Two common approaches Datagram or Connectionless approach Virtual circuit or Connection-oriented approach Forwarding Assumptions Each host has a globally unique address There is some way to identify the input and output ports of each switch We can use numbers We can use names Datagram / Connectionless Approach Key Idea Every packet contains enough information to enable any switch to decide how to get it to destination Every packet contains the complete destination address Datagram / Connectionless Approach An example network To decide how to forward a packet, a switch consults a forwarding table (sometimes called a routing table) Copyright © 2010, Elsevier Inc. All rights Reserved Datagram / Connectionless Approach Destination Port ----------------------------------- A 3 B 0 C 3 D 3 E 2 F 1 G 0 H 0 Forwarding Table for Switch 2 Copyright © 2010, Elsevier Inc. All rights Reserved Datagram Networks: The Internet Model No call setup at network layer Routers: no state about end-to-end connections no network-level concept of “connection” Packets forwarded using destination host address packets between same source-dest pair may take different paths session session transport transport network network 1.
    [Show full text]
  • Future of Asynchronous Transfer Mode Networking
    California State University, San Bernardino CSUSB ScholarWorks Theses Digitization Project John M. Pfau Library 2004 Future of asynchronous transfer mode networking Fakhreddine Mohamed Hachfi Follow this and additional works at: https://scholarworks.lib.csusb.edu/etd-project Part of the Digital Communications and Networking Commons Recommended Citation Hachfi, akhrF eddine Mohamed, "Future of asynchronous transfer mode networking" (2004). Theses Digitization Project. 2639. https://scholarworks.lib.csusb.edu/etd-project/2639 This Thesis is brought to you for free and open access by the John M. Pfau Library at CSUSB ScholarWorks. It has been accepted for inclusion in Theses Digitization Project by an authorized administrator of CSUSB ScholarWorks. For more information, please contact [email protected]. FUTURE OF ASYNCHRONOUS TRANSFER MODE NETWORKING A Thesis Presented to the Faculty of California State University, San Bernardino In Partial Fulfillment of the Requirements for the Degree Master of Business Administration by ' Fakhreddine Mohamed Hachfi June 2004 FUTURE OF ASYNCHRONOUS TRANSFER MODE NETWORKING A Thesis Presented to the Faculty of California State University, San Bernardino by Fakhreddine Mohamed Hachfi June 2004 Approved by: Da^e Frank Lin, Ph.D., Inf ormatTdn—&^-DSsision Sciences „ / Walt Stewart, Jr., Ph.D., Department Chair Information & Decision Sciences © 2004 Fakhreddine Mohamed Hachfi ABSTRACT The growth of Asynchronous Transfer Mode ATM was considered to be the ideal carrier of the high bandwidth applications like video on demand and multimedia e-learning. ATM emerged commercially in the beginning of the 1990's. It was designed to provide a different quality of service at a speed up to 10 Gbps for both real time and non real time application.
    [Show full text]
  • Chapter 10: Circuit Switching and Packet Switching Switching Networks
    Chapter 10: Circuit Switching and Packet Switching CS420/520 Axel Krings Page 1 Sequence 10 Switching Networks • Long distance transmission is typically done over a network of switched nodes • Nodes not concerned with content of data • End devices are stations — Computer, terminal, phone, etc. • A collection of nodes and connections is a communications network • Data is routed by being switched from node to node CS420/520 Axel Krings Page 2 Sequence 10 1 Nodes • Nodes may connect to other nodes only, or to stations and other nodes • Node to node links usually multiplexed • Network is usually partially connected — Some redundant connections are desirable for reliability • Two different switching technologies — Circuit switching — Packet switching CS420/520 Axel Krings Page 3 Sequence 10 Simple Switched Network CS420/520 Axel Krings Page 4 Sequence 10 2 Circuit Switching • Dedicated communication path between two stations • Three phases — Establish — Transfer — Disconnect • Must have switching capacity and channel capacity to establish connection • Must have intelligence to work out routing CS420/520 Axel Krings Page 5 Sequence 10 Circuit Switching • Inefficient — Channel capacity dedicated for duration of connection — If no data, capacity wasted • Set up (connection) takes time • Once connected, transfer is transparent • Developed for voice traffic (phone) CS420/520 Axel Krings Page 6 Sequence 10 3 Public Circuit Switched Network CS420/520 Axel Krings Page 7 Sequence 10 Telecom Components • Subscriber — Devices attached to network • Subscriber
    [Show full text]
  • Implementation of Virtual Circuits As a Switching Fabric in Virtual
    A Thesis Entitled Implementation of Virtual Circuits as a switching fabric in Virtual Modularized Network By Siddhartha Bolla Submitted as partial fulfillment of the requirements for The Master of Science in Electrical Engineering. Dr. Lawrence Miller, Committee Chair Dr. Ezzatollah Salari, Committee Member Dr. Henry Ledgard, Committee Member Dr. Patricia Komuniecki, Dean College of Graduate Studies The University of Toledo May 2010 An Abstract of Implementation of Switching Fabric using virtual circuits in a Virtual Modularized Network by Siddhartha Bolla As partial fulfillment of the requirements for the Master of Science Degree in Electrical Engineering. The University of Toledo May 2010 Virtual Modularized Network (VIMNet) is a dynamic modularized protocol framework architecture which is based on the principles of object oriented environments which allows applications to utilize protocol modules or choose customized modules. VIMNet is designed to overcome the problems with the current Internet due to its underlying core design which uses the TCP/IP model by providing facilities to enable improved quality of service, reliability and robustness. An important part of this architecture is the connections between the components within the networks to facilitate data transfer. This thesis focuses on the development of virtual circuit based system architecture similar to the one used in ATM. iii Acknowledgments I would like to thank my advisor, Dr. Lawrence Miller, for his supervision and support to accomplish this work. I would like to extend my gratitude to Dr. Ezzatollah Salari and Dr. Henry Ledgard for serving as my thesis committee members. I would like to thank Jonathan Guernsey, the originator of VIMNet, for providing me with his papers and publications.
    [Show full text]
  • Computer Networks Virtual Circuits, MPLS,VLAN Outline Circuit
    11/23/2019 Outline • Circuit switching refresher • Virtual Circuits 15-441/641: Computer Networks • Why virtual circuits? Virtual Circuits, MPLS,VLAN • How do they work? • Today’s virtual circuits: MPLS 15-441 Fall 2019 Profs Peter Steenkiste & Justine Sherry • Virtual LANs • How do they differ? Fall 2019 https://computer-networks.github.io/fa19/ Circuit Switching Circuit Switching • Source first establishes a connection (circuit) to the destination. Switch • Switches remembers how to forward • Each router or switch along the way may reserve some data bandwidth for the data flow • Source sends the data over the circuit. • No packets or addresses! • No destination address needed - routers know the path • Many options for switches • The connection is torn down. • Connect specific wires (circuit = wire) • Example: traditional telephone network. Input • Forward on specific wire in specific Output Ports timeslots (TDMA on each wire) Ports • Forward to specific frequency on a specific wire (FDMA on each wire) 1 11/23/2019 Circuit Versus Packet Switching Virtual Circuits • Each wire carries many “virtual” circuits Circuit Switching Packet Switching • Forwarding based on virtual circuit (VC) identifier in a packet header • Fast switches can be built • Switch design is more • IP header: source IP, destination IP, etc. relatively inexpensively complex and expensive • Virtual circuit header: VC ID, .. • Inefficient for bursty data • Allows statistical • A path through the network is set up when the VC is established multiplexing • Statistical multiplexing for efficiency, similar to IP • Predictable performance • Can support wide range of quality of service (e.g. hard QoS) • Difficult to provide QoS guarantees • No guarantees: best effort service • Requires circuit • Weak guarantees: delay < 300 msec, … establishment before • Data can be sent without • Strong guarantees: e.g.
    [Show full text]
  • 1DT066 Distributed Information System
    1DT066 Distributed Information System Chapter 4 Network Layer CHAPTER 4: NETWORK LAYER Chapter goals: ¢ Understand principles behind network layer services: network layer service models forwarding vs routing how a router works routing (path selection) dealing with scale advanced topics: IPv6, mobility ¢ Implementation in the Internet 1 CHAPTER 4: NETWORK LAYER ¢ 4. 1 Introduction ¢ 4.2 Virtual circuit and datagram networks ¢ 4.3 What’s inside a router ¢ 4.4 IP: Internet Protocol Datagram format IPv4 addressing IPv6 ESSENCE OF NETWORKING LAYER A B Data Link Physical 2 NETWORK LAYER application ¢ transport segment from transport network sending to receiving host data link physical network network ¢ on sending side data link data link network Network Layer physical physical encapsulates segments into data link physical network network datagrams data link data link physical physical ¢ on receiver side, delivers network network data link data link segments to transport layer physical physical network ¢ network layer protocols in data link physical application every host, router transport network network data link network data link ¢ router examines header network physical data link physical data link physical fields in all IP datagrams physical passing through it TWO KEY NETWORK-LAYER FUNCTIONS ¢ forwarding: move packets from router’s input to correct router output ¢ routing: determine route taken by packets from source to destination. routing algorithms (e.g., OSPF, BGP) 3 Interplay of forwarding and routing Value in arriving packet’s
    [Show full text]
  • Packetradio©
    ALL cables and interfaces shown in this book are available at: www.HamRadioExpress.com PacketRadio© This Handbook is dedicated to the PacketRadio System Node Operator (SNO) by Buck Rogers, K4ABT A Guide to PacketRadio operating and X-1J4 TheNET Node implementation. This manual will serve as a multi-function handbook that supports digital networking and communications. As a PacketRadio handbook, this manual can provide a “heads-up” for the new PacketRadio user with a wealth of information that applies directly to the interfacing, installation, and operation of a PacketRadio station, and the implementation of the X-1J4 TheNET node. This handbook will become a ready-reference in your day-to-day, PacketRadio operations. It is my intent to provide the this manual as a final gesture of friendship to my many friends of the SEDAN. I hope these documents and tools serve you well, and may God smile on you as you continue to experience the fun within this wonderful, fun-filled facet of Amateur Radio. Buck Rogers K4ABT E-Mail [email protected] PacketRadio Editor, CQ Magazine Copyrights 1999-2007 BUX CommCo; 115 Luenburg Drive; Evington, Virginia 24550-1702 - 800 726 2919 This Digital Radio Handbook is FREE and is to be freely distributed without any commercial association. A PacketRadio Primer ! By Buck Rogers K4ABT Digital Editor; CQ Magazine When you first turn on the TNC you may see garbled text on the screen. This is usually because the terminal to TNC baudrate is not set to the same parameters. Some TNCs will do a "search" mode to find the setting that you have your terminal program set to/for.
    [Show full text]
  • Introduction to Virtual Circuit and X.25
    Virtual Circuit: virtual Circuits is a connection between two network devices appearing like a direct and dedicated connection but it but is actually a group of logic circuit resources from which specific circuits are allocated as needed to meet traffic requirements in a packet switched network. In this case, the two network devices can communicate as though they have a dedicated physical connection. Examples of networks with virtual circuit capabilities include X.25 connections, Frame Relay and ATM networks. Virtual circuits can be either permanent, called Permanent virtual Circuits (PVC), or temporary, called Switched Virtual Circuits (SVCs). A Permanent Virtual Circuit (PVC) is a virtual circuit that is permanently available to the user. A PVC is defined in advance by a network manager. A PVC is used on a circuit that includes routers that must maintain a constant connection in order to transfer routing information in a dynamic network environment. Carriers assign PVCs to customers to reduce overhead and improve performance on their networks. A switched virtual circuit (SVC) is a virtual circuit in which a connection session is set up dynamically between individual nodes temporarily only for the duration of a session. Once a communication session is complete, the virtual circuit is disabled. X.25: A packet-switching protocol for wide area network (WAN) connectivity that uses a public data network (PDN) that parallels the voice network of the Public Switched Telephone Network (PSTN). The current X.25 standard supports synchronous, full-duplex communication at speeds up to 2 Mbps over two pairs of wires, but most implementations are 64-Kbps connections via a standard DS0 link.
    [Show full text]
  • Virtual Circuits, ATM, MPLS
    Lecture 8 Virtual Circuits, ATM, MPLS David Andersen School of Computer Science Carnegie Mellon University 15-441 Networking, Fall 2006 http://www.cs.cmu.edu/~srini/15-441/F06/ 1 Outline Exam discussion Layering review (bridges, routers, etc.) » Exam section C. Circuit switching refresher Virtual Circuits - general » Why virtual circuits? » How virtual circuits? -- tag switching! Two modern implementations » ATM - teleco-style virtual circuits » MPLS - IP-style virtual circuits 2 Page ‹#› Exam stats Max/avg/min: 90 / 63 / 20 A B C D 19.6 17.9 12.8 11.0 57.6% 74.8% 58.3% 68.6% 3 Common Exam Problems Routing: No one big problem; many small misunderstandings. Please check your scores. Short answer: Many incorrect round-trip times vs. one-way times. DNS » Always sends the full query! (e.g. “ra1.streaming.npr.org”, not just “npr.org”) » Clients don’t recurse; the local recursive DNS server does. Could run on clients, but usually doesn’t. Routing and bridging and addressing… 4 Page ‹#› Packet Switching Source sends information as self-contained packets that have an address. » Source may have to break up single message in multiple Each packet travels independently to the destination host. » Routers and switches use the address in the packet to determine how to forward the packets Destination recreates the message. Analogy: a letter in surface mail. 5 Circuit Switching Source first establishes a connection (circuit) to the destination. » Each router or switch along the way may reserve some bandwidth for the data flow Source sends the data over the circuit. » No need to include the destination address with the data since the routers know the path The connection is torn down.
    [Show full text]