CTE 244 Computer Networking: Engr. Usman Ishaq Karofi
CTE 244 Computer Networking: Engr. Usman Ishaq Karofi
CTE 244 Computer Networking: Engr. Usman Ishaq Karofi
The TCP/IP model is a more practical and simplified model used to understand
and design the architecture of the internet. It has four layers.
Four Layers of the TCP/IP Model
• Corresponds to the Physical and Data Link layers of the OSI model.
• Deals with the physical transmission of data.
• Examples: Ethernet, Wi-Fi.
Internet Layer:
OSI Model:
• Seven layers.
• Developed by ISO (International Organization for Standardization).
• Theoretical model.
TCP/IP Model:
• Four layers.
• Developed by the Department of Defense (DoD).
• Practical model used for actual network communications.
Key Differences
• The OSI model separates functions into more layers, which can help isolate
issues more effectively.
• The TCP/IP model combines the OSI's top three layers into one (Application
Layer), which simplifies the protocol stack used in the internet.
Advantages and Disadvantages of OSI Model
Advantages:
• Modular Approach: The OSI model is divided into seven distinct layers,
making it easier to troubleshoot and develop new protocols for specific
layers without affecting the entire stack.
• Standardization: Provides a standardized framework for different network
protocols, which aids in the interoperability of various hardware and
software.
• Layer Separation: Each layer has specific functions and services, which
promotes a clear separation of concerns and simplifies the understanding of
networking concepts.
• Flexibility: Allows different types of network hardware and software to
communicate, facilitating the development and implementation of various
network technologies.
Advantages and Disadvantages of OSI Model
Disadvantages:
• Complexity: The model's strict layering and abstract concepts can be
difficult to understand and implement, especially for beginners.
• Overhead: Some layers may introduce unnecessary overhead, making the
model less efficient in certain scenarios.
• Theoretical Model: The OSI model is more of a theoretical framework and is
not widely used in practical network implementations compared to the
TCP/IP model.
Advantages and Disadvantages of TCP/IP Model
Advantages:
• Simplicity: The TCP/IP model has only four layers, which makes it simpler to
understand and implement compared to the OSI model.
• Real-world Application: It is the foundation of the internet and widely used
in practical network implementations.
• Flexibility: Adapts well to various network types and technologies, allowing
seamless communication across diverse systems.
• Robustness: Designed to be robust and scalable, enabling it to handle large
and complex networks like the global internet.
Advantages and Disadvantages of TCP/IP Model
Disadvantages:
• Less Modular: The fewer layers can lead to a less clear separation of
concerns, making it harder to troubleshoot and isolate issues to specific
layers.
• Less Detailed: Provides fewer details and functions at each layer compared
to the OSI model, which can limit understanding of specific networking
tasks.
• Limited to TCP/IP Protocols: Designed specifically for the TCP/IP protocol
suite, which may not be as versatile for non-internet-based networking
solutions.
Summary Table:
Suggested Reading:
• "Computer Networking: A Top-Down Approach" by James F. Kurose and
Keith W. Ross
• "TCP/IP Illustrated, Volume 1: The Protocols" by W. Richard Stevens
Assignment:
• Write a comparison between the OSI and TCP/IP models, highlighting their
advantages and disadvantages.
• Create a diagram that maps the layers of the OSI model to the
corresponding layers in the TCP/IP model.