1 / 9

Internetworking

Internetworking. Outline Internet Architecture Best Effort Service Model. Layering revisited (cause it’s real important). Recall pros and cons of packet switched networks Pros: High utilization, low startup overhead Cons: No guarantees on delay and loss

Télécharger la présentation

Internetworking

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Internetworking Outline Internet Architecture Best Effort Service Model CS 640

  2. Layering revisited (cause it’s real important) • Recall pros and cons of packet switched networks • Pros: High utilization, low startup overhead • Cons: No guarantees on delay and loss • But files are transmitted without “holes”? • Reliable transfer is a function of a specific protocol layer (TCP) • Distinct functions are separated into layers • lower layers as black boxes (like C library) • Layering simplifies description of functions and enables interoperability in heterogeneous environment CS 640

  3. ISO Architecture End host End host Application Application Presentation Presentation Session Session Transport Transport Network Network Network Network Data link Data link Data link Data link Physical Physical Physical Physical One or more nodes within the network CS 640

  4. Internet Architecture • Defined by Internet Engineering Task Force (IETF) • Application: interacts with user to initiate data transfers (browser, media player, command line) • Transport: reliable, in-order delivery of data (TCP and UDP) • Network: addressing and routing (IP) • Data Link: defines how hosts access physical media (Ethernet) • Physical: defines how bits are represented on wire (Manchester) • Information is passed between layers via encapsulation • Header information is attached to data passed down layers • Multiplexing between layers • Layers access other layers via API’s (eg. sockets) • Communication at a specific layer is enabled by a protocol CS 640

  5. FTP HTTP NV TFTP UDP TCP IP … NET NET NET 2 1 n Hourglass Design • Single protocol at network level insures packets will get from source to destination while allowing for flexibility CS 640

  6. Network 1 (Ethernet) H7 R3 H8 H1 H8 H2 H1 H3 TCP TCP Network 4 R1 R2 R3 (point-to-point) Network 2 (Ethernet) R1 IP IP IP IP IP R2 FDDI PPP ETH ETH ETH FDDI PPP ETH H4 Network 3 (FDDI) H5 H6 IP Internet • Concatenation of Networks • Protocol Stack CS 640

  7. 0 4 8 16 19 31 TOS Length V ersion HLen Ident Flags Offset TTL Protocol Checksum SourceAddr DestinationAddr Pad Options (variable) (variable) Data IP Service Model • Connectionless (datagram/packet-based) • Best-effort delivery (unreliable service) • packets are lost • packets are delivered out of order • duplicate copies of a packet are delivered • packets can be delayed for a long time • Datagram format CS 640

  8. Datagram Forwarding • Strategy • every datagram contains destination’s address • if directly connected to destination network, then forward to host • if not directly connected to destination network, then forward to some router • forwarding table maps network number into next hop • each host has a default router • each router maintains a forwarding table • Example Network Number Next Hop 1 R3 2 R1 3 interface 1 4 interface 0 CS 640

  9. Forwarding Tables • Suppose there are n possible destinations, how many bits are needed to represent addresses in a routing table? • log2n • So, we need to store and search n * log2n bits in routing tables? • We’re smarter than that! CS 640

More Related