Contents of this article
In this article I describe about TCP/IP Suite model basic concepts in computer network for CCNA exam. TCP/IP Suite model basic concepts in computer network followed by Cisco manufacturer to provide the compatibility among the various hardware of Cisco. There are many manufacturer of computer machine in the market. Initially when computers became single user public computer. The computers communicate with only same brand machines. It happens because there was no any fix standard for data transfer between different devices. It is very difficult to make communication with each other when the hardware are of different brands or company. In this article I describe the OSI reference layer architecture before going to TCP/IP Suite model basic concepts in networking.
OSI reference model in computer network followed by various vendors to overcome the compatibility problem. After implementation of OSI reference model in computer network, equality maintains by all manufacturer. In 1970 the Open Systems Interconnection (OSI) reference model was created by the International Organization for Standardization (ISO). The OSI model was meant to create inter-operable network with different manufactured devices. In this article I describe all layered approach of TCP/IP Suite model basic concepts in computer network. Before understanding the TCP/IP Suite model basic concepts it is necessary to know about the 7 layers of OSI reference model because the basic work of each layer is described in the OSI reference model. So in this article I describe both the OSI model and TCP/IP Suite model basic concepts in detail.
Importance of OSI reference model in computer network
Not only hardware, software also not supported for work the different computer brand. It became very difficult for all computer users to working without implementation of OSI reference model in computer network. It is necessary then to make some common protocols for all vendors of computer. Before implementation of OSI reference model in computer network, all vendors implements their own protocols on computer hardware and software.
In networking OSI reference model became helpful. OSI reference model describes the flow of data between nodes in any network. Data from one computer application to another computer application transfer by following some common protocols. The OSI reference layer also become beneficial for troubleshooting the network problems. TCP/IP and Cisco three layered hierarchical model of Cisco became more helpful alongside the OSI reference model.
The Layered Approach in computer network.
The Layered approach was the best way to make equality for all computer devices. Layers are not physical but following some protocols. Protocols are for connectivity, connections, data transfer and more. All manufacturer begin to follow the layered approach for OSI reference model in computer network. The OSI reference model change in TCP/IP reference model and later on Cisco three layered hierarchical model. OSI layer architecture have 7 layers. TCP/IP reference model convert these 7 layers into only four layers. After that Cisco three layered hierarchical model converts these 7 layers into three layers. Some layers combined to work in a single layer.
OSI reference model in computer network in detail
OSI is acronym for open system interconnection. The OSI is a logical reference OSI reference model in computer network. OSI model helps for data flow between different devices and operating systems. All manufacturer used their own architecture before invention of OSI reference model. It was very difficult to establish data communication between different devices. To overcome this problem international organization for standardization (ISO) created the open systems interconnection (OSI) reference model. OSI reference model make data flow possible between different operating system, devices and hardware. Later the OSI model adopted by Cisco as Cisco three layered hierarchical model.
Structure of OSI reference model in computer network
OSI reference model in computer network consist of 7 layers. These 7 layers further divided into two groups. First 3 layers works for application communication and remaining 4 layers works for data flow. Application, presentation and session layers define the application communication. Transport, network, data link and physical layers define the data flow. Networking protocols works only on last four layers.
Layers of OSI reference model in computer network
Below image shows the seven layers of OSI reference model. Transmit and receive side shown in diagram.
Let’s take an example of email sending and receiving. There are two users for email flow on internet. A sender composes and send mail at application layer. At transmit side data flow from application to physical layer. Physical media carry the data for receiver. At receiver end data flow from physical to application layer. At application layer receiver got the email. During this process a lots of protocol functions. In above diagram some protocols example shown at various layers.
The application layer in OSI reference model in computer network
Application layer provides interface to user for working on a computer. Take an example of outlook emailing application. What a user can see on the computer screen is the application layer functionality. Application layer also interact with the presentation layer. Some examples of application layer are internet browsing, email, file transfers, work on remote computer, printing etc. Standalone software or application like notepad doesn’t lie in OSI reference model. The main function of application layer is to provide an interface to user for Working on computer. Some common protocols work on application layer are DNS, HTTP, HTTPS, FTP, POP3 etc.
The presentation layer in OSI reference model in computer network
Presentation layer works as a translator for data. Presentation layer translate the data in prescribed format for user. At sender computer presentation layer translate the data received from application layer. This translated data forwarded to session layer. At receiver computer reverse process done at presentation layer. The best example of translation in converting the ASCII code into EBCDIC code.
Presentation layer also responsible for data compression in OSI reference model in computer network, encryption and decryption etc. suppose a user is watching online video. The data translated to required video format. Similarly, for image data converted to required format like jpeg, tiff etc. Presentation layer integrate all formats of data into a standard format. The presentation layer translates data of application layer to network format the presentation layer is responsible for the following:
- Data encryption/decryption
- Character/string conversion
- Data compression
- Graphic handling
The session layer in OSI reference model in computer network
Function of session layer is to manage and maintain session between client to client. Session layer make and close the session between two end devices. PPTP, SQL are protocols used by session layer. Some common functions for session layer are dialog control, Token management, synchronization. This layer maintain session in the form or simplex, half-duplex and full duplex. Simplex transmission is one side transmission. Half-duplex is both side transmission but one side at a time. Full duplex is both side transmission in real time like telephone.
The transport layer in OSI reference model in computer network
TCP and UDP protocols are integral to transport layer in OSI in computer network. Transport layer create segments of the data stream received from presentation later at transmission stage. At receiver stage transport layer assemble the segments and send the data stream to presentation layer. Transport layer establish a logical connection between the end equipment on an internetwork. The Transport layer is responsible for multiplexing upper layer applications, create sessions, sequencing data, acknowledgments etc.
Transport layer works on connection oriented communication. It is reliable for data transmission. In connection oriented communication first step is handshake. After handshaking data transfer starts until the complete data transferred. If data transferring using TCP protocol, then acknowledgment of complete data transfer is must. In case complete data not transferred same data re-transmit again. Data flow depends on speed of the network. During transfer the data congestion can occur. To overcome data congestion flow control term used. Flow control ensure data integrity at transport layer. Data overflowing and buffers prevented by flow control.
Connection oriented communication uses sequencing, acknowledgements, flow control, congestion control and windowing. When a device send data and doesn’t need acknowledgement, it is called windowing. Online video uses windowing. Window size defined when the acknowledgement required. Suppose you set the window size 2. For window size 2 transmitting computer will check acknowledgement after every 2 segments transmitted. Minimum the windowing size increase the congestion because acknowledgment required more.
The network layer in OSI reference model in computer network
Network layer commonly known as layer 3. Network layer works on IP address system. OSI reference is fully depends on network layer. Segments received from transport layer breaks in packets and forwarded to data link layer. Similarly, packets reassembled received from data link layer and forwarded to transport layer. Routers are layer 3 devices. Router configured at layer 3 for OSI reference between different LANs.
IP, IPv6, IPX, RIP protocols functions on layer 3 or network layer. Protocols used for data traffic at layer 3 are called routed protocol. Whereas protocols used to keep update the routing table of neighboring router are called routing protocol.
Suppose a packet received on a router interface. Router will check the destination address on this packet. Router check it’s IP address in routing table and forward it to related exit interface. If router doesn’t have the destination address in its routing table, then router will drop the packet. There are Route update packets used to keep update the neighboring router. Router maintain individual routing protocol for each protocol.
Router doesn’t send any broadcast or multicast packet itself. The Router use a logical address in a network layer header to forward a packet. Access list used by router to keep control security. Routers provide connections between virtual LAN.
The data link layer in OSI reference model in computer network
Data link layer works on frame in a OSI in computer network. Packets received from network layer breaks into frame at data link layer during transmission of data. Frame constructed the packets and forwarded to network layer during receive data. some protocols used at data link layer are FDDI, PPP etc. data link layer also convert the frame into bits and send to physical layer and vice versa. Every frame adds a header which contains the destination and source address. Data link layer use the MAC address or source and destination. It never uses the IP addressing system.
IEEE standards divide the data link layer into two parts. One is Media Access Control (MAC) and other one is Logical Link Control (LLC).
Media Access Control MAC defines to place the packet on the media. Its basic principal is first come first serve. Synchronization, error notification, delivery of frames and flow control also used at MAC. Logical link control (LLC) identifies the network layer protocols.
LLC header define the task of data link layer for a packet. Switch and bridge works on data link layer. Latency is the time measured from when a frame enters a port to when it exits a port. Switch maintain a MAC address table to transfer a packet to its destination. Layer 2 devices works on frame only. These devices forward frames only.
When a switch received a frame, it will check the header of frame for MAC. Switch check its mac address table for destination MAC address. If MAC address found, then switch forward the frame to destination. If MAC address not found switch broadcast the frame to each port. On receiving reply from any port switch will update its MAC address table accordingly.
The physical layer in OSI reference model in computer network
Physical layer transmits and receive bits. Bits are only two value. At physical layer it may be 0 and +5v. We can say them as high and low volts. Physical layer connect links between the end devices. Link may be electrical, optical, DSL, WiFi etc. Hubs are layer 1 device which works on physical layer. The Hubs are simple repeater.
Hubs receive amplify and transmit the bits to all ports. Physical layer also defines the network topology. Every network has both physical and logical typologies. Logical topology is the path of data via which the data flow over the physical topology.
TCP/IP Suite model basic concepts in computer networking
TCP/IP is acronym for Transmission Control Protocol/Internet Protocol (TCP/IP suite model). In this section of the article I describe about TCP/IP suite model basic concepts in detail. TCP/IP suite model is a reference model like OSI layers. Instead of 7 layer of OSI reference model. TCP/IP suite model consist only four layer. All seven layers are merged into four layers only. TCP/IP suite model was designed and implemented by Department of Defence (DoD). TCP/IP developed to preserve data integrity. The main purpose to develop the TCP/IP is to provide security in the network. A lots of protocols works on each layer to provide a secure network.
It is necessary to understood the protocols used in TCP/IP Suite model basic concepts. IP addressing play an important role in TCP/IP Suite model basic concepts. By using the IP address and subnet masking broadcast domain breaks. It will improve the performance of the network. Breaking broadcast domain increase the data flow speed. Here IP stands for IPV4 only. We ignore the IPV6 for some time in this article. It will make it easy to understand the TCP/IP Suite model basic concepts.
History : TCP/IP Suite model basic concepts
In the decade of 1970’s TCP/IP suite model developed by DoD. In the initial stage TCP/IP suite model divided into two segments TCP and IP. Later its name registered with combined name of TCP and IP like TCP/IP model. ARPA, the Advanced Research Projects Agency of DoD officially authorised to use TCP/IP suite model. TCP/IP model was working well so it was adopted by many organisations. In today scenario it is mostly using reference model for networking. Internet is the best example of using TCP/IP.
Layers : TCP/IP Suite model basic concepts
There are four layers in DoD model. As shown in above image. Top 3 layers of OSI combined and create the Process/Application layer. Transport layer remain Transport layer. Network layer become internet layer and last two layer combined and called link layer. You can see both model are similar in concept.
Process or Application layer of DoD model in TCP/IP Suite model basic concepts
This is the first layer of TCP/IP of DoD model. It is combination of top three layers of OSI reference model. The functions of Application layer, presentation layer and session layer in OSI model works in single layer process layer. This layer supports the point to point communication and controls the user interface. The data encryption and decryption also done at this layer. Example of some protocols functions at this layer are Telnet, FTP, LPD, TFTP, SMTP.
Transport layer of DoD model in TCP/IP Suite model basic concepts
Transport layer of TCP/IP is same as the Transport layer of OSI reference model. It supports the TCP and UDP protocol. This protocol converts the main data segment into packets and transport to the internet layer. The responsibility of Transport layer is to combine the segments and built the data. The data should be reconstruct in its real form. Transport layer is also responsible for creating end-to-end communication between sender and receiver. This layer ensure the delivery of segment in sequence at the receiving device. This property maintains the data integrity.
Internet layer of DoD model in TCP/IP Suite model basic concepts
Internet layer of TCP/IP is similar to the network layer of OSI reference model. Routing protocols functions on Internet layer of TCP/IP model. Addressing and filtering of packets is main responsibility of Internet layer of TCP/IP model. This layer provides the transmission of packet in the whole network. Some example of protocols functions on internet layer are ICMP, ARP and IP.
Link layer of DoD model in TCP/IP Suite model basic concepts
Link layer is the least layer of TCP/IP. Basically link layer is combination of data link and physical layer of OSI reference model. Link layer is also known as Network Access layer. It works on MAC address based data transmission. Link layer handles the frame and bits. It receive the bits and constructs frame from merging bits in a sequence. In case of any bit is missing this layer request to re transmit the bits. Ethernet, FDDI, WAP etc functions on this layer. There is no any preset specification for link layer. Link layer functions on any type of existing media.
In this article I describes the TCP/IP suite model basic concepts in computer network for CCNA exam. The layered approach reference also described in details. I hope you found this article helpful. For any query or suggestion you may drop a comment below or contact us. Your suggestions are always welcome by us.