0% found this document useful (0 votes)
6 views27 pages

Network Topologies and Models Explained

Network topologies define the arrangement of devices in a network, impacting performance, reliability, and cost. Various types include bus, star, ring, mesh, tree, and hybrid topologies, each with unique advantages and disadvantages. Additionally, network models like OSI and TCP/IP provide frameworks for communication protocols, with OSI being a theoretical reference model and TCP/IP being widely used in practical implementations.

Uploaded by

salamatac115
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views27 pages

Network Topologies and Models Explained

Network topologies define the arrangement of devices in a network, impacting performance, reliability, and cost. Various types include bus, star, ring, mesh, tree, and hybrid topologies, each with unique advantages and disadvantages. Additionally, network models like OSI and TCP/IP provide frameworks for communication protocols, with OSI being a theoretical reference model and TCP/IP being widely used in practical implementations.

Uploaded by

salamatac115
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

NETWORK TOPOLOGIES & MODELS – (COMPUTER NETWORKS)

1. UNDERSTANDING

Network topology refers to the physical or logical arrangement of devices in a network.


It defines how devices are connected, how data flows, and affects speed, reliability, scalability,
and cost.

Key Points

1. Determines layout of nodes, cables, and switches/routers.


2. Can be physical (actual wiring) or logical (data flow).
3. Impacts network performance, troubleshooting, and maintenance.
4. Choice depends on network size, cost, and required reliability.
5. Used in LAN, MAN, and WAN networks.

2. FEATURES OF NETWORK TOPOLOGIES

Feature Description
Defines structure Physical or logical layout of nodes
Data flow control Determines how signals/data travel
Scalability Easy to expand network
Fault tolerance Some topologies allow single device failure without network breakdown
Cost impact Affects installation and maintenance cost
Performance impact Impacts speed and congestion levels

3. TYPES OF NETWORK TOPOLOGIES – TABLE

Topology Structure Advantages Disadvantages Typical Uses


Single main cable Single cable failure stops Small LANs,
Bus Low cost, simple
(backbone) network, collisions legacy networks
Devices connected to Easy management, Hub/switch failure
Star Offices, schools
central hub/switch fast, scalable affects all
Token Ring,
Devices connected in Organized access, One failure stops
Ring industrial
circular path equal opportunity network
networks
Every device connected Highly reliable, no Military, backbone
Mesh Very expensive, complex
to every other device single failure networks
Hierarchical structure Root failure affects Large enterprises,
Tree Structured, scalable
(combines star/bus) network ISPs
Combination of two or Complex design and Modern enterprise
Hybrid Flexible, adaptable
more topologies implementation networks
4. APPLICATIONS OF NETWORK TOPOLOGIES

Application Explanation
LAN design Star topology most common in offices
Large campus networks Tree topology allows hierarchical expansion
High-reliability systems Mesh topology for redundancy
Legacy systems Bus topology used in small labs
Industrial systems Ring topology used in factory setups

5. STRENGTHS OF NETWORK TOPOLOGIES

Key Points

1. Defines structured data flow.


2. Helps in network design & planning.
3. Simplifies troubleshooting.
4. Determines fault tolerance and redundancy.
5. Optimizes network performance.
6. Supports scalability and expansion.

6. WEAKNESSES OF NETWORK TOPOLOGIES

Key Points

1. Certain topologies have single points of failure (Bus, Star root).


2. Mesh topology is expensive due to cabling & hardware.
3. Complex designs (Hybrid, Tree) require skilled management.
4. Some topologies (Bus, Ring) do not scale well.
5. Maintenance cost can be high for larger networks.

7. NETWORK MODELS – UNDERSTANDING

Network models define layered approaches to design and implement network protocols and
communication.

Key Points

1. Provides a framework for hardware and software interaction.


2. Standardizes protocols and services.
3. Separates tasks into layers for modular design.
4. Two main models: OSI (7 layers) & TCP/IP (4 layers).

8. NETWORK MODELS – FEATURES, STRENGTHS, WEAKNESSES


Feature /
OSI Model TCP/IP Model
Aspect
Layers 7 4
Concept Reference model Practical, implementation-based
Layered architecture, modular, clear Widely used, simple, fast, supports
Strengths
troubleshooting Internet
Some layers combine multiple functions,
Weaknesses Theoretical, less practical
less detailed
Teaching, protocol design, Internet, real-world networks, modern
Applications
standardization applications

9. NETWORK MODELS – LAYER COMPARISON TABLE

OSI Layer TCP/IP Equivalent Function


Application Application Provides services to user
Presentation Application Data translation, encryption
Session Application Session establishment, control
Transport Transport End-to-end delivery, reliability
Network Internet Logical addressing, routing
Data Link Network Access MAC addressing, frames
Physical Network Access Transmission of bits over media

Summary Chart – Topologies & Models

Aspect Topologies Models


Purpose Device arrangement Protocol & communication framework
Examples Star, Bus, Mesh OSI, TCP/IP
Strength Reliability, structure Modular, standardization
Weakness Single points of failure, cost OSI too theoretical, TCP/IP layers merge functions
Application LAN, WAN, Enterprise Internet, protocol design, troubleshooting

OSI MODEL – Detailed Notes (With Tables & Charts)

1. OSI MODEL – UNDERSTANDING (Concept)

