Packet Switching

Total Page:16

File Type:pdf, Size:1020Kb

Packet Switching Packet Switching Switching and Forwarding Bridges and LAN Switches Cell Switching Switching Hardware Spring 2019 © CS 438 Staff, University of Illinois 1 Where are We? n Directly connected networks ¡ Point-to-point connectivity n Limitations ¡ Number of hosts ¡ Geographic area n Next Goal ¡ Communication between hosts that are not directly connected Spring 2019 © CS 438 Staff, University of Illinois 2 Next Topic: Switching n Motivation ¡ Why not just one direct link network? n Basic approach ¡ How can we extend the direct link abstraction? n Challenges ¡ What problems must we address? n Examples ¡ Where are these issues addressed in real networks? n Details of the switch ¡ What are the goals in design? How are these goals typically addressed? Spring 2019 © CS 438 Staff, University of Illinois 3 After Switching n Heterogeneity ¡ Switching allows multiple physical networks ¡ But assumes one switching strategy n Scale ¡ Direct link networks: O(100) hosts ¡ Packet-switched networks: O(100,000) hosts n Beyond the basics ¡ Quality of service ¡ Congestion and performance analysis ¡ Network trends and their importance Spring 2019 © CS 438 Staff, University of Illinois 4 How can many hosts communicate? n Best: use one direct link network n Naïve approach: full mesh n Problem: doesn't scale Spring 2019 © CS 438 Staff, University of Illinois 5 How can many hosts communicate? n Slightly better solution: shared media n But, how to deal with larger networks (more hosts, larger geographic area)? n How to deal with heterogeneous media? (different physical/MAC technologies? Spring 2019 © CS 438 Staff, University of Illinois 6 Real Solution: Switching n Most basic function: allow communication between arbitrary endpoints ¡ Provide illusion of one (reliable) physical network ¡ On demand rather than connecting all pairs in advance ¡ Share infrastructure across users (statistical multiplexing) Spring 2019 © CS 438 Staff, University of Illinois 7 Real Solution: Switching Telephone operator at Aberdeen proving grounds, ~1940 Telephone exchange in 1893 Spring 2019 © CS 438 Staff, University of Illinois 8 Real Solution: Switching n Computer networks: more critical benefits ¡ Translates between different link technologies, allowing heterogeneity ¡ Isolates different physical networks to improve scalability and modularity Spring 2019 © CS 438 Staff, University of Illinois 9 Switches n Build network from stars Spring 2019 © CS 438 Staff, University of Illinois 10 Challenges New York Which way should they go? Boston first challenge: forwarding Spring 2019 © CS 438 Staff, University of Illinois 11 Challenges bookstore host (books.com) coffee shop (chat server) host second challenge: How do we maintain routing forwarding information? Spring 2019 © CS 438 Staff, University of Illinois 12 Challenges New York Who goes first? Boston third challenge: contention Spring 2019 © CS 438 Staff, University of Illinois 13 Challenges n Efficient forwarding ¡ Switch with several output ports ¡ Decide which output port to use n Routing in dynamic network ¡ Need information for forwarding ¡ Construct and maintain the information n Handling contention ¡ Multiple packets destined for one output port ¡ Decide which packet goes first ¡ Decide what to do with others Spring 2019 © CS 438 Staff, University of Illinois 14 Network Layers and Switches Application Application Host Presentation Presentation Session Session Transport Switch Transport Network Network Network Data Link Data Link Data Link Physical Physical Physical Spring 2019 © CS 438 Staff, University of Illinois 15 Network Layers and Switches switch between different physical layers Switch Switch Network Network Data Link A Data Link B Physical A Physical B Spring 2019 © CS 438 Staff, University of Illinois 16 Switching task: Translate betw. lower-layer technologies Router Network Data Link A Data Link B Physical A Physical B Ethernet802.11 IP TCP interface #1 data interface #2 Header header header(wireless 802.11) (wired ethernet) Spring 2019 © CS 438 Staff, University of Illinois 17 Switching and Forwarding n Switch ¡ A switch forwards packets from input ports to output ports n Port selection is based on the destination address in the packet header ¡ Advantages n Can build networks that cover large geographic areas n Can build networks that support large numbers of hosts n Can add new hosts without affecting the performance of existing hosts T3 T3 Input T1 Switch T1 Output Ports STS-1 STS-1 Ports Spring 2019 © CS 438 Staff, University of Illinois 18 Router/switch Architecture Update 12.0.0.0/8 Protocol daemon RIB 12.0.0.0/8 à IF 1 FIB 12.0.0.0/8 à IF 1 IF 1 IF 3 12.10.2.3 Data packet IF 2 IF 4 Spring 2019 Interconnection© CS 438 Staff, University network of Illinois 19 Switching and Forwarding n Forwarding ¡ The task of specifying an appropriate output port for a packet n Datagram n Virtual Circuit Switching n Source Routing ¡ Each packet contains enough information for a switch to determine the correct output port ¡ Later n Building forwarding tables – routing. Packet Header Output Port Specification Spring 2019 © CS 438 Staff, University of Illinois 20 Forwarding n Packet switching ¡ Data traffic divided into packets n Each packet contains its own header (with address) n Packets sent separately through the network ¡ Destination reconstructs the message ¡ Example: sending a letter through the postal system n Circuit switching ¡ Source first establishes a connection to the destination n Each router on the path may reserve bandwidth ¡ Source sends data over the connection n No destination address, since routers know the path ¡ Source tears down connection when done ¡ Example: making a phone call on the telephone network Spring 2019 © CS 438 Staff, University of Illinois 21 Forwarding with Datagrams Destination is E, so I should forward out E DATA interface #2 Host Host A B 0 0 0 Host 3 a 1 3 b 1 3 g 1 Host G C 2 2 2 0 Host D Host 3 d 1 Host F E Destination is E, so I should 2 Destination is E, forward out so I should interface #1 forward out Spring 2019 © CS 438 Staff, University of Illinois interface #1 22 Forwarding with Datagrams n Connectionless ¡ Each packet travels independently n Switch ¡ Translates global address to output port ¡ Maintains table of translations n Used in traditional data networks ¡ i.e., Internet Spring 2019 © CS 438 Staff, University of Illinois 23 Forwarding Table Each switch maintains as Table bs Table gs Table ds Table a forwarding table that A 0 A 3 A 3 A 0 translates a host name B 1 B 0 B 3 B 0 to an output port C 1 C 1 C 1 C 0 A B D 1 D 1 D 2 D 0 0 0 0 3 1 3 1 3 1 G a b g C E 1 E 2 E 3 E 1 2 2 2 0 F 1 F 2 F 3 F 3 3 1 D F d E G 3 G 3 G 3 G 0 2 Spring 2019 © CS 438 Staff, University of Illinois 24 Forwarding TaBle Each switch maintains as Table bs Table gs Table ds Table a forwarding table that A 0 A 3 A 3 A 0 translates a host name B 1 B 0 B 3 B 0 to an output port C 1 C 1 C 1 C 0 E DATA A B D 1 D 1 D 2 D 0 0 0 0 3 1 3 1 3 1 G a b g C E 1 E 2 E 3 E 1 2 2 2 0 F 1 F 2 F 3 F 3 3 1 D F d E G 3 G 3 G 3 G 0 2 Spring 2019 © CS 438 Staff, University of Illinois 25 Forwarding with Datagrams A ® E A B A sends: E DATA 0 0 0 3 1 3 1 3 1 G a b g C C ® F 2 2 2 C sends: F DATA 0 3 1 D F d E B ® E 2 B sends: E DATA F ® G What happens to the F sends: G DATA last packet? A ® H A sends: H DATA Spring 2019 © CS 438 Staff, University of Illinois 26 Forwarding with Datagrams n Analogous to following signs n Advantages ¡ Can send packets immediately ¡ All necessary information in packet header ¡ Can route around failures dynamically n Disadvantages ¡ Header requires full unique address ¡ Might not be possible to deliver packet ¡ Successive packets may not follow the same route ¡ Global address to path translations requires significant storage Spring 2019 © CS 438 Staff, University of Illinois 27 Forwarding n Packet switching ¡ Data traffic divided into packets n Each packet contains its own header (with address) n Packets sent separately through the network ¡ Destination reconstructs the message ¡ Example: sending a letter through the postal system n Circuit switching ¡ Source first establishes a connection to the destination n Each router on the path may reserve bandwidth ¡ Source sends data over the connection n No destination address, since routers know the path ¡ Source tears down connection when done ¡ Example: making a phone call on the telephone network Spring 2019 © CS 438 Staff, University of Illinois 28 Forwarding with Circuit Switching Data from Circuit establishment interface #3 Only for A Þ E should be sent to interface #2 Host Host A B 0 0 0 Host 3 a 1 3 b 1 3 g 1 Host G C 2 2 2 0 Host D Host 3 d 1 Host F E Data from interface #0 2 Data from should be sent to interface #0 interface #1 should be sent to Spring 2019 © CS 438 Staff, University of Illinois interface #1 29 Forwarding with Virtual Circuits n Connection oriented ¡ Requires explicit setup and teardown ¡ Packets follow established route n Why support connections in a network? ¡ Useful for service notions ¡ Important for telephony Spring 2019 © CS 438 Staff, University of Illinois 30 Virtual Circuits: The Circuit n Logical circuit between source and destination ¡ Packets from different VCs multiplex on a link ¡ Used in ATM, MPLS, Intserv Link #14 Link #7 Link #8 Spring 2019 © CS 438 Staff, University of Illinois 31 Virtual Circuits: The Circuit n Identified by Virtual Circuit Identifier (VCI) ¡ Source setup: establish path for each VC ¡ Switch: mapping VCI to outgoing link ¡ Packet: fixed-length label in packet header 1:7 1:14 2:7
Recommended publications
  • Lesson 1 Key-Terms Meanings: Internet Connectivity Principles
    Lesson 1 Key-Terms Meanings: Internet Connectivity Principles Chapter-4 L01: "Internet of Things " , Raj Kamal, 2017 1 Publs.: McGraw-Hill Education Header Words • Header words are placed as per the actions required at succeeding stages during communication from Application layer • Each header word at a layer consists of one or more header fields • The header fields specify the actions as per the protocol used Chapter-4 L01: "Internet of Things " , Raj Kamal, 2017 2 Publs.: McGraw-Hill Education Header fields • Fields specify a set of parameters encoded in a header • Parameters and their encoding as per the protocol used at that layer • For example, fourth word header field for 32-bit Source IP address in network layer using IP Chapter-4 L01: "Internet of Things " , Raj Kamal, 2017 3 Publs.: McGraw-Hill Education Protocol Header Field Example • Header field means bits in a header word placed at appropriate bit place, for example, place between bit 0 and bit 31 when a word has 32-bits. • First word fields b31-b16 for IP packet length in bytes, b15-b4 Service type and precedence and b3-b0 for IP version • Chapter-4 L01: "Internet of Things " , Raj Kamal, 2017 4 Publs.: McGraw-Hill Education IP Header • Header fields consist of parameters and their encodings which are as per the IP protocol • An internet layer protocol at a source or destination in TCP/IP suite of protocols Chapter-4 L01: "Internet of Things " , Raj Kamal, 2017 5 Publs.: McGraw-Hill Education TCP Header • Header fields consist of parameters and their encoding which are as
    [Show full text]
  • Usenet News HOWTO
    Usenet News HOWTO Shuvam Misra (usenet at starcomsoftware dot com) Revision History Revision 2.1 2002−08−20 Revised by: sm New sections on Security and Software History, lots of other small additions and cleanup Revision 2.0 2002−07−30 Revised by: sm Rewritten by new authors at Starcom Software Revision 1.4 1995−11−29 Revised by: vs Original document; authored by Vince Skahan. Usenet News HOWTO Table of Contents 1. What is the Usenet?........................................................................................................................................1 1.1. Discussion groups.............................................................................................................................1 1.2. How it works, loosely speaking........................................................................................................1 1.3. About sizes, volumes, and so on.......................................................................................................2 2. Principles of Operation...................................................................................................................................4 2.1. Newsgroups and articles...................................................................................................................4 2.2. Of readers and servers.......................................................................................................................6 2.3. Newsfeeds.........................................................................................................................................6
    [Show full text]
  • Cisco Unified Border Element H.323-To-SIP Internetworking Configuration Guide, Cisco IOS Release 12.4T Iii
    Cisco Unified Border Element H.323-to- SIP Internetworking Configuration Guide, Cisco IOS Release 12.4T Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS. THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY. The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California. NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE. IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    [Show full text]
  • Structure of IEEE 802.11 Packets at Various Physical Layers
    Appendix A: Structure of IEEE 802.11 Packets at Various Physical Layers This appendix gives a detailed description of the structure of packets in IEEE 802.11 for the different physical layers. 1. Packet Format of Frequency Hopping Spread-spectrum Physical Layer (FHSS PHY) The packet is made up of the following elements (Figure A.1): 1.1 Preamble It depends on the physical layer and includes: – Synch: a sequence of 80 bits alterning 0 and 1, used by the physical circuits to select the correct antenna (if more than one are in use), and correct offsets of frequency and synchronization. – SFD: start frame delimiter consists of a pattern of 16 bits: 0000 1100 1011 1101, used to define the beginning of the frame. 1.2 Physical Layer Convergence Protocol Header The Physical Layer Convergence Protocol (PLCP) header is always transmitted at 1 Mbps and carries some logical information used by the physical layer to decode the frame: – Length of word of PLCP PDU (PLW): representing the number of bytes in the packet, useful to the physical layer to detect correctly the end of the packet. – Flag of signalization PLCP (PSF): indicating the supported rate going from 1 to 4.5 Mbps with steps of 0.5 Mbps. Even though the standard gives the combinations of bits for PSF (see Table A.1) to support eight different rates, only the modulations for 1 and 2 Mbps have been defined. – Control error field (HEC): CRC field for error detection of 16 bits (or 32 bits). The polynomial generator used is G(x)=x16 + x12 + x5 +1.
    [Show full text]
  • Wireless Real-Time IP Services Enabled by Header Compression
    Wireless Real-time IP Services Enabled by Header Compression Krister Svanbrof, Hans Hannu f, Lars-Erik Jonsson f, Mikael Degermarkf f Ericsson Research f Dept. of CS & EE Ericsson Erisoft AB Lulei University of Technology Box 920, SE-971 28 Lulei, Sweden SE-971 87 Lulei, Sweden Abstract - The world of telecommunications is currently A major problem with voice over IP over wireless is the going through a shift of paradigm from circuit switched, large headers of the protocols used when sending speech connection oriented information transfer towards packet data over the Internet. An IPv4 packet with speech data switched, connection-less transfer. For application will have an IP header, a UDP header, and an RTP header independence and to decrease costs for transport and making a total of 20+8+12=40 octets. With IPv6, the IP switching it is attractive to go IP all the way over the air header is 40 octets for a total of 60 octets. The size of the ' interface to the end user equipment, i.e., to not terminate speech data depends on the codec, it can be 15-30 octets. the IP protocols before the air interface. A major reason to These numbers present a major reason for terminating the avoid using voice over IP over the air interface has, up to IP protocols before the air interface: the IP/UDP/RTP now, been the relatively large overhead imposed by the headers require a higher bit rate and would cause IP/UDP/RTP headers of voice packets. This paper presents inefficient use of the expensive radio spectrum.
    [Show full text]
  • How the Internet Works: Headers and Data; Packets and Routing 1
    Howthe Internet Works: Headers and Data; Packets and Routing 1. Transmitting Information through the Ages Howcan you get information from one place to another? How, for example, can you get an image from one place to another? Two hundred years ago, you would have todraw, paint, or print the image on paper or canvas, then carry, on foot, horseback, boat, or wagon, this analog version of view. One hundred years later,technology had advanced. By the early part of the 20th century,fax machines existed. With fax, you could drawthe image and send it overwires. What newscientific developments made that change possible? Here are a fewmilestones: YEAR WHATWHO WHERE 1800 Invents electric battery Allesandro Volta Italy 1820 Discovers electric current creates magnetism Hans O/rsted Denmark 1837 Invents electric telegraph Samuel Morse USA Before the battery,electricity was available from lightning and by shuffling across rugs on dry days, but that static electricity could not provide a steady,evenflow.Volta’sbattery made it possible to create a steady electrical current. Twenty years later,O/rsted discovered that a steady current of electricity produced a magnetic effect. Later,Morse connected a battery,aswitch, and a coil so that closing the switch at one end of the wire would create magnetism that would attract a piece of metal at the other end of the wire. By closing the switch for short and long durations, he was able to transmit bits a long distance. This system, the electric telegraph, made long-distance, all-weather,pri- vate communication possible. This technology led to the Internet.
    [Show full text]
  • 2045 Innosoft Obsoletes: 1521, 1522, 1590 N
    Network Working Group N. Freed Request for Comments: 2045 Innosoft Obsoletes: 1521, 1522, 1590 N. Borenstein Category: Standards Track First Virtual November 1996 Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies Status of this Memo This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards" (STD 1) for the standardization state and status of this protocol. Distribution of this memo is unlimited. Abstract STD 11, RFC 822, defines a message representation protocol specifying considerable detail about US-ASCII message headers, and leaves the message content, or message body, as flat US-ASCII text. This set of documents, collectively called the Multipurpose Internet Mail Extensions, or MIME, redefines the format of messages to allow for (1) textual message bodies in character sets other than US-ASCII, (2) an extensible set of different formats for non-textual message bodies, (3) multi-part message bodies, and (4) textual header information in character sets other than US-ASCII. These documents are based on earlier work documented in RFC 934, STD 11, and RFC 1049, but extends and revises them. Because RFC 822 said so little about message bodies, these documents are largely orthogonal to (rather than a revision of) RFC 822. This initial document specifies the various headers used to describe the structure of MIME messages. The second document, RFC 2046, defines the general structure of the MIME media typing system and defines an initial set of media types.
    [Show full text]
  • TSD Header and Footer Formal-T
    Remote Public Access Connectivity Information September 2011 Technology Services Division TABLE OF CONTENTS 1. Overview of Connectivity Options 3 Option #1 – SSL-Enabled TN3270 Option #2 – Business-to-Business Virtual Private Network (VPN) 2. SSL-Enabled TN3270 Specifications 5 3. Business-to-Business Virtual Private Network (VPN) Specifications 6 4. Glossary of Acronyms & Definitions 10 Remote Public Access Connectivity Information September 2011 Page 2 1. Overview of Connectivity Options The North Carolina Administrative Office of the Courts (AOC) has two options for the public to access the enterprise server. This document provides an overview of these options. Also, estimated costs have been provided where it is realistic to do so. Actual costs may vary. OPTION #1 – SSL-Enabled TN3270 This option is designed to provide a connection for individual workstations using an SSL- enabled TN3270 client over the Internet. It is a standards-based solution that utilizes various protocols for authentication and encryption. This option may be the most affordable choice for small businesses and individuals. Basic Customer Requirements: • An Internet connection • SSL-enabled TN3270 client software installed on each workstation requiring access NOTE: Many vendors sell SSL-enabled TN3270 client software. The approximate cost is $50 to $300 per workstation. The cost depends on which vendor you select and how many licenses you need. To find a vendor, you can google “TN3270 Emulation Software.” Many vendors also offer free 30-day trials. OPTION #2 – Business-to-Business Virtual Private Network (VPN) This option is designed for business-to-business (or site-to-site) VPN connections and is not intended to provide connections for individual workstations.
    [Show full text]
  • SMS Service Reference
    IceWarp Unified Communications SMS Service Reference Version 10.4 Printed on 16 April, 2012 Contents SMS Service 1 About .............................................................................................................................................................................. 3 Why Do I Need SMS Service? ............................................................................................................................. 3 What Hardware Will I Need? ............................................................................................................................. 3 Why Would I Want More Than One SMS Gateway? .......................................................................................... 4 GSM Service ................................................................................................................................................................... 5 Tested and Supported Products ........................................................................................................................ 5 HTTP Gateway ................................................................................................................................................................ 6 Tested Products ................................................................................................................................................. 6 Reference ......................................................................................................................................................................
    [Show full text]
  • Module 6 Internet Layer Meghanathan Dr
    Module 6 Internet Layer Meghanathan Dr. Natarajan Meghanathan Associate ProfessorCopyrights of Computer Science Jackson StateAll University, Jackson, MS 39232 E-mail: [email protected] Module Topics • 6.1 IP Header • 6.2 IP Datagram Fragmentation • 6.3 IP Datagram Forwarding • 6.4 IP Auxiliary Protocols and Meghanathan Technologies Copyrights – ARP, DHCP, ICMP, VPN, NA(P)T All • 6.5 IPv6 Natarajan Meghanathan Copyrights All Natarajan 6.1 IP Header Meghanathan Copyrights All Natarajan IP Header Format (v4) © 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. IP Header Format • VERS – Each datagram begins with a 4-bit protocol version number • H.LEN – 4-bit header length field specifies the number of 32-bit quantities in the header. The header size should be a multiple of 32. • The minimum integer value for the IP header length is 5 as the top 5 32-bit rows of the IP header are mandatory for inclusion. Hence, the minimum size of the IP header is 5 * 32-bits = 5 * 4 bytes = 20 bytes. • The maximum integer value for the IP header length (with 4 bits for the field) would be 15, necessitating the Options field to be at most 10 32- bit rows. The maximum size of theMeghanathan IP header is 15 * 32-bits = 15 * 4 bytes = 60 bytes. Copyrights • SERVICE TYPE – used to specify whether the sender prefers the datagram to be sentAll over a path that has minimum delay or maximum throughput, etc. A routerNatarajan that has multiple paths to the destination, can apply these service type preferences to select the most suitable path.
    [Show full text]
  • Ipv6 Header Format: • Traffic Class: Similar Role As TOS Field in Ipv4
    CS 422 Park IPv6 header format: versiontraffic class flow label 4 8 20 payload length next header hop limit 16 8 8 source address 128 destination address 128 • traffic class: similar role as TOS field in IPv4 • flow label: flow label + source address → per-flow traffic management → significant extra bits • next header: similar to IPv4 protocol field → plus double duty for option headers • note missing fields CS 422 Park • Dynamically assigned IP addresses → share an IP address pool → reusable → e.g., DHCP (dynamic host configuration protocol) → UDP-based client/server protocol (ports 67/68) → note: process/daemon based service → used by access ISPs, enterprises, etc. → where are the IP address savings? Old days of non-permanent dial-up modems ::: CS 422 Park • Network address translation (NAT) → dynamically assigned + address translation → private vs. public IP address → private: Internet routers discard them → e.g., 192.168.0.0 is private → 10.x.x.x are also private → useful for home networks, small businesses → also industry and university research labs CS 422 Park Example: network testbed intranet (HAAS G50) • intranet NICs have 10.0.0.0/24 addresses → each interface: a separate subnet • only one of the routers connected to Internet CS 422 Park • NAPT (NAT + port) → variant of NAT: borrow src port field as address bits Ex.: 192.168.10.10 and 192.168.10.11 both map to 128.10.27.10 but → 192.168.10.10 maps to 128.10.26.10:6001 → 192.168.10.11 maps to 128.10.26.10:6002 What about port numbers of 192.168.10.10 and 192.168.10.11? → e.g., client process
    [Show full text]
  • IP Packet Switching Reading: Sect 4.1.1 – 4.1.4, 4.3.5
    IP Packet Switching Reading: Sect 4.1.1 – 4.1.4, 4.3.5 COS 461: Computer Networks Spring 2011 Mike Freedman hp://www.cs.princeton.edu/courses/archive/spring11/cos461/ 2 Goals of Today’s Lecture • Connecvity – Circuit switching – Packet switching • IP service model – Best‐effort packet delivery – IP as the Internet’s “narrow waist” – Design philosophy of IP • IP packet structure – Fields in the IP header – Traceroute using TTL field – Source‐address spoofing 3 Recall the Internet layering model host host HTTP message HTTP HTTP TCP segment TCP TCP router router IP packet IP packet IP packet IP IP IP IP Ethernet Ethernet SONET SONET Ethernet Ethernet interface interface interface interface interface interface 4 Review: Circuit Switching ‐ Mulplexing a Link • Time‐division • Frequency‐division – Each circuit allocated – Each circuit allocated certain me slots certain frequencies time frequency time 5 Circuit Switching (e.g., Phone Network) 1. Source establishes connecon to desnaon – Node along the path store connecon info – Nodes may reserve resources for the connecon 2. Source sends data over the connecon – No desnaon address, since nodes know path 3. Source tears down connecon when done 6 Circuit Switching With Human Operator “Operator, please Telephone connect me to switch 555-1212” 7 Advantages of Circuit Switching • Guaranteed bandwidth – Predictable performance: not “best effort” • Simple abstracon – Reliable communicaon channel between hosts – No worries about lost or out‐of‐order packets • Simple forwarding – Forwarding based on me slot
    [Show full text]