Networks and TCP/IPTCP/IPPart OnePhysical Network TechnologiesNetwork Types by ScopeLayered ModelOSI – Open Systems InterconnectData EncapsulationSidebar - WarningOSI – Layer 1: PhysicalSlide 11OSI – Layer 2: Data LinkOSI – Layer 3: Network LayerOSI – Layer 4: Transport LayerOSI – Layer 5: Session LayerOSI – Layer 6: Presentation LayerOSI – Layer 7: Application LayerOSI – What’s it all Mean?Part TwoSidebar: MAC addressesSlide 21InternetSlide 23Internet vs. World Wide Web (WWW)IPIP – Internet ProtocolSidebar: How big is 3.4 x 1038?Slide 28Slide 29Telephone Area Code AnalogyArea CodeHierarchySlide 33How to divide up addresses for the Range of address Requirements?ClassesIP ClassesSlide 37Class AClass BClass CClass DClass ESubnetworksSubnetsSubnet MasksSlide 46NotesShorthand notationNetworks and TCP/IPPart 1TCP/IPTypically used as a single entityBUT really is…Two separate complementary protocols:TCPTransmission Control ProtocolIPInternet ProtocolPart OneNetworks in GeneralPhysical Network TechnologiesCircuit Switched NetworkConnection orientedEstablish a solid connection before communicationCircuit line reserved during whole communicationExample: Telephone networkPacket Switched NetworkStore forward networkPacket(s) sent from node to nodeIntermediate nodes store and then pass to next nodeCircuits only established to pass packet to next nodeExamples: post office, internetNetwork Types by ScopeWANWide Area Networks Large region or Continental spanTypically heterogeneous and lower speedMANMetro-area networkRegional (city wide)LANLocal area networkLimited scopeSingle building or a small campusMore typically homogeneous and high speedLayered ModelOSI ModelOSI – Open Systems InterconnectOSI ModelOpen Systems Interconnection7 layers to define communicationsWe need only be concerned with the first 4 or 5 layers at the infrastructure levelData EncapsulationSidebar - WarningThe OSI and TCP/IP models do not have 1-1 mappingsA layer in OSI may be defined by 1, 2 or 3 different TCP/IP layers/definitionsOSI – Layer 1: PhysicalHardware interconnectionCablesElectronic InterfacesReal live siliconOSI – Layer 1: PhysicalExamplesIEEE 802.5Token Ring hardware specsRS-232c“Traditional” Serial LinkIEEE-488GPIB or HPIBInstrumentation BusIEEE-1394FireWireIEEE-1284Parallel interface“Centronics”IEEE 802.3Most Common: 10/100/1000 Base T (for Ethernet)Many variants (copper, fiber, etc.)10Base2 (Coax)10Base-T100Base-T1000Base-T1000Base-X (fiber)10GBase-TOSI – Layer 2: Data LinkLocal Network AddressingBasics of getting data from one point to anotherExamplesEthernet (802.3y, 802.3z, etc.)Token Ring (802.5)ATM (Asynchronous Transfer Mode)OSI – Layer 3: Network LayerInter-networkExamplesIPIPXNovell networksAppleTalkOSI – Layer 4: Transport LayerService IdentificationExamplesTCPUDPSPXAppleTalkOSI – Layer 5: Session LayerCommunications between computersMaintains communications between applications on the computersOSI – Layer 6: Presentation Layer Standard interfaceData manipulation if needEncoding/DecodingEBCIC ASCIISerializing ObjectsLoading / Unloading data structure into XMLOSI – Layer 7: Application LayerInterfaces directly to the applicationOSI – What’s it all Mean?Sending ApplicationSends the data down the layers on its side where it finally gets sent over the physical mediaReceiving ApplicationPhysical media receives the data and sends the data back up the layers to the receiving applicationPart Two Internet and TCP/IPSidebar: MAC addressesEvery addressable network card has a unique address48 bits long281,474,976,710,656 addresses!64 bit standard has been defined48 bit addresses will run out about 2100!Divided into 2 parts:Organization Unique Identifier (OUI) partThink of this as the manufacturer idNetwork Interface Controller (NIC) partSidebar: MAC addressesWhy not use MAC for all communication?What if network card fails and gets replaced?What if network card gets upgraded?Token ring EthernetEthernet 10mb/s Ethernet 100mb/sEthernet ????What if computer gets replaced?Don’t want to update all the old card references with the new card addressInternetWhat is it?InternetFrom Wikipedia:The Internet is a worldwide, publicly accessible network of interconnected computer networks that transmit data by packet switching using the standard Internet Protocol (IP). It is a "network of networks" that consists of millions of smaller domestic, academic, business, and government networks, which together carry various information and services, such as electronic mail, online chat, file transfer, and the interlinked Web pages and other documents of the World Wide Web.Internet vs. World Wide Web (WWW)The WWW is not the InternetThe Internet is not the WWWWWW is a part of the InternetInternet services consists of:WWWeMailFTPVoIPEtc.IPInternet ProtocolIP – Internet ProtocolStandard for how computers on networks are addressedIPv4Current standard4 bytes 32-bit numbers~4 billion potential addressRunning out of address spaceIPv6Front runner for next standardRollout has begun!128-bit numbers~3.4 x 1038 potential addressesSidebar: How big is 3.4 x 1038?Course sand: ~1mm (10-3 meter)1 cubic meter of sand has:1000 x 1000 x 1000 grains109 grains (1 billion!)1 cubic kilometer has:(109)3 or 1027 grains!So 3.4 x 1038 grain would fill3.4 x 1011 cubic kilometers!Volume of the Earth:1.0832×1021Nm3 or about 1x1012 km3Fill about 1/3 Earth!Sidebar: How big is 3.4 x 1038?Another viewAbout 100 billion stars in a galaxy (1011)About 100 billion galaxies 1022 stars in the universe!Enough address for the all the stars in 1016 universes10,000,000,000,000,000-or-10 quadrillion!Sidebar: How big is 3.4 x 1038?And now the bad news:Approximations vary, but best guess are there are about 1 x 1079 atoms in the universeIPv6 can’t give each atom it’s own unique IP address Telephone Area Code AnalogyEvery telephone has a four part numberCountry codeUnited States – 1UK – 44Ireland - 353Area
View Full Document