TCP/IP Protocol Suite and InternetworkingOverviewKey Differences From OSILayeringHierarchyTCP/IP ProtocolsInternetworking TermsPDU’s in TCP/IPOperation of TCP/IPTCP/IP ApplicationsInternet Protocol (IP)IP HeaderIP Header (Cont)Slide 14Slide 15IP AddressAddress Resolution ProtocolInternet Control Message Protocol (ICMP)Autonomous SystemsOther Networking ProtocolsNetworking Protocols (Cont)SummaryHomeworkRaj JainThe Ohio State University8-1TCP/IP Protocol Suite TCP/IP Protocol Suite and Internetworkingand InternetworkingRaj JainProfessor of CIS The Ohio State UniversityColumbus, OH [email protected] presentation is available on-line at:http://www.cse.ohio-state.edu/~jain/cis677-00/Raj JainThe Ohio State University8-2OverviewOverviewKey Philosophical Differences from OSILayering vs HierarchyProtocol architecture and interfacesInternetworking terms and servicesInternet Protocol (IP): Services, Header, Address formatRaj JainThe Ohio State University8-3Key Differences From OSIKey Differences From OSIConnectionless Service: TCP/IP is pro-connectionlessSimple ManagementHierarchy vs layeringInternetworking: Not in original OSIRaj JainThe Ohio State University8-4LayeringLayeringEach layer has to perform a set of functionsAll alternatives for a row have the same interfacesChoice at each layer is independent of other layers. Need one component of each layer Null componentsNth layer control info is passed as N-1th layer data.TP4CLNS802.5PhysicalCONS802.3LLC 1 LLC 2Same InterfacesRaj JainThe Ohio State University8-5HierarchyHierarchyCan directly use the services of a lower entity even if it is not in an adjacent layerControl and data can be separate connections. Control connections may have different reliability requirements than data.Lower layer control information can be used for higher layer control, e.g., lower layer close may close all higher layersRaj JainThe Ohio State University8-6TCP/IP ProtocolsTCP/IP ProtocolsNetwork access layer: Ethernet, Token RingInternet layer: IPHost-host layer: TCP, UDPProcess/application layer: FTP, Telnet, Mail (SMTP)Fig 15.12IPTCPBGPMIMEFTP HTTP SMTP TELNET SNMPUDPICMPRaj JainThe Ohio State University8-7IntermediateSystemFTP Telnet SMTPHost AFTP Telnet SMTPHost BSubnet2Subnet1Internetworking TermsInternetworking TermsEnd-system: HostNetwork: Provides data transfer between end-systemsInternet: A collection of networksSubnetwork: Each component of an internetIntermediate System: Connects two subnetworksPort: Application processes in the hostRaj JainThe Ohio State University8-8User DataTCP HeaderIP HeaderDatalink HeaderPDU’s in TCP/IPPDU’s in TCP/IPTCP PDU = SegmentIP PDU = DatagramDatalink PDU = FrameSegmentDatagramFrameRaj JainThe Ohio State University8-9Operation of TCP/IPOperation of TCP/IPProcess address within a host = PortHost address on a networkIP deals only with host addresses = Subnet + Host #Application messages are broken into TCP segmentsTCP Uses segment sequence number for ordering and lost segment detectionUses checksum for error detectionPasses the segment to IP for transmission Delivers the data to appropriate port in the destination hostRaj JainThe Ohio State University8-10TCP/IP ApplicationsTCP/IP ApplicationsSimple Mail Transfer Protocol (SMTP):Mail transfer between hostsMailing lists, mail forwarding, return receiptsDoes not specify how to create messagesFile transfer protocols (FTP):Transfers files between hostsProvides access control (user name and password)Binary or text files are supported.Remote login (Telnet):Initially designed for simple scroll-mode terminalsRaj JainThe Ohio State University8-11Internet Protocol (IP)Internet Protocol (IP)IP deals with only with host addressesServices:Send: User to IPDeliver: IP to UserError (optional): IP to UserRaj JainThe Ohio State University8-12IP HeaderIP HeaderVer IHLToSTotal LengthId Fragment OffsetTTLProtocolHeader ChecksumSource AddressFlagsDestination Address20B4b 4b 8b 16b3bOptions + PaddingFig 16.7Raj JainThe Ohio State University8-13IP Header (Cont)IP Header (Cont)Version (4 bits)Internet header length (4 bits): in 32-bit words. Min header is 5 words or 20 bytes.Type of service (8 bits): Reliability, precedence, delay, and throughputTotal length (16 bits): header+data in bytesIdentifier (16 bits): Helps uniquely identify the datagram during its life for a given source, destination addressRaj JainThe Ohio State University8-14IP Header (Cont)IP Header (Cont)Flags (3 bits):More flag - used for fragmentationNo-fragmentationReservedFragment offset (13 bits): In units of 8 bytesTime to live (8 bits): Specified in router hopsProtocol (8 bits): Next level protocol to receive the dataHeader checksum (16 bits): 1’s complement sum of all 16-bit words in the headerRaj JainThe Ohio State University8-15IP Header (Cont)IP Header (Cont)Source Address (32 bits)Destination Address (32 bits)Options (variable): Security, source route, record route, stream id (used for voice) for reserved resources, timestamp recordingPadding (variable): Makes header length a multiple of 4Data (variable): Data + header < 65,535 bytesRaj JainThe Ohio State University8-16IP AddressIP AddressClass A: Network Local071 24 bitsNetwork Local10142 16 bitsClass B: Network Local110213 8 bitsClass C: Local = Subnet + Host (Variable length)Router RouterSubnetHost Group (Multicast)1110284 bitsClass D:Raj JainThe Ohio State University8-17R EAddress Resolution ProtocolAddress Resolution ProtocolProblem: Given an IP address find the MAC addressSolution: Address resolution protocolThe host broadcasts a request: “What is the MAC address of 127.123.115.08?”The host whose IP address is 127.123.115.08 replies back:“The MAC address for 127.123.115.08 is 8A-5F-3C-23-45-5616”A router may act as a proxy for many IP addressesRaj JainThe Ohio State University8-18Internet Control Message Internet Control Message Protocol (ICMP)Protocol (ICMP)Required companion to IP. Provides feedback from the network.Destination unreachableTime exceededParameter problemSource quenchRedirectEchoEcho reply TimestampTimestamp replyInformation RequestInformation replyRaj JainThe Ohio State University8-19Autonomous SystemsAutonomous SystemsAn internet connected
View Full Document