OSI vs TCPIP Compare the protocol layers of

  • Slides: 13
Download presentation
OSI vs. TCP/IP ----- Compare the protocol layers of the OSI and TCP/IP Model

OSI vs. TCP/IP ----- Compare the protocol layers of the OSI and TCP/IP Model n n n COSC 513 Operation Systems Professor: Anvari Name: Chang-Kui Ding SID: 105225 Fall, 2000 1

Introduction n n Open System Interconnection Model (OSI) Transport Control Protocol/Internet Protocol (TCP/IP) 2

Introduction n n Open System Interconnection Model (OSI) Transport Control Protocol/Internet Protocol (TCP/IP) 2

ISO OSI Model • n n n Developed by the International Organization for Standardization

ISO OSI Model • n n n Developed by the International Organization for Standardization (ISO), consists of seven layers, and protocols are developed to perform the functions at each layer Physical/Data Link layer networks: Ethernet, Token Ring, ATM Network layer net: The Internet Transport layer net: TCP-based network Presentation/Session layer net: http/html, RPC, PVM, MPI Applications, e. g. , WWW, window system, numerical algorithm 3

Data link / Physical vs. Subnet (1) n n The Data Link Layer transforms

Data link / Physical vs. Subnet (1) n n The Data Link Layer transforms a stream of raw bits (0 s and 1 s) from the physical into a data frame The typical role of the physical layer is to transform bits in a computer system into electromagnetic (or equivalent) signals for a particular transmission medium (wire, fiber, ether, etc. ) 4

Data link / Physical vs. Subnet (2) n n n These 2 layers of

Data link / Physical vs. Subnet (2) n n n These 2 layers of the OSI correspond directly to the subnet layer of the TCP/IP model. Majority of the time, TCP/IP model does nothing, it will vary from host to host and network to network Since these two layers deal with functions that are so inherently specific to each individual networking technology, the layering principle of grouping them together related functions is largely irrelevant. 5

Network vs. Internet n n n OSI: connectionless and connectionoriented services; TCP/IP: connectionless. Connectionless

Network vs. Internet n n n OSI: connectionless and connectionoriented services; TCP/IP: connectionless. Connectionless Network Service Internetworking Protocols Internet (IP) Addresses OSI Network Layer Addressing 6

OSI Transport Layer n n n It takes the information into individual packets Provide

OSI Transport Layer n n n It takes the information into individual packets Provide a signaling service for the remote node Transport protocols mark packets with sequencing information To acknowledge the receipt of a packet Provide multiple application processes to access the network by using individual local addresses to determine the destination process for each data stream 7

TCP/IP Transport Layer n n n Defines two standard transport protocols: TCP and UDP:

TCP/IP Transport Layer n n n Defines two standard transport protocols: TCP and UDP: Primary difference is that UDP does not necessarily provide reliable data transmission TCP is responsible for data recovery n by providing a sequence number with each packet that it sends TCP requires ACK (acknowledgement) to ensure correct data is received Packet can be retransmitted if error detected 8

OSI vs. TCP/IP at Transport Layer n n The features of UDP and TCP

OSI vs. TCP/IP at Transport Layer n n The features of UDP and TCP defined at TCP/IP Transport Layer correspond to many of the requirements of the OSI Transport Layer--the session layer of OSI The TCP/IP and OSI architecture models both employ all connection and connectionless models at transport layer. However, the internet architecture refers to the two models in TCP/IP as simply “connections” and datagrams. 9

The Upper Layers n n n Session Layer: In TCP/IP, its characteristics are provided

The Upper Layers n n n Session Layer: In TCP/IP, its characteristics are provided by the TCP protocol (Transport Layer) Presentation Layer: In TCP/IP, this function is provided by the Application Layer: OSI-- FTAM, VT, MHS, DS, CMIP TCP/IP-- FTP, SMTP, TELNET, DNS, SNMP 10

Advantages of OSI (1) n n n OSI model places emphasis on providing a

Advantages of OSI (1) n n n OSI model places emphasis on providing a reliable data transfer service, while the TCP/IP model treats reliability as an end-to-end problem. Each layer of the OSI model detects and handles errors. In the TCP/IP model, reliability control is concentrated at the transport layer. Hosts on OSI implementations do not handle network operations (simple terminal), but TCP/IP hosts participate in most network protocols. 11

Advantages of OSI (2) n n n OSI: standard legislated by official recognized body.

Advantages of OSI (2) n n n OSI: standard legislated by official recognized body. (ISO) and the OSI reference model was devised before the protocols were invented. The protocols came first, and the model was really just a description of the existing protocols. “Get the job done" orientation. Being general, the protocols in the OSI model are better hidden than in the TCP/IP model and can be replaced relatively easily as the technology changes. 12

Widespread use of TCP/IP n n n When businesses began to recognize the need

Widespread use of TCP/IP n n n When businesses began to recognize the need for interoperability, only TCP/IP was available and ready to go Over the years it has handled most challenges by growing to meet the needs Relatively simple and robust compared to alternatives such as OSI (7 layers) 13