Comparison between TCP/IP and OSI
Comparison between TCP/IP and OSI
v The adoption of TCP/IP does not conflict with the OSI standards because the two protocol stacks were developed concurrently.
v In some ways, TCP/IP contributed to OSI, and vice-versa.
v Several important differences do exist, though, which arise from the basic requirements of TCP/IP which are:
A common set of applications
Dynamic routing
Connectionless protocols at the networking level
Universal connectivity
Packet-switching
v The main differences between the OSI architecture and that of TCP/IP relate to the layers above the transport layer (layer 4) and those at the network layer (layer 3). OSI has both, the session layer and the presentation layer, whereas TCP/IP combines both into an application layer. The requirement for a connectionless protocol also required TCP/IP to combine OSI’s physical layer and data link layer into a network level.
Physical Layer difference
v The physical layer may be either Ethernet, SDH-DCC, or some timeslot of a PDH signal. Either OSI protocols and TCP/IP protocols build on the same physical layer standards, thus there is no difference between OSI and TCP/IP in this aspect.
Data Link Layer difference
v The purpose of the data link layer is to provide error free data transmission even on noisy links. This is achieved by framing of data and retransmission of every frame until it is acknowledged from the far end, using flow control mechanisms. Error detection is done by means of error detection codes.
v The data link layer in the OSI world makes use of the Q.921 LAPD protocol which must support an information field length of at least 512 octets according to G.784. LAPD is based on HDLC framing.
v In the internet world there is no real data link layer protocol, but the subnet protocol which has quite many similarities. The subnet protocol consists of the IMP-IMP protocol which aims to provide a reliable connection between neighbored IMPs.
v For Ethernet based networks e.g. LANs (Local Area Network), the data link protocol LLC (Logical Link Control) is equally used in OSI and TCP/IP networks.
Network Layer difference
v The network layer provides routing capabilities between source and destination system.
v OSI uses the CLNS (Connection Less Network Service) protocols ES-IS for communication of an end system to an intermediate system and IS-IS for communication between intermediate systems.
v TCP divides messages in datagram’s of up to 64k length. Each datagram consists of a header and a text part. Besides some other information, the header contains the source and the destination address of the datagram. IP routes these datagram’s through the network using e.g. the protocol OSPF (Open Shortest Path First) or RIP (Route Information Protocol) for path calculation purposes. The service provided by IP is not reliable. Datagram’s may be received in the wrong order or they may even get lost in the network.
Transport Layer difference