Cyber Security  ·  Level 6
Perform Computer Networking
Chapter 3: Network Protocols and Standards
📚 2 Topics
⚑ What you will be able to do

By the end of this chapter, you will be able to:

  • Explain why network standards like IEEE, ISO, IETF, ITU, and ANSI are important for making different devices work well together.
  • Describe the differences between proprietary and open standards, and give examples of each.
  • Understand and explain the layers of the OSI and TCP/IP models and how they help data move across networks.
  • Choose the right network protocols for different situations and client needs.
  • Recognize why following networking standards is key to building reliable, scalable, and secure networks.

Mastering these skills will help you build strong, efficient networks that keep businesses connected and running smoothly.

3.1 Communication Protocols

Communication protocols are formal rules that govern the exchange of data between devices in a network. In the Kenyan cyber security context, protocols ensure interoperability, data integrity, confidentiality, and availability across heterogeneous systems used by institutions such as NHIF, county governments, and universities. Protocols operate at different layers, each responsible for specific functions that collectively enable seamless communication.

3.1.1 OSI Model

The Open Systems Interconnection (OSI) model is a conceptual framework that standardizes the functions of a telecommunication or computing system into seven abstraction layers. This model is vital for cyber security professionals in Kenya to diagnose network issues, design secure communication channels, and enforce security controls at appropriate layers.

Purpose of the OSI Model

The OSI model provides a universal set of standards that enable diverse communication systems to interconnect and communicate effectively. It helps professionals understand how data flows from physical media to application processes, facilitating troubleshooting and security enforcement.

Key Functions of the OSI Model

  • Standardization of Network Functions: The OSI model defines specific functions at each layer, allowing different vendors’ hardware and software to interoperate seamlessly.
  • Modular Approach: By segmenting communication processes into layers, the model allows network engineers to isolate and address faults or security vulnerabilities systematically.
  • Protocol Independence: Each layer operates independently, meaning protocols can be developed or replaced at one layer without affecting others.
  • Facilitation of Communication: The OSI model guides the encapsulation and decapsulation processes that prepare data for transmission and reception.
  • Framework for Security Measures: Security controls such as encryption, authentication, and access control can be applied at relevant layers to protect data integrity and confidentiality.

Layers of the OSI Model

The OSI model divides network communication into seven layers, each with distinct responsibilities. Cyber security professionals must understand these layers to implement appropriate security controls and diagnose vulnerabilities at each stage.

Layers and Their Roles

  • Physical Layer: Handles the transmission of raw bitstreams over physical media such as cables and wireless signals. Security concerns include physical access control and electromagnetic interference.
  • Data Link Layer: Responsible for node-to-node data transfer and error detection. It manages MAC addressing and can implement security measures like VLAN segmentation.
  • Network Layer: Manages logical addressing and routing of data packets between devices across multiple networks. IP filtering and firewall rules operate at this layer.
  • Transport Layer: Ensures reliable data transfer through error recovery and flow control mechanisms. Protocols like TCP provide connection-oriented services, critical for secure session management.
  • Session Layer: Establishes, manages, and terminates communication sessions between applications. It supports synchronization and checkpointing to maintain session integrity.
  • Presentation Layer: Translates data formats, handles encryption and decryption, and data compression. This layer is essential for securing data representation.
  • Application Layer: Provides network services directly to end-users or applications, such as email, file transfer, and web browsing. Security protocols like HTTPS and SMTP operate here.

Significance of the OSI Model in Cyber Security

Cyber security professionals leverage the OSI model to pinpoint where attacks may occur and apply layered defense mechanisms. For instance, in a banking environment like Equity Bank, encryption applied at the presentation layer protects sensitive customer data, while firewalls at the network layer prevent unauthorized access.

Challenges in Applying the OSI Model and Strategies to Address Them

While the OSI model offers a comprehensive framework, practical implementation faces challenges such as protocol overlap and complexity in modern networks.

