DOC PREVIEW
Harvey Mudd CS 105 - Internetworking

This preview shows page 1-2-14-15-30-31 out of 31 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 31 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 31 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 31 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 31 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 31 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 31 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 31 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

InternetworkingA Client-Server TransactionComputer NetworksLowest Level: Ethernet SegmentNext Level: Bridged Ethernet SegConceptual View of LANsNext Level: internetsNotion of an internet ProtocolWhat Does an internet Protocol Do?Transferring Data via an internetOther IssuesGlobal IP InternetHardware and Software Org of an Internet ApplicationBasic Internet ComponentsThe Internet Circa 1993NSFNET Internet BackboneEnter Al GoreCurrent NAP-Based Internet ArchitectureAbstracted Internet HiearchyNetwork Access Points (NAPs)Programmer’s View of Internet1. IP (v4) AddressesDotted-Decimal Notation2. Internet Domain NamesDomain Naming System (DNS)Properties of DNS Host EntriesA Program That Queries DNSQuerying DNS from the Command Line3. Internet ConnectionsPutting it all Together: Anatomy of an Internet ConnectionNext TimeInternetworkingInternetworkingTopicsTopicsClient-server programming modelNetworksInternetworksGlobal IP InternetIP addressesDomain namesConnectionsCS 105“Tour of the Black Holes of Computing”– 2 –CS 105A Client-Server TransactionA Client-Server TransactionClientprocessServerprocess1. Client sends request2. Server handlesrequest3. Server sends response4. Client handlesresponseResource(Almost) every network application is based on client-(Almost) every network application is based on client-server model:server model:A server process and one or more client processesServer manages some resourceServer provides service by manipulating resource for clientsNote: clients and servers are processes running on hosts (can be same or different hosts)– 3 –CS 105Computer NetworksComputer NetworksA network is a hierarchical system of boxes and wires A network is a hierarchical system of boxes and wires organized by geographical proximityorganized by geographical proximityLAN (local area network) spans building or campusEthernet is most prominent example802.11 (wireless) becoming more importantWAN (wide-area network) spans country or worldTypically high-speed point-to-point copper or fiber linesAlso microwave and satellite links in some situationsAn An internetworkinternetwork ( (internetinternet) ) is an interconnected set of is an interconnected set of networksnetworksGlobal IP Internet (uppercase “I”) is most famous example of an internet (lowercase “i”)Let’s look at how to build an internet from ground upLet’s look at how to build an internet from ground up– 4 –CS 105Lowest Level: Ethernet SegmentLowest Level: Ethernet SegmentEthernet segment consists of collection of Ethernet segment consists of collection of hostshosts connected by wires (twisted pairs) to a connected by wires (twisted pairs) to a hubhub - replaces common ‘wire’, ‘bus’ - replaces common ‘wire’, ‘bus’ Spans room or floor in a buildingSpans room or floor in a buildingOperationOperationEach Ethernet adapter has unique 48-bit addressHosts send bits to any other host in chunks called framesHub slavishly copies each bit from each port to every other portEvery adapter sees every bit; choose s which frames to hand to systemAlternative: switch copies bits only to proper destination porthosthost hosthub100 Mb/s100 Mb/sports– 5 –CS 105Next Level: Bridged Ethernet SegNext Level: Bridged Ethernet SegSpans building or campusSpans building or campusBridges cleverly learn which hosts are reachable from which ports and then selectively Bridges cleverly learn which hosts are reachable from which ports and then selectively copy frames from port to port. How? Frames have source and destination addresses….copy frames from port to port. How? Frames have source and destination addresses….hosthost host host hosthub hubbridge100 Mb/s100 Mb/shosthosthub100 Mb/s 100 Mb/s1 Gb/shosthost hostbridgehosthosthubA BCXY– 6 –CS 105Conceptual View of LANsConceptual View of LANsFor simplicity, hubs, bridges, and wires are often shown as collection of hosts attached to a single wire:For simplicity, hubs, bridges, and wires are often shown as collection of hosts attached to a single wire:hosthost host...– 7 –CS 105Next Level: internetsNext Level: internetsMultiple incompatible LANs can be physically connected by specialized Multiple incompatible LANs can be physically connected by specialized computers called computers called routersroutersThe connected networks are called an The connected networks are called an internetinternethosthost hostLAN 1...hosthost hostLAN 2...router router routerWAN WANLAN 1 and LAN 2 might be completely different, totally incompatible LANs (e.g., Ethernet and ATM)– 8 –CS 105 Notion of an internet Protocol Notion of an internet ProtocolHow is it possible to send bits across incompatible How is it possible to send bits across incompatible LANs and WANs?LANs and WANs?Solution: Solution: protocol softwareprotocol software running on each host and running on each host and router smooths out differences between different router smooths out differences between different networksnetworksImplements an Implements an internet protocolinternet protocol (i.e., set of rules) that (i.e., set of rules) that governs how hosts and routers should cooperate governs how hosts and routers should cooperate when they transfer data from network to networkwhen they transfer data from network to network•TCP/IP is protocol (family) for global IP Internet– 9 –CS 105What Does an internet Protocol Do?What Does an internet Protocol Do?1. Provides naming scheme1. Provides naming schemeDefines uniform format for host addressesEach host (and router) is assigned at least one internet address that uniquely identifies it2. Provides delivery mechanism2. Provides delivery mechanismAn internet protocol defines a standard transfer unit (packet)Packet consists of header and payloadHeader: contains info such as packet size, source and destination addressesPayload: contains data bits sent from source hostEncapsulation - key to network messages– 10 –CS 105Transferring Data via an internetTransferring Data via an internetprotocolsoftwareclientLAN1adapterHost Adatadata PH FH1data PHdata PH FH2LAN1LAN2datadata PH data PH FH2(1)(2)(3)(4)(5)(6)(7)(8)internet packetLAN2 frameprotocolsoftwareLAN1adapterLAN2adapterRouterFH1data PHprotocolsoftwareserverLAN2adapterHost BFrame– 11 –CS 105Other IssuesOther IssuesWe are glossing over several important questions:We are glossing over several important


View Full Document

Harvey Mudd CS 105 - Internetworking

Documents in this Course
Processes

Processes

25 pages

Processes

Processes

27 pages

Load more
Download Internetworking
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Internetworking and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Internetworking 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?