CY403 • Computer Networks • RGPV Cyber Security

Computer Networks

Complete exam-oriented study material covering networking fundamentals, protocols, network models, data communication, routing, transport services and application-layer concepts.

Course Introduction

What is Computer Networking?

A computer network is a collection of interconnected devices that communicate and share data, resources and services. Computer Networks explains how information moves from one device to another using communication media, protocols, addressing, switching, routing and transport mechanisms.

For Cyber Security students, networking is a core foundation because security monitoring, firewalls, intrusion detection, secure protocols, network attacks and digital communication all depend on networking concepts.

CY403 Computer Networks
OSI + TCP/IP Core networking models
Exam Focus Definitions, diagrams, protocols & numericals
Core Notes

CY403 Computer Networks

Structured notes designed for understanding concepts and writing RGPV examination answers.

Unit I

Introduction to Computer Networks & Network Models

Computer networking deals with the communication of information between interconnected devices. A network can be designed for resource sharing, communication, remote access and distributed services.

Network Components

SenderDevice that generates and sends data.
ReceiverDevice that receives transmitted data.
Transmission MediumPath through which signals travel.
Network DevicesSwitches, routers, hubs, gateways and access points.
ProtocolsRules governing communication between devices.
MessagesInformation exchanged between network entities.

Types of Networks

  • PAN: Personal Area Network for devices around an individual.
  • LAN: Local Area Network covering a limited geographic area.
  • MAN: Metropolitan Area Network covering a city or large campus.
  • WAN: Wide Area Network covering large geographic regions.

OSI Reference Model

The OSI model divides network communication into seven conceptual layers. Each layer provides services to the layer above it and uses services of the layer below it.

7. ApplicationNetwork services used by applications.
6. PresentationTranslation, encryption and compression.
5. SessionSession establishment and management.
4. TransportEnd-to-end delivery and reliability.
3. NetworkLogical addressing and routing.
2. Data LinkFraming, MAC addressing and error control.
1. PhysicalTransmission of raw bits over a medium.

TCP/IP Model

The TCP/IP model is the practical networking architecture used by the Internet. Its commonly described layers are Application, Transport, Internet and Network Access.

Exam Tip: For an OSI-model question, draw all seven layers in order and write at least one major function of every layer.
Unit II

Data Link Layer

The Data Link Layer provides node-to-node delivery and is responsible for framing, physical addressing, error detection and, depending on the protocol, flow control and medium access.

Framing

Framing divides a continuous stream of bits into manageable data units called frames. Common approaches include character count, byte stuffing and bit stuffing.

Error Detection

ParityAdds a parity bit to detect certain bit errors.
ChecksumUses arithmetic over data blocks for error detection.
CRCPolynomial-based technique widely used for detecting transmission errors.

Flow Control

  • Stop-and-Wait: Sender transmits a frame and waits for acknowledgement.
  • Sliding Window: Multiple frames can be transmitted before acknowledgements are required.

MAC & Ethernet

Media Access Control deals with access to a shared communication medium. Ethernet is a major LAN technology and uses MAC addresses for local delivery.

Transmission efficiency depends on frame size, propagation delay, transmission rate, acknowledgements and the selected flow-control protocol.
Unit III

Network Layer

The Network Layer is responsible for logical addressing, packet forwarding and routing between different networks.

IP Addressing

IP addressing identifies network interfaces logically. IPv4 uses 32-bit addresses, while IPv6 uses 128-bit addresses.

IPv4 Example:
192.168.1.10 is an example of an IPv4 address written in dotted-decimal notation.

Routing

Routing determines a suitable path for packets from a source network to a destination network. Routing approaches include static routing and dynamic routing.

Common Routing Concepts

  • Routing table
  • Next hop
  • Metric
  • Default route
  • Distance-vector routing
  • Link-state routing

IPv4 vs IPv6

FeatureIPv4IPv6
Address length32 bits128 bits
NotationDotted decimalHexadecimal separated by colons
Address spaceSmallerVery large
HeaderVariable lengthFixed base header
Unit IV

Transport Layer

The Transport Layer provides process-to-process communication and can offer reliability, flow control, congestion control and multiplexing through port numbers.

TCP

  • Connection-oriented transport protocol.
  • Provides reliable, ordered byte-stream delivery.
  • Uses acknowledgements and retransmission mechanisms.
  • Supports flow control and congestion control.

UDP

  • Connectionless transport protocol.
  • Lower protocol overhead than TCP.
  • Does not provide TCP-style reliable ordered delivery.
  • Useful where low overhead and application-level control are important.

TCP vs UDP

FeatureTCPUDP
ConnectionConnection-orientedConnectionless
ReliabilityReliable delivery mechanismsNo TCP-style reliability
OrderingMaintains ordered byte streamNo ordered delivery guarantee
OverheadHigherLower

Three-Way Handshake

SYN → SYN-ACK → ACK

TCP uses a three-step handshake to establish a connection and synchronise sequence information before normal data transfer.

Unit V

Application Layer

The Application Layer provides network services directly to user applications. Common protocols support web access, name resolution, email, file transfer and remote communication.

HTTP / HTTPSWeb communication and secure web communication.
DNSMaps domain names to network addresses.
FTPFile transfer between networked systems.
SMTPUsed for sending email between mail systems.
DHCPAutomatically provides network configuration.
SSHSecure remote login and command execution.

DNS

The Domain Name System provides a hierarchical naming system that allows users to access services using domain names instead of remembering numerical network addresses.

Network Security Relevance

  • HTTPS protects web traffic using cryptographic mechanisms.
  • SSH provides secure remote administration.
  • Firewalls control network traffic according to defined rules.
  • Intrusion detection systems analyse traffic for suspicious behaviour.
Exam Revision

Important Comparisons

Short comparison points that are useful for theory answers.

LAN vs WAN

PointLANWAN
CoverageLimited geographic areaLarge geographic area
Typical useOffice, building, campusInterconnecting distant networks
OwnershipOften privately managedMay involve multiple organisations/providers

Hub vs Switch vs Router

DevicePrimary RoleAddressing / Forwarding
HubRepeats incoming signals to portsNo intelligent frame forwarding
SwitchConnects devices within a LANUses MAC addresses
RouterConnects different networksUses network-layer addressing and routing
Quick Revision

Important Terms & Formulas

Revise these before attempting the examination.

BandwidthCapacity of a communication channel.
LatencyTime taken for data to travel through the network.
ThroughputActual rate of successful data transfer.
ProtocolSet of communication rules.
PacketNetwork-layer unit of data.
FrameData-link-layer unit of data.
Basic transmission delay = Data size / Transmission rate
Propagation delay = Distance / Propagation speed
Total delay may include processing + queuing + transmission + propagation delays.
Most Important

CY403 Important Questions

Prepare these topics thoroughly for theory-oriented examination questions.

Question 01

Explain the OSI reference model with functions of all seven layers.

Question 02

Explain TCP/IP model and compare it with the OSI model.

Question 03

Explain framing techniques and error detection methods.

Question 04

Explain CRC and its role in error detection.

Question 05

Explain IPv4 addressing and the basic concepts of routing.

Question 06

Differentiate IPv4 and IPv6.

Question 07

Explain TCP and UDP with suitable comparison.

Question 08

Explain TCP three-way handshake.

Question 09

Explain DNS and its hierarchical naming system.

Question 10

Explain important Application Layer protocols.

Study Material

Download / Read Computer Networks Notes

Replace the PDF filename below with your actual CY403 notes file. The links are intentionally kept editable so you can connect your own PDF and online-notes page. 📄 Download PDF 📖 Read Online