The OSI (Open Systems Interconnection) Model is a 7-layer conceptual framework that
standardizes how data is sent and received across networks.
It helps different devices, vendors, and protocols communicate smoothly by dividing communication
into layers, each with specific responsibilities.

Key Understanding Points

1. Developed by ISO (International Organization for Standardization).


2. Divides networking functions into 7 independent layers.
3. Ensures interoperability between different hardware & software vendors.
4. Each layer serves the layer above it and is served by the layer below it.
5. Helps in troubleshooting networks systematically.
6. Provides a reference model, not an implementation.

2. OSI MODEL LAYERS – CLEAN TABULAR FORMAT

Table 1: OSI Layers, Functions & Devices

Layer Protocols /
Layer Name Main Function Devices
No. Standards
HTTP, FTP, SMTP,
7 Application Provides network services to end-users —
DNS
Data translation, encryption,
6 Presentation SSL, TLS, MIME —
compression
Session management, connection
5 Session NetBIOS, RPC —
control
Reliable/unreliable data transfer,
4 Transport TCP, UDP Firewalls
segmentation
3 Network Logical addressing, routing IP, ICMP, OSPF, RIP Routers
Framing, MAC addressing, error Ethernet, PPP, Switches,
2 Data Link
detection VLAN Bridges
1 Physical Transmission of bits through media Cables, IR, RF Hubs, Repeaters

3. FEATURES OF OSI MODEL

Key Features in Points

1. Layered Architecture – 7 independent layers.


2. Standard Reference Model – provides guidelines for vendors.
3. Interoperability – allows multi-vendor communication.
4. Abstraction – hides complexities of lower layers.
5. Encapsulation & DE capsulation – data moves through layers.
6. Modularity – each layer has defined roles.
7. Supports Troubleshooting – diagnose failures layer by layer.

4. APPLICATIONS OF OSI MODEL

Applications (Points Form)

1. Used as a teaching model to understand network communication.


2. Helps in network design and architecture planning.
3. Used in protocol development and standardization.
4. Aids in network troubleshooting (Layer-wise isolation).
5. Supports compatibility testing between different systems.
6. Acts as a reference for implementing network functions.
7. Used in security analysis to identify attack points.
5. STRENGTHS OF OSI MODEL

Strengths (Points Form)

1. Clear separation of functions across 7 layers.


2. Highly structured and easy to understand.
3. Promotes vendor neutrality and standardization.
4. Helps in layer-wise development of technologies.
5. Useful for troubleshooting complex networks.
6. Ensures modular approach—changes in one layer do not affect others.
7. Supports protocol independence.

6. WEAKNESSES OF OSI MODEL

Weaknesses (Points Form)

1. Considered too theoretical and not widely implemented.


2. Some layers overlap (ex: Session & Transport).
3. Modern internet uses TCP/IP Model, not full OSI.
4. Overly complex for real-world network engineering.
5. Difficult to map real protocols exactly into layers.
6. Certain layers are poorly defined (ex: Presentation layer).
7. Slower commercial adoption due to competition with TCP/IP.

7. OSI MODEL FLOW CHART (Text-Based)

+----------------------+
| Layer 7: |
| Application |
+----------------------+
| Layer 6: |
| Presentation |
+----------------------+
| Layer 5: |
| Session |
+----------------------+
| Layer 4: |
| Transport |
+----------------------+
| Layer 3: |
| Network |
+----------------------+
| Layer 2: |
| Data Link |
+----------------------+
| Layer 1: |
| Physical |
+----------------------+
8. DATA ENCAPSULATION TABLE

OSI Layer Data Unit Name What Happens?


Application Data User interaction begins
Presentation Data Formatting, encryption
Session Data Create/maintain sessions
Transport Segments Segmentation, ports (TCP/UDP)
Network Packets Logical addressing (IP)
Data Link Frames MAC addressing, error check
Physical Bits Electrical/optical signals

9. OSI MODEL vs TCP/IP MODEL (Important Comparison Table)

Feature OSI Model TCP/IP Model


Layers 7 layers 4 layers
Developed By ISO DARPA
Usage Reference model Practical implementation
Protocol Dependency Independent Depends on TCP/IP stack
Popularity Low Very high (internet uses it)

NETWORK LAYERING CONCEPTS & PROTOCOLS, IP AND CONTROL PROTOCOLS

1. NETWORK LAYERING CONCEPTS – UNDERSTANDING

Network layering is the concept of dividing network functions into separate layers, where each
layer performs a specific task and interacts with adjacent layers.

Key Points

1. Provides modularity — each layer focuses on a specific function.


2. Simplifies protocol design and implementation.
3. Allows interoperability among different vendors.
4. Enables encapsulation and de-encapsulation: data moves from top to bottom layers on
sender, bottom to top on receiver.
5. Supports layer-specific troubleshooting.
6. Examples: OSI Model (7 layers), TCP/IP Model (4 layers).

2. LAYERING FEATURES & BENEFITS

Feature Description
Encapsulation Each layer adds its own header/trailer to data
Abstraction Upper layers need not know lower layer details
Modularity Each layer can be developed independently
Standardization Supports consistent protocols across devices
Feature Description
Interoperability Multi-vendor communication is possible
Troubleshooting Layer-wise isolation of errors

3. PROTOCOLS IN EACH LAYER (OSI & TCP/IP)