Challenges
  • Protocol Layer Overlap: Some protocols span multiple OSI layers, complicating security enforcement.
  • Legacy Systems: Older systems may not fully comply with OSI standards, creating vulnerabilities.
  • Dynamic Network Environments: Cloud and mobile computing introduce complexities not fully addressed by the OSI model.
  • Resource Constraints: Applying security controls at every layer can be resource-intensive.
  • Lack of Awareness: Inadequate training among staff may lead to improper use of the model.
Strategies to Address Challenges
  • Continuous Training: Regular capacity-building for cyber security teams on OSI model applications.
  • Layered Security Approach: Implement defense-in-depth by applying complementary security controls across layers.
  • Use of Updated Protocols: Transition to modern protocols designed with security in mind.
  • Integration with Other Models: Combine OSI with TCP/IP and other frameworks for holistic security.
  • Regular Audits and Assessments: Evaluate network adherence to OSI principles and identify gaps.

3.1.2 TCP/IP Reference Model

The Transmission Control Protocol/Internet Protocol (TCP/IP) model is the foundational suite of protocols that underpin the Internet and most modern networks. For cyber security professionals in Kenya, understanding TCP/IP is essential for securing data transmission, managing network devices, and responding to incidents involving network protocols.

Overview and Structure of the TCP/IP Model

The TCP/IP model simplifies networking into four layers, mapping loosely to the OSI model but optimized for the Internet’s architecture. It is widely used in Kenyan institutions such as universities and county government networks to facilitate communication and data exchange.

Layers of the TCP/IP Model

  • Network Interface Layer: Combines physical and data link layer functions, managing hardware addressing and media access control.
  • Internet Layer: Responsible for logical addressing and routing through IP, enabling data packets to traverse diverse networks.
  • Transport Layer: Provides end-to-end communication services, primarily through TCP for reliable connections and UDP for faster, connectionless transmissions.
  • Application Layer: Encompasses protocols that provide specific services to user applications, such as HTTP, FTP, SMTP, and DNS.

Role of TCP/IP Protocols in Network Security

TCP/IP protocols facilitate communication but also present vulnerabilities that cyber security professionals must mitigate. For example, in a hospital setting like Kenyatta National Hospital, securing TCP/IP traffic ensures patient data privacy and prevents unauthorized access.

Security Aspects of TCP/IP Protocols

  • TCP Handshake Security: The three-way handshake in TCP can be exploited in SYN flood attacks; mitigation involves rate limiting and firewalls.
  • IP Spoofing Prevention: Techniques such as ingress filtering help prevent attackers from disguising their IP addresses.
  • Use of Secure Protocols: Replacing unsecured protocols with their secure versions (e.g., HTTPS instead of HTTP) protects data in transit.
  • Packet Filtering: Firewalls and intrusion detection systems analyze TCP/IP packets to block malicious traffic.

  • Network Address Translation (NAT): Conceals internal IP addresses, adding a layer of security for internal networks.

Comparison between OSI and TCP/IP Models

Understanding the differences and similarities between the OSI and TCP/IP models helps cyber security professionals select appropriate frameworks for network design and defense.

Aspect OSI Model TCP/IP Model
Number of Layers Seven Four
Layering Approach Strict, with defined functions More flexible and practical
Development Purpose Theoretical framework Protocol suite for internet
Protocol Dependence Protocol-independent Protocol-specific
Usage in Practice Educational and troubleshooting Widely implemented in networks

Implementation Challenges and Best Practices for TCP/IP Networks

TCP/IP networks face challenges such as protocol vulnerabilities and configuration complexities that require diligent management.

Challenges
  • Protocol Vulnerabilities: TCP/IP protocols like FTP and Telnet are inherently insecure.
  • Complex Configuration: Misconfigured TCP/IP settings can expose networks to attacks.
  • Scalability Issues: Large networks require careful IP addressing and routing strategies.
  • Interoperability Problems: Diverse devices may implement protocols differently.
  • Monitoring Difficulties: High traffic volumes complicate anomaly detection.