Table 1: OSI Layer Protocols

OSI Layer Protocol Examples Functions


Application HTTP, FTP, SMTP, DNS Provides user services, interface to applications
Presentation SSL/TLS, JPEG, MPEG Encryption, data formatting, compression
Session NetBIOS, RPC Establishes, maintains, terminates sessions
Transport TCP, UDP End-to-end data delivery, reliability, segmentation
Network IP, ICMP, IGMP, ARP Logical addressing, routing, packet delivery
Data Link Ethernet, PPP, VLAN, MAC Framing, error detection, MAC addressing
Physical Twisted pair, Fiber optic, Hubs Transmission of raw bits over physical media

Table 2: TCP/IP Layer Protocols

TCP/IP Layer Protocol Examples Function


Application HTTP, FTP, SMTP, DNS User-level communication
Transport TCP, UDP End-to-end delivery, flow control
Internet IP, ICMP, IGMP Logical addressing, routing
Network Access Ethernet, Wi-Fi, MAC Physical addressing, data framing

4. INTERNET PROTOCOL (IP) – UNDERSTANDING

IP is a Network Layer protocol (Layer 3) used to identify devices and route data across
networks.

Key Points

1. Provides logical addressing (IPv4 or IPv6).


2. Supports connectionless communication.
3. Encapsulates transport layer segments into packets.
4. Works with routers to deliver packets.
5. Supports fragmentation and reassembly of packets for transmission over different media.

5. TYPES OF IP ADDRESSES

Type Description Example


IPv4 32-bit, dotted decimal [Link]
IPv6 128-bit, hexadecimal 2001:0db8:85a3::8a2e:0370:7334
Public Globally reachable [Link]
Type Description Example
Private Internal networks [Link]
Static Manually assigned Server IPs
Dynamic Assigned via DHCP Home devices

6. ASSOCIATED CONTROL PROTOCOLS

IP works with several control protocols for network management, routing, and error handling.

Table: IP Control Protocols

Protocol Layer Purpose


ICMP (Internet Control Message Protocol) Network Error messages, ping, traceroute
IGMP (Internet Group Management
Network Multicast group management
Protocol)
ARP (Address Resolution Protocol) Network/Data Link Maps IP → MAC addresses
Maps MAC → IP addresses
RARP (Reverse ARP) Network/Data Link
(obsolete)
DHCP (Dynamic Host Configuration
Application/Transport Assigns dynamic IP addresses
Protocol)
NAT (Network Address Translation) Network Maps private IPs to public IPs

7. KEY FEATURES OF IP

Feature Description
Connectionless No prior connection needed for data delivery
Best-effort delivery Does not guarantee packet delivery
Fragmentation Breaks large packets for transmission, reassembles at destination
Addressing Uses logical IP addresses for routing
Protocol independence Works with TCP, UDP, and other protocols

8. STRENGTHS OF NETWORK LAYER & IP

1. Standardized addressing system (IP) allows global communication.


2. Enables routing across different networks.
3. Supports multiple protocols on top (TCP, UDP).
4. Scalable: IPv6 provides practically unlimited addresses.
5. Supports control protocols for error management and multicast.

9. WEAKNESSES / LIMITATIONS

1. No guarantee of delivery (requires transport layer reliability).


2. IP addresses can be spoofed, posing security risks.
3. Fragmentation increases overhead.
4. IPv4 address exhaustion requires transition to IPv6.
5. Routing protocols may introduce latency or loops if misconfigured.

10. DATA FLOW / ENCAPSULATION CHART

Application Layer Data → TCP/UDP Segment → IP Packet → Data Link


Frame → Bits over Physical Layer

11. SUMMARY TABLE – LAYERING, IP & CONTROL PROTOCOLS

Concept Key Points Examples / Protocols


Layering Modular, abstraction, encapsulation OSI, TCP/IP
IP Logical addressing, routing, fragmentation IPv4, IPv6
ICMP, ARP, RARP, DHCP,
Control Protocols Error handling, mapping, configuration
IGMP
Strengths Standard, scalable, protocol-independent IPv6, Routing, Multicast
Unreliable delivery, IPv4 exhaustion, security
Weaknesses Packet loss, spoofing
issues

END-TO-END PROTOCOLS – TCP & UDP

1. UNDERSTANDING END-TO-END PROTOCOLS

End-to-End protocols operate at the Transport Layer (Layer 4) of the OSI/TCP-IP model.
They are responsible for delivering data between applications on source and destination devices
reliably or unreliably.

Key Points

1. Provide communication between two endpoints (applications).


2. Enable multiplexing and DE multiplexing using port numbers.
3. Ensure data integrity, sequencing, and error control (TCP).
4. Some are connection-oriented (TCP), others connectionless (UDP).
5. Enable flow control and congestion management (TCP).
6. Examples: TCP, UDP, SCTP.

2. TCP (Transmission Control Protocol)

Key Points

1. Connection-oriented protocol: requires handshake before data transfer.


2. Reliable: guarantees delivery of data in order.
3. Performs error detection, retransmission, sequencing.
4. Flow control via sliding window mechanism.
5. Uses ports to deliver data to correct application.
6. Suitable for applications needing accuracy over speed (e.g., web browsing, email, file
transfer).

Table 1: TCP Characteristics

Feature Description
Connection Type Connection-oriented (3-way handshake)
Reliability High, guarantees delivery and correct order
Flow Control Sliding window mechanism
Error Detection Checksums, retransmission
Segmentation Data divided into segments for transmission
Use Case Examples HTTP, HTTPS, SMTP, FTP

3. UDP (User Datagram Protocol)

Key Points

1. Connectionless protocol: no handshake required.


2. Unreliable: no guarantee of delivery or order.
3. Lightweight, low overhead, faster than TCP.
4. Suitable for real-time applications (streaming, VoIP, online gaming).
5. Uses ports to deliver data to applications.
6. Minimal error checking (only checksum).

Table 2: UDP Characteristics

Feature Description
Connection Type Connectionless
Reliability Low, no guarantee of delivery or order
Flow Control None
Error Detection Optional checksum
Segmentation Data sent as datagrams
Use Case Examples VoIP, Video streaming, DNS queries, Online games

4. TCP vs UDP COMPARISON

Feature TCP UDP


Type Connection-oriented Connectionless
Reliability High (guaranteed delivery) Low (best-effort delivery)
Speed Slower (due to overhead) Faster (minimal overhead)
Error Control Retransmission, sequencing Only checksum, no retransmission
Flow Control Yes, sliding window No
Header Size 20–60 bytes 8 bytes
Feature TCP UDP
Use Cases Web browsing, email, FTP Streaming, gaming, VoIP

5. TCP SEGMENT STRUCTURE (TEXT TABLE)

Field Description
Source Port Sender application port
Destination Port Receiver application port
Sequence Number Position of segment in data stream
Acknowledgment Confirms receipt of data
Data Offset Header size
Flags Control bits (SYN, ACK, FIN, etc.)
Window Flow control size
Checksum Error detection
Urgent Pointer Indicates urgent data
Data Actual payload

6. UDP DATAGRAM STRUCTURE (TEXT TABLE)

Field Description
Source Port Sender application port
Destination Port Receiver application port
Length Total size of datagram
Checksum Error detection
Data Actual payload

7. STRENGTHS OF END-TO-END PROTOCOLS

1. Provide application-level addressing using ports.


2. Enable reliable or fast data transfer depending on protocol.
3. Support multiplexing multiple applications over the same network.
4. TCP ensures data integrity; UDP ensures low-latency transfer.
5. Scalable: supports small LANs to large Internet systems.

8. WEAKNESSES / LIMITATIONS

1. TCP overhead can reduce speed for time-sensitive applications.


2. UDP has no reliability; lost packets are not retransmitted.
3. Both protocols depend on network layer (IP) for delivery.
4. TCP is complex to implement due to sequencing and flow control.
5. UDP may require application-level error handling for critical data.

9. DATA FLOW / END-TO-END CHART (TEXT-BASED)


[Application Data]

TCP/UDP Layer (Segmentation/Datagram)

IP Layer (Packet with source/destination IP)

Data Link Layer (Frame with MAC addresses)

Physical Layer (Bits over medium)

10. SUMMARY TABLE – TCP vs UDP

Aspect TCP UDP


Connection Yes No
Reliability Guaranteed Not guaranteed
Speed Slower Faster
Error Checking Retransmission, sequencing Checksum only
Header Size 20–60 bytes 8 bytes
Flow Control Yes No
Typical Applications Web, Email, FTP Streaming, Gaming, VoIP

ADDRESSING SCHEMES – LINK, NETWORK & TRANSPORT LAYER

1. UNDERSTANDING ADDRESSING SCHEMES

Addressing in networking ensures that data is delivered to the correct device and application.
Each layer has its own addressing method to identify devices or applications:

Key Points

1. Addressing is layer-specific in the OSI/TCP-IP model.


2. Ensures accurate delivery of data at each stage.
3. Link Layer: identifies devices on the same network segment.
4. Network Layer: provides logical addressing across networks.
5. Transport Layer: identifies specific applications/processes on devices using ports.
6. Proper addressing is essential for routing, error detection, and end-to-end
communication.

2. LINK LAYER ADDRESSING (MAC)

The Link Layer is responsible for local delivery within the same network segment (LAN/WAN).

Key Points

1. Uses MAC (Media Access Control) addresses.


2. MAC addresses are 48-bit hexadecimal numbers (e.g., 00:1A:2B:3C:4D:5E).
3. Unique for each network interface card (NIC).
4. Used by switches and bridges for frame forwarding.
5. Works only within the same broadcast domain.
6. Sometimes called physical or hardware address.

Table 1: Link Layer Addressing

Feature Description
Address Type MAC (Media Access Control)
Length 48 bits (6 bytes)
Format Hexadecimal: XX:XX:XX:XX:XX:XX
Scope Local network segment
Assigned By Manufacturer (burned into NIC)
Protocols Ethernet, Wi-Fi (802.3, 802.11)

3. NETWORK LAYER ADDRESSING (IP)

The Network Layer ensures delivery of packets across multiple networks.

Key Points

1. Uses IP addresses (IPv4 or IPv6) for logical identification.


2. Allows routing through routers across networks.
3. Divided into Network ID and Host ID.
4. Supports public and private addressing.
5. Works with protocols like ICMP, ARP, NAT.
6. Can be dynamic (DHCP) or static.

Table 2: Network Layer Addressing

Feature IPv4 IPv6


Length 32-bit 128-bit
Format Dotted decimal ([Link]) Hexadecimal (2001:0db8::1)
Scope Global / Local Global / Local
Purpose Routing across networks Routing across networks
Protocol Dependency ICMP, ARP, NAT ICMPv6, Neighbor Discovery

4. TRANSPORT LAYER ADDRESSING (PORTS)

The Transport Layer ensures data reaches the correct application on the device.

Key Points

1. Uses port numbers (16-bit).


2. Differentiates multiple applications on the same device.
3. TCP/UDP headers include source and destination ports.
4. Well-known ports (0–1023), registered ports (1024–49151), dynamic/private ports
(49152–65535).
5. Enables multiplexing and demultiplexing.

Table 3: Transport Layer Addressing

Feature Description
Address Type Port number
Length 16-bit (0–65535)
Purpose Identify specific application/process
Protocol TCP, UDP
Examples HTTP → 80, HTTPS → 443, DNS → 53
Function Multiplexing/demultiplexing

5. ADDRESSING SUMMARY TABLE

Address
Layer Length Scope Examples Devices/Protocols
Type
Switch, NIC,
Link MAC 48-bit Local network 00:1A:2B:3C:4D:5E
Ethernet
32-bit / [Link], Router, IP, ICMP,
Network IP Across networks
128-bit 2001:db8::1 ARP
Transport Port 16-bit Device/application 80, 443, 53 TCP, UDP

6. DATA FLOW WITH ADDRESSING (TEXT-CHART)

[Application Layer Data]


↓ (Port #)
Transport Layer: TCP/UDP Segment
↓ (IP Address)
Network Layer: IP Packet
↓ (MAC Address)
Data Link Layer: Frame

Physical Layer: Bits transmitted

7. STRENGTHS OF ADDRESSING SCHEMES

1. Ensures data reaches the correct device and application.


2. Supports scalable networks with multiple hosts.
3. Enables routing across local and global networks.
4. Differentiates applications on the same host.
5. Facilitates error detection, traffic management, and network security.
8. WEAKNESSES / LIMITATIONS

1. MAC addresses cannot identify devices outside LAN.


2. IPv4 addresses are limited; require NAT or IPv6.
3. Port numbers can be spoofed or attacked (e.g., port scanning).
4. Misconfiguration can lead to routing errors or data loss.

TRANSMISSION MEDIA, SWITCHING, CHANNEL ACCESS, MAC, ROUTING &


MULTICAST

1. TRANSMISSION MEDIA & CHARACTERISTICS

Transmission media are the physical paths or channels used to transmit data from sender to
receiver.

Key Points

1. Determines speed, distance, and reliability of communication.


2. Can be guided (wired) or unguided (wireless).
3. Choice depends on cost, bandwidth, interference, and environment.
4. Influences network design, error rate, and latency.

Table 1: Transmission Media

Type Subtype Characteristics Typical Use


Twisted Pair (UTP,
Guided (Wired) Low cost, susceptible to EMI LANs, telephony
STP)
Coaxial Cable Higher bandwidth, resistant to EMI Cable TV, older LANs
Very high speed, long distance, Backbone networks,
Fiber Optic
immune to EMI ISPs
Unguided Long range, multi-device, prone to
Radio Waves Wi-Fi, cellular
(Wireless) interference
Satellite, point-to-point
Microwaves Line-of-sight, high bandwidth
links
Remote controls,
Infrared Short-range, line-of-sight
indoor LAN

Key Characteristics

 Bandwidth: Maximum data rate.


 Propagation delay: Time for signal to travel.
 Attenuation: Signal loss over distance.
 Interference: Electromagnetic or environmental noise.

2. SWITCHING TECHNIQUES

Switching determines how data moves from source to destination in networks.


Key Points

1. Enables multiple devices to share the same network medium.


2. Three main types: Circuit Switching, Packet Switching, Message Switching.

Table 2: Switching Techniques

Technique Description Advantages Disadvantages Use Case


Dedicated path Traditional
Circuit Reliable, constant Inefficient for idle
established before telephone
Switching bandwidth periods
communication networks
Packet Data broken into packets, Efficient, supports Variable delay, out- Internet,
Switching sent independently multiple users of-order delivery LAN/WAN
Entire message stored
Message No dedicated path, Requires large Older networks,
and forwarded at each
Switching store-and-forward memory, higher delay email systems
node

3. CHANNEL ACCESS TECHNIQUES

These techniques control how multiple devices share the same transmission medium.

Key Points

1. Prevents collision and interference.


2. Determines access method for multiple users.

Table 3: Channel Access Techniques

Technique Type Description Example


TDMA Time Division Each user gets a time slot GSM cellular
FDMA Frequency Division Each user gets a frequency band FM radio channels
CDMA Code Division Each user gets a unique code 3G cellular networks
CSMA/CD Contention Carrier sense + collision detection Ethernet
CSMA/CA Contention Carrier sense + collision avoidance Wi-Fi (802.11)

4. MAC (MEDIA ACCESS CONTROL)

MAC is a sub-layer of the Data Link Layer, responsible for managing access to shared medium.

Key Points

1. Ensures unique identification of devices using MAC addresses.


2. Controls frame delivery and avoids collisions.
3. Works with Ethernet, Wi-Fi, and VLANs.
4. Uses protocols like CSMA/CD and CSMA/CA.
Table 4: MAC Characteristics

Feature Description
Address 48-bit unique MAC address
Layer Data Link (Sub-layer)
Function Access control, frame delivery, collision avoidance
Protocol Ethernet (CSMA/CD), Wi-Fi (CSMA/CA)

5. ROUTING PROTOCOLS

Routing protocols determine the best path for data across networks.

Key Points

1. Operates at Network Layer.


2. Uses IP addresses to forward packets.
3. Types: Distance Vector, Link-State, Hybrid.

Table 5: Routing Protocols

Protocol
Protocol Type Characteristics Use Case
Example
Distance Shares routing table with neighbors,
RIP Small LAN/WAN
Vector simple
Each router knows full topology, fast
Link-State OSPF Large enterprise networks
convergence
Medium/Large enterprise
Hybrid EIGRP Combines DV & LS, faster & scalable
networks
Border
BGP Inter-AS routing, internet backbone ISP, Internet
Gateway

6. MULTICAST

Multicast allows sending data to multiple specific hosts simultaneously.

Key Points

1. Efficient for video streaming, conferencing, IPTV.


2. Uses special multicast IP addresses ([Link] to [Link]).
3. Reduces bandwidth consumption compared to unicast.
4. Requires IGMP (IPv4) or MLD (IPv6) for group management.

Table 6: Multicast vs Unicast vs Broadcast


Method Description Efficiency Example
Low for multiple
Unicast One-to-one Web browsing
recipients
ARP requests, LAN
Broadcast One-to-all High bandwidth usage
announcements
One-to-many (specific
Multicast High efficiency IPTV, Video conferencing
group)

7. SUMMARY CHART – TRANSMISSION & ACCESS

Key Protocols /
Concept Function Advantages Limitations
Techniques
Transmission Twisted Pair, Fiber, High speed (fiber),
Carries signals Interference, cost
Media Radio flexible (wireless)
Circuit, Packet,
Switching Path selection Efficiency, reliability Complexity, delay
Message
TDMA, FDMA, Limited
Channel Access Medium sharing Avoid collision
CDMA, CSMA slots/frequency
Unique addressing,
MAC Access control Ethernet, Wi-Fi Local network only
collision handling
Routing Path RIP, OSPF, EIGRP, Complexity,
Optimized routing
Protocols determination BGP misconfiguration
Efficient group Requires multicast
Multicast IGMP, MLD Saves bandwidth
delivery support

APPLICATION LAYER PROTOCOLS – OVERVIEW

1. UNDERSTANDING APPLICATION LAYER PROTOCOLS

The Application Layer (Layer 7 in OSI) provides services directly to end-user applications.
It defines how software communicates over the network.

Key Points

1. Provides interface between network services and end-user applications.


2. Ensures data formatting, encoding, encryption, and transmission.
3. Uses transport layer protocols (TCP/UDP) for data delivery.
4. Enables services like web browsing, email, file transfer, and remote access.
5. Protocols define rules for communication between applications.

2. COMMON APPLICATION LAYER PROTOCOLS


Table 1: Application Layer Protocols

Transport
Protocol Port Purpose / Function Use Case Examples
Layer
HTTP (Hypertext
80 TCP Transfers web pages Browsing websites
Transfer Protocol)
HTTPS (HTTP Secure web Online banking, e-
443 TCP
Secure) communication (TLS/SSL) commerce
FTP (File Transfer 20 (Data), 21 Upload/download files File sharing, website
TCP
Protocol) (Control) between client & server uploads
Secure file transfer over Secure file transfer in
SFTP (Secure FTP) 22 TCP
SSH enterprises
SMTP (Simple Mail
25 TCP Sending emails Outgoing mail servers
Transfer Protocol)
POP3 (Post Office Download emails from Email clients
110 TCP
Protocol 3) server (Thunderbird, Outlook)
IMAP (Internet
Manage & read emails on Webmail, Email
Message Access 143 TCP
server synchronization
Protocol)
DNS (Domain Name Resolves domain names to Web browsing, email
53 UDP/TCP
System) IP addresses routing
Network devices
Telnet 23 TCP Remote text-based access
management (legacy)
Server administration,
SSH (Secure Shell) 22 TCP Secure remote access
remote login

3. KEY FEATURES OF APPLICATION LAYER PROTOCOLS

1. End-user oriented: directly interacts with applications.


2. Service-specific: Each protocol has a defined purpose.
3. Transport-dependent: Mostly TCP (reliable) or UDP (faster).
4. Human-readable: Many protocols (HTTP, SMTP) use text-based commands.
5. Security: HTTPS, SFTP, and SSH add encryption for secure communication.
6. Scalability: Supports millions of users and devices over the Internet.

4. APPLICATION LAYER DATA FLOW

[User Action (Browser, Email Client, FTP Client)]



Application Layer Protocol (HTTP, SMTP, FTP)

Transport Layer (TCP/UDP)

Network Layer (IP)

Data Link Layer (Ethernet/Wi-Fi)

Physical Layer (Bits transmitted)

5. STRENGTHS OF APPLICATION LAYER PROTOCOLS

1. Provides standardized communication between applications.


2. Platform-independent: works across devices and OS.
3. Enables variety of network services: web, email, file transfer.
4. Supports secure communication with SSL/TLS, SSH, SFTP.
5. Can be extended or upgraded for new applications.

6. WEAKNESSES / LIMITATIONS

1. Text-based protocols (HTTP, SMTP) are susceptible to attacks (e.g., MITM, spoofing).
2. Relies on underlying transport/network layers for delivery.
3. Not all protocols are secure by default (e.g., FTP, Telnet).
4. Can consume bandwidth if inefficient (e.g., large file transfers).
5. Complexity increases with multiple protocols running together.

7. SUMMARY TABLE – APPLICATION LAYER PROTOCOLS

Protocol Port Transport Security Purpose Use Case


HTTP 80 TCP None Web page transfer Browsing websites
HTTPS 443 TCP SSL/TLS Secure web E-commerce, banking
FTP 20/21 TCP Optional File transfer Website files
SFTP 22 TCP SSH Secure file transfer Enterprises
SMTP 25 TCP Optional Send emails Outgoing email
POP3 110 TCP Optional Receive emails Email client download
IMAP 143 TCP Optional Read/manage emails Webmail sync
DNS 53 TCP/UDP Optional Resolve domain to IP Web browsing, emails
Telnet 23 TCP None Remote text login Legacy device management
SSH 22 TCP Encryption Secure remote login Server administration

MULTIMEDIA PROTOCOLS – RTP, RTSP, RTCP

1. UNDERSTANDING MULTIMEDIA PROTOCOLS

Multimedia protocols handle real-time audio, video, and streaming data over networks.
They work primarily at the Application Layer and rely on UDP for fast transmission.

Key Points

1. RTP (Real-Time Transport Protocol)


o Provides end-to-end delivery of real-time data (audio/video).
Supports sequencing, time stamping, and payload identification.
o
Works with UDP for low-latency transmission.
o
Does not guarantee delivery; relies on RTCP for quality feedback.
o
2. RTCP (RTP Control Protocol)
o Works alongside RTP.
o Provides monitoring and control of streaming quality.
o Reports packet loss, jitter, and round-trip time.
o Helps adjust transmission rate and improve QoS.
3. RTSP (Real-Time Streaming Protocol)
o Controls streaming sessions (play, pause, stop).
o Works like a remote control for media servers.
o Can work with RTP for actual media delivery.

Table 1: Multimedia Protocols Overview

Protocol Port Transport Purpose Features Use Case


Dynamic Timestamping,
VoIP, video
RTP (usually UDP Media transport sequencing, payload
conferencing
5004/5005) type
Streaming
Dynamic (paired Control & QoS reports, packet
RTCP UDP performance
with RTP) monitoring loss, jitter
feedback
Control
Play, pause, teardown, IPTV, on-demand
RTSP 554 TCP/UDP streaming
setup video, live streaming
sessions

2. KEY FEATURES OF MULTIMEDIA PROTOCOLS

1. Low-latency delivery suitable for live audio/video.


2. Separation of media transport (RTP) and control (RTSP/RTCP).
3. QoS monitoring via RTCP ensures stable streaming.
4. Works over IP networks using UDP/TCP.
5. Supports synchronization of multiple streams (audio + video).

3. DATA FLOW (RTP / RTSP / RTCP)

[Media Source: Camera/Microphone]



RTP: Real-time transport of audio/video

RTCP: Monitoring and quality feedback (packet loss, jitter)

RTSP: Control of streaming session (play/pause)

Network Layer (IP)

Data Link Layer (Ethernet/Wi-Fi)

Physical Layer (Bits transmitted)

SECURITY MECHANISMS AND SERVICES

1. UNDERSTANDING SECURITY MECHANISMS

Security mechanisms provide confidentiality, integrity, authentication, and non-repudiation for


data over networks.

Key Points

1. Protect data in transit and at rest.


2. Operate at various layers of OSI (Network, Transport, Application).
3. Include cryptographic and non-cryptographic mechanisms.
4. Commonly used in web, email, file transfer, and VPNs.

2. SECURITY SERVICES

Table 2: Security Services Overview

Service Purpose Example Mechanisms OSI Layer


Prevent unauthorized
Confidentiality Encryption (AES, DES, RSA) All layers
access
Hashing (SHA-256, MD5), Digital
Integrity Ensure data is not altered Transport/Application
Signatures
Verify sender/receiver
Authentication Passwords, Certificates, Kerberos Application/Network
identity
Non-repudiation Prevent denial of action Digital Signatures, Logging Application
Access Control Restrict resource access ACLs, Firewalls, Role-based Network/Application

3. SYMMETRIC VS ASYMMETRIC CRYPTOGRAPHY

Table 3: Symmetric vs Asymmetric Encryption

Feature Symmetric Asymmetric


Key Type Single shared key Public & Private key pair
Speed Fast Slower
Use Case Data encryption, bulk transfer Digital signatures, key exchange
Examples AES, DES, 3DES RSA, ECC
Security Key must be securely shared More secure for communication setup

4. DIGITAL SIGNATURES
Key Points

1. Ensures data authenticity and integrity.


2. Created using hashing + asymmetric encryption.
3. Allows verification without revealing private key.
4. Used in emails, software distribution, and legal documents.

5. SECURITY MECHANISMS FLOW

[Sender]
↓ Encrypt (Confidentiality) & Sign (Authentication + Non-
repudiation)
[Network Transmission]

[Receiver]
↓ Decrypt & Verify Signature
↓ Ensures Integrity, Authenticity, Confidentiality

6. SUMMARY TABLE – MULTIMEDIA & SECURITY

Concept Protocol/Mechanism Purpose Layer Key Feature Use Case


Media Real-time, VoIP, video
RTP RTP Application
transport low-latency calls
Quality Jitter, packet Streaming
RTCP RTCP Application
monitoring loss feedback
Session Play, pause, IPTV, live
RTSP RTSP Application
control teardown streaming
Data Secure
Confidentiality AES, DES, RSA All layers Encryption
protection comms
Data Email, file
Integrity SHA-256, MD5 Transport/Application Hashing
unchanged transfer
Identity Certs, Secure
Authentication Kerberos, Certificates Network/Application
verification passwords login, VPN
Digital Non- Signing & Legal docs,
RSA + Hash Application
Signature repudiation verification software

SYMMETRIC & ASYMMETRIC CRYPTOGRAPHY, DIGITAL SIGNATURES, AND


CONVERGENCE OF COMMUNICATION NETWORKS

1. SYMMETRIC CRYPTOGRAPHY

Symmetric cryptography uses a single shared key for both encryption and decryption.

Key Points
1. Fast and efficient for large data encryption.
2. Key must be shared securely between sender and receiver.
3. Used for confidential communication in networks.
4. Provides confidentiality, but not authentication or non-repudiation by itself.
5. Common algorithms: AES, DES, 3DES, Blowfish.

Table 1: Symmetric Cryptography Overview

Feature Description
Key Type Single shared key
Encryption/Decryption Same key
Speed Fast
Security Key must remain secret
Use Case File encryption, VPN tunnels, secure messaging
Examples AES, DES, 3DES, Blowfish

2. ASYMMETRIC CRYPTOGRAPHY

Asymmetric cryptography uses two keys: a public key and a private key.

Key Points

1. Public key is used to encrypt data; private key is used to decrypt.


2. Solves key distribution problem of symmetric encryption.
3. Enables digital signatures, authentication, and secure key exchange.
4. Slower than symmetric encryption; suitable for small data or key exchange.
5. Common algorithms: RSA, ECC, DSA.

Table 2: Asymmetric Cryptography Overview

Feature Description
Key Type Public & Private key pair
Encryption/Decryption Public key encrypts, private key decrypts
Speed Slower than symmetric
Security High; secure key exchange
Use Case Digital signatures, SSL/TLS, email encryption
Examples RSA, ECC, DSA

3. COMPARISON – SYMMETRIC VS ASYMMETRIC

Feature Symmetric Asymmetric


Key Single shared key Public & private key pair
Speed Fast Slower
Security Requires secure key sharing No need for prior shared key
Use Case Bulk data encryption Key exchange, digital signature
Feature Symmetric Asymmetric
Complexity Simple Complex

4. DIGITAL SIGNATURES

Digital signatures ensure authentication, integrity, and non-repudiation of data.

Key Points

1. Created using hashing + asymmetric encryption.


2. Verifies the sender’s identity.
3. Detects tampering of the message.
4. Widely used in emails, software distribution, and legal documents.
5. Can be verified by anyone with the sender’s public key.

Table 3: Digital Signatures Overview

Feature Description
Purpose Authentication, Integrity, Non-repudiation
Process Hash message → Encrypt hash with sender’s private key → Attach to message
Verification Decrypt hash with sender’s public key → Compare with computed hash
Use Case Emails, software updates, legal contracts
Key Algorithms RSA, DSA, ECDSA

5. CONVERGENCE OF COMMUNICATION NETWORKS

Convergence refers to the integration of multiple types of communication services (voice, data,
video) on a single network.

Key Points

1. Combines telephony, internet, video conferencing, and multimedia.


2. Reduces infrastructure costs and improves resource utilization.
3. Supports IP-based communication, e.g., VoIP, IPTV.
4. Enables Unified Communication systems with single platform.
5. Driven by high-speed networks and advanced protocols.

Table 4: Communication Convergence Overview

Feature Description Example


Integration Voice, video, data on one network VoIP + Email + Video Conferencing
Network Type IP-based networks LAN/WAN with VoIP support
Benefits Reduced cost, better management Single network for multiple services
Challenges QoS, Security, Bandwidth Maintaining video/audio quality
Technology MPLS, SIP, IMS Enterprise VoIP, Cloud Communication
6. SUMMARY FLOW – CRYPTOGRAPHY & CONVERGENCE

[Data/Message]
↓ Symmetric Encryption (Bulk Data) / Asymmetric Encryption
(Keys)
↓ Transmission over network
↓ Verification using Digital Signature
↓ Delivered securely to recipient
↓ Converged network carries voice, video, and data together

7. SUMMARY TABLE – CRYPTOGRAPHY & CONVERGENCE

Concept Purpose Key Feature Use Case


Symmetric
Confidentiality Fast, single key File encryption, VPN
Cryptography
Asymmetric Key exchange,
Public/private key pair SSL/TLS, email encryption
Cryptography authentication
Authentication &
Digital Signature Hash + private key Email, software, legal docs
integrity
Convergence of Unified Voice, data, video on VoIP, IPTV, Unified enterprise
Networks communication one network communication

You might also like