Best Practices
  • Use of Encrypted Protocols: Employ SSH, SFTP, and VPNs to secure communication.
  • Regular Updates and Patching: Keep network devices and software current to address vulnerabilities.
  • Network Segmentation: Divide networks to limit the spread of attacks.
  • Comprehensive Logging: Maintain detailed logs for forensic analysis.
  • Training and Awareness: Equip staff with knowledge of TCP/IP security risks and mitigation techniques.

Practice Questions

  1. Explain the significance of the OSI model for cyber security professionals working in Kenyan public institutions. (10 marks)
  2. Describe the functions of the transport layer in both the OSI and TCP/IP models and how they impact network security. (12 marks)
  3. Compare and contrast the OSI and TCP/IP models in terms of their structure and practical application in network security. (15 marks)
  4. Identify five security vulnerabilities associated with TCP/IP protocols and propose countermeasures for each. (15 marks)
The rest of this chapter
🔒

Create a free account to open more of this chapter.

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒3.2 IPv4 Addressing

IPv4 addressing remains central to network communication in Kenya despite the growing adoption of IPv6. Cybersecurity professionals must understand IPv4 addressing to effectively design, manage, and secure networks, especially in environments such as county go…

Chapter Summary

This chapter explored the fundamental concepts of network protocols and standards essential for effective computer networking. It began with an in-depth examination of communication protocols, focusing on the OSI model and the TCP/IP reference model, which provide structured frameworks for data exchange across networks. The discussion then transitioned to IPv4 addressing, covering classful addressing and the distinctions between private and public IP addresses that govern network accessibility. The chapter further elaborated on classless addressing and subnet masking techniques that optimize IP address allocation. Attention was given to IPv6 addressing, highlighting its expanded capacity to address the limitations of IPv4. Finally, the chapter detailed subnetting practices for both IPv4 and IPv6, demonstrating how networks are segmented for improved management and security. These topics collectively reinforce the critical role of standardized protocols and addressing schemes in maintaining reliable and scalable network communications.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

A. Written Assessment

  1. Which layer of the OSI model is responsible for establishing, managing, and terminating sessions between applications? (2 marks)
  2. Identify two key differences between the OSI model and the TCP/IP model. (3 marks)
🔒20 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with worked answers

SECTION A (40 Marks) - Answer ALL Questions

  1. Explain the role of the OSI model in securing network communications at a Kenyan county government office. (4 marks)
  2. Differentiate between the TCP/IP reference model and the OSI model in terms of their layers and functions. (4 marks)
🔒18 more in this section.

Chapter Practical Activities

Practical 1: Configure basic communication protocols on a network switch

Cyber Security · Level 6
Perform Computer Networking
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Configure IP addressing and enable basic communication protocols on an 8-port network switch to support devices with IPs 192.168.10.1 to 192.168.10.5.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
Laptop with Network Configuration SoftwareUnmanaged Network Switch 8-Port
RJ45 Crimping ToolEthernet Patch Cable CAT6
IP Configuration Guide Sheet
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Unmanaged Network Switch 8-Port1 Pc per Candidate
2Ethernet Patch Cable CAT63 Pcs per Candidate
3Laptop with Network Configuration Software1 Pc per Candidate
4RJ45 Crimping Tool1 Pc per 5 Candidates
5IP Configuration Guide Sheet1 Pc per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Network Protocol Configuration
Wore appropriate PPE before starting configuration
(Award 1 mark for PPE use or zero)
1
Connected Ethernet cables correctly from laptop to switch and to end devices
(Award 1 mark each for correct connections or zero)
2
Assigned IP address 192.168.10.1 to the switch
(Award 2 marks for correct IP or zero)
2
Assigned IP addresses 192.168.10.2 to 192.168.10.5 to end devices
(Award 1 mark each for correct IP or zero)
3
Configured subnet mask 255.255.255.0 on all devices
(Award 2 marks for correct subnet mask or zero)
2
Enabled DHCP protocol correctly on the switch
(Award 2 marks for enabling DHCP or zero)
2
Saved configuration settings on the switch
(Award 1 mark for saving configuration or zero)
1
Tested connectivity by successfully pinging from laptop to switch and other devices
(Award 2 marks for successful ping or zero)
2
Sub-Total15
PRODUCT CHECKLIST
Configured switch IP address 192.168.10.1 with subnet mask 255.255.255.0
(Award 3 marks for correct IP and subnet mask)
3
Configured end devices with IP addresses 192.168.10.2 to 192.168.10.5 and subnet mask 255.255.255.0
(Award 4 marks for correct IP range and subnet mask)
4
Network devices communicate successfully as verified by ping tests
(Award 3 marks for successful communication)
3
Configuration saved and documented as per IP Configuration Guide Sheet
(Award 2 marks for saved configuration and documentation)
2
Sub-Total12
GRAND TOTAL27
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)

Practical 2: Illustrate and Explain the OSI Model Layers

Cyber Security · Level 6
Perform Computer Networking
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Draw the OSI model layers on A3 paper with each layer 30mm high and demonstrate data flow through each layer.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
RulerA3 Drawing Paper
Pencil
Colored Markers
Eraser
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1A3 Drawing Paper1 Pc per Candidate
2Colored Markers (Red, Blue, Green, Black, Yellow)1 Set per Candidate
3Ruler (30 cm)1 Pc per Candidate
4Pencil1 Pc per Candidate
5Eraser1 Pc per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Draw OSI Model Layers
Candidate wears appropriate PPE (e.g., clean workspace, proper posture)
(Award 1 mark for compliance or zero)
1
Candidate draws seven horizontal layers each exactly 30mm high
(Award 1 mark for each correctly measured and drawn layer)
3
Candidate labels each layer correctly from bottom to top: Physical, Data Link, Network, Transport, Session, Presentation, Application
(Award 1 mark for each correctly labeled layer)
7
Candidate uses distinct colors to differentiate each layer
(Award 1 mark for each of three or more layers clearly colored differently)
3
Sub-Total14
TASK 2: Demonstrate Data Flow Through OSI Layers
Candidate illustrates data encapsulation starting at Application layer down to Physical layer
(Award up to 3 marks for correct directional arrows and explanation)
3
Candidate illustrates data decapsulation from Physical layer up to Application layer
(Award up to 3 marks for correct directional arrows and explanation)
3
Candidate explains the function of at least four OSI layers clearly
(Award 1 mark per clear and correct explanation of a layer function, max 5)
5
Sub-Total11
PRODUCT CHECKLIST
Finished drawing shows seven layers each 30mm high, correctly labeled and colored, with clear directional arrows for data flow
(Award 5 marks if all criteria met exactly, otherwise partial)
5
Sub-Total5
GRAND TOTAL30
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)
🔒

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒Configure and Explain TCP/IP Reference Model FunctionsPractical 3
🔒Assign and configure IPv4 addresses for a small office networkPractical 4
🔒Identify and Apply Classful IPv4 Addressing in a Small NetworkPractical 5
🔒Differentiate and configure private and public IP addresses for a small office networkPractical 6
🔒Apply classless addressing and subnet masking to configure a small office networkPractical 7
🔒Configure and assign IPv6 addresses to network devicesPractical 8
🔒Perform IPv4 Subnetting Calculations and Configure Network DevicesPractical 9
🔒Perform IPv6 subnetting calculations and device configurationPractical 10
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

Create a free account
Test Yourself 18 questions Start quiz ▾
0%
0 / 2
🔒

16 more in this section.

Create a free account
Am I competent?

At the start of this chapter we promised you would be able to:

  • Explain why network standards like IEEE, ISO, IETF, ITU, and ANSI are important for making different devices work well together.
  • Describe the differences between proprietary and open standards, and give examples of each.
  • Understand and explain the layers of the OSI and TCP/IP models and how they help data move across networks.
  • Choose the right network protocols for different situations and client needs.
  • Recognize why following networking standards is key to building reliable, scalable, and secure networks.

Tick each one you can genuinely do.

So, are you there yet?

You're competent when you can confidently do 50% or more of what this chapter promised.

Sign in to record how you're doing.