Network Topologies
Network Topologies
🌿 1. Tree Topology
✨ Advantages
⚠️ Disadvantages
🔗 2. Mesh Topology
📌 Key Formulas
Page 1 of 92
🔶 3. Hybrid Topology
Q3. A linear LAN architecture in which all stations receive the reproduced
transmission over the entire medium is known as:
Q4. In which connection do more than two devices share a single link?
Q5. Which architecture connects devices with equal responsibility and no central
authority?
Ans: Circle
Q7. In which network topology is communication between any two nodes the fastest?
Q8. For connecting N nodes in mesh topology, the number of links required is:
Q9. In which topology does the failure of one node disturb the entire network?
Page 2 of 92
Q10. The topology in which every node is connected only to its immediate neighbours
is called:
Q11. Which topology arranges all nodes connected to a central hub or switch?
Page 3 of 92
NETWORK DEVICES
1. Hub
Page 4 of 92
Page 5 of 92
✨ Types of Hubs
B. Active Hub
C. Intelligent Hub
2. Repeater
A repeater is a network device that receives a weak or corrupted signal and regenerates
it back to its original bit pattern before the signal fades completely.
It acts like a quiet guardian extending the reach of communication.
✨ Key Points
Page 6 of 92
3. Bridge
A bridge is a device that spans two LAN segments, connecting them into a larger, unified
network as long as they use the same protocol.
Thus, a bridge offers the grace of selective forwarding—only passing frames that need to
cross segments.
✨ Types of Bridges
1. Transparent Bridge
3. Translation Bridge
📌 Summary
4. Switch
✨ Key Features
✨ Types of Switches
1. Two-Layer Switch
• Operates at:
o Physical Layer (Layer 1)
o Data Link Layer (Layer 2)
2. Three-Layer Switch
• Operates at:
o Physical Layer
o Data Link Layer
o Network Layer (Layer 3)
• Performs functions similar to a router
o Lookup
Page 8 of 92
o Forwarding
5. Router
A router is an internetworking device that connects multiple networks and forwards data
packets based on their IP address.
It acts like a vigilant gatekeeper, guiding packets along the most suitable path.
✨ Layer-Wise Functioning
• Physical Layer:
Regenerates/reshapes signals before passing them further.
• Data Link Layer:
Checks physical (MAC) addresses contained in the frame header.
• Network Layer:
Examines the network (IP) address and decides the forwarding route.
Page 9 of 92
✨ Key Features
Ans: Router
Device Purpose
A. Router iv. Directs network traffic
B. Switch ii. Connects devices
C. Modem iii. Converts digital signals
D. Access Point i. Extends Wi-Fi coverage
Q4. Frames from one LAN can be transmitted to another LAN via which device?
Ans: Bridge
Q5. An Ethernet card used for establishing a wired network is also known as a
______.
✨ Key Points
Page 11 of 92
✨ Key Points
Ans: RAM
Q2. ____ is a device that combines many low-speed lines into one high-speed line.
Ans: Multiplexer
Q3. Which device understands data format and translates messages from one format
to another?
Ans: Gateway
Page 12 of 92
SWITCHING –
🌐 What is Switching?
✨ Advantages of Switching
🔶 Types of Switching
1. Circuit Switching
2. Packet Switching
o i. Virtual Circuit Approach
o ii. Datagram Approach
Page 13 of 92
3. Message Switching
1. Circuit Switching
✨ Key Features
Page 14 of 92
C. Connection Termination (Teardown Phase)
📝 IMPORTANT QUESTION
PACKET SWITCHING
In packet switching, a message is first divided into small, manageable units called
packets.
These packets travel across the network independently, and each packet may take the
shortest available path at the time of transmission.
✨ Key Characteristics
A. Datagram Approach
✨ Features
• No guarantee of delivery
• Router treats each packet separately
• Best used for:
o Real-time applications
o Voice/Video streaming
o Online gaming
✨ Phases
1. Connection Establishment
2. Data Transfer
3. Connection Termination
✨ Features
Page 16 of 92
• Ensures ordered delivery
• Reliable and error-controlled
• Suitable for:
o Email
o File transfer
o Web browsing
Page 17 of 92
MESSAGE SWITCHING
In Message Switching, the entire message is treated as a single unit and transferred from
one node to another using the Store-and-Forward technique.
Every intermediate device (node) temporarily stores the complete message, checks it, and
then forwards it to the next node.
There is no dedicated path between the sender and receiver.
This switching technique offers flexibility but may introduce delay due to storage at every
hop.
✨ Key Features
Page 18 of 92
📝 IMPORTANT QUESTIONS
Q1. Identify the switching technique in which the message is divided into smaller
pieces, each piece having a unique number and address for correct ordering at the
receiving end.
TRANSMISSION MEDIA
• OSI Model
• TCP/IP Model
Page 19 of 92
✨ Factors to Consider While Designing Transmission Media
1. Bandwidth
2. Transmission Impairment
Transmission impairment occurs when the received signal is not identical to the
transmitted signal.
It leads to distortion and degradation in signal quality.
3. Interference
i. Attenuation
Page 20 of 92
• Meaning: Loss of signal energy during transmission.
• When a signal travels long distances, its strength gradually becomes weak.
• Important:
o Attenuation ↑ → Signal quality ↓
o Requires amplifiers to boost the signal.
ii. Distortion
iii. Noise
Transmission media are pathways that carry data signals from sender to receiver.
Key Points:
Page 22 of 92
• Contains metal foil shielding around the pairs.
• More expensive than UTP.
• Provides better protection from EMI and noise.
• Used in industries, high-interference environments.
2. Coaxial Cable
Also known as co-ax because two conductors share the same axis.
Structure:
Usage:
Page 23 of 92
3. Fibre Optic Cable
(You mentioned the term; complete details can be added when you give more points.)
Types:
b. Microwave Transmission
Two forms:
c. Infrared Transmission
Page 24 of 92
• Short-range communication
• Used in remote controls, sensors
Coaxial Cable
2. Transmission Types
📡 Baseband Transmission
🌈 Broadband Transmission
✨ Key Features
1. 🌟 Core
o Innermost, pure optical glass or plastic.
o Carries actual light signals.
2. 💠 Cladding
o Glass coating around the core.
o Provides lower refractive index → causes total internal reflection.
3. 🛡️ Plastic Cover (Outer Jacket)
o Protects from environmental hazards, moisture, dust, stress.
A. Multimode Fiber
Page 26 of 92
2. Multimode Graded-Index Fiber
B. Single-Mode Fiber
Definition
Page 27 of 92
Wireless (Unguided / Unbounded) Media refers to the transmission of data or signals
through electromagnetic waves, without using any physical medium such as cables.
A. Radio Waves
Overview
Key Characteristics
Applications
Page 28 of 92
B.
Microwave Transmission
Overview
Key Characteristics
Page 29 of 92
• Unidirectional transmission (one direction at a time).
• Cannot penetrate solid objects.
• Requires Line of Sight (LOS) between transmitter and receiver.
• High bandwidth and high data rate.
1. Terrestrial Microwave
Description
Features
2. Satellite Microwave
Description
Page 30 of 92
Applications
• International telephone
networks
• Mobile communication
• TV broadcasting
• GPS (Global Positioning
System)
• Global data transmission
C. Infrared Transmission
Overview
Key Characteristics
Applications
• TV remote controls
• Data transfer between mobile phones
• Computer-to-computer short-range communication
Page 31 of 92
Computer Network Paper Solution
01. In computer network nodes are:
02. A host is connected to a department network which is part of a university network. The
university network, in turn, is part of the Internet. The largest network, in which the
Ethernet address of the host is unique, is:
03. Which of the following networks is considered as the first network that initiated the
internet?
✅ (a) ARPANET
(b) UUCPNET
(c) AOL
(d) PTRINET
Page 32 of 92
04. Which of the following term is used for a computer network that typically connects
personal computers within a limited geographical area, usually within a single building?
✅ (a) LAN
(b) WAN
(c) MAN
(d) BAN
(a) Ring
(b) Bus
✅ (c) Stack
(d) Star
07.______ topology requires highest number of ports and largest amount of cabling in
computer networks.
(a) Star
(b) Ring
✅ (c) Mesh
(d) Bus
✅ (a) Star
(b) Mesh
(c) Ring
(d) More than one of the above
Page 33 of 92
09. The topology with highest reliability is:
(a) Star
(b) Ring
✅ (c) Mesh
(d) More than one of the above
10. A ______ topology uses a single connection to connect all devices together.
✅ (a) Bus
(b) Star
(c) Ring
(d) More than one of the above
11. A ______ is used to connect networking devices that are in a very close geographic
area such as a floor of a building.
(a) WAN
✅ (b) LAN
(c) MAN
(d) More than one of the above
12. In a fully-connected mesh network with 10 computers, total ______ number of cables
are required and ______ number of ports are required for each device.
(a) 40, 9
(b) 45, 10
✅ (c) 45, 9
(d) 50, 10 12
(a) I and II
(b) I and III
Page 34 of 92
✅ (c) II and III
(d) I, II and III
II. Metropolitan area network support both data and voices transmission
(a) Only I
(b) Only II
✅ (c) Both I and II
(d) Neither I nor II
I. Star topology
II. Bus topology
III. Car topology
✅ (a) I and II
(b) I and III
(c) II and III
(d) I, II and III
17. _____ is loosely coupled system and ______ is tightly coupled system.
Page 35 of 92
(a) Star Network
(b) Ring Network
(c) Hybrid Network
✅ (d) Singleton Network
19. How many maximum links can be created in a mesh topology network of n computer?
(a) n
(b) n-1
(c) n(n-1)
✅ (d) n(n-1)/2
21. Which of the following is a communication pathway connecting two or more devices
of a computer?
✅ (a) Bus
(b) Memory
(c) UPS
(d) Control Unit (CU)
23. Which type of network shares the communication channel among all the machines?
Page 36 of 92
24. Which of the following networks extends a private network across public networks?
25. Which device is used to connect multiple devices within the same local area network
(LAN)?
(a) Router
✅ (b) Switch
(c) Bridge
(d) More than one of the above
(a) A method of determining which device has access to the transmission medium at any
time
(b) A method access control technique or multiple access transmission media
(c) Very common but oriented at linked protocol issued to ISO
✅ (d) A network access standard for connecting stations to a circuit switch network
27. Identify the topology from the given options, which is a hierarchical topology, in
which there are multiple branches and each branch can have one or more basic topologies
and are usually connect multiple LAN.
28. Frames from one LAN can be transmitted to another LAN via a device called:
(a) Router
✅ (b) Bridge
(c) Repeater
(d) Modem 28
29. The communication between the components in a microcomputer takes place via the
address and ______:
Page 37 of 92
(a) I/O bus
✅ (b) Data bus
(c) Address bus
(d) Control lines
30. Garuda Skill Education has set up their new skill training campus... The campus has
three close by buildings connected with each other using CAT6 cable. Which type of
network is established?
(a) PAN
(b) MAN
✅ (c) LAN
(d) WAN
32. A physical connection between the microprocessor memory and other parts of the
microcomputer is known as:
(a) Path
✅ (b) Address bus
(c) Route
(d) All of these
(a) 1 Mbps
✅ (b) 2 Mbps
(c) 5 Mbps
(d) More than one of the above
34. In which of the following the density of the core remains constant from the center to
the edges?
Page 38 of 92
(d) Single mode step-index fiber
35. The bit rate of a signal is 3000 bps. If each signal unit carries 6 bits, the baud rate of
the signal is:
36. Assume that we need to download text documents at the rate of 100 pages per minute.
A page is an average 24 lines with 80 characters... each character requires 8 bits. Then the
required bit rate... is:
Page 39 of 92
37. ______ mode allows transmission in both directions simultaneously.
✅ (a) Duplex
(b) Half duplex
(c) Simplex
(d) Half simplex
38. What kind of transmission medium is most appropriate to carry data in a computer
network that is exposed to electrical interference?
✅ (a) E-mail
(b) Transferring large volume of data
(c) Supporting communication between nodes in a LAN
Page 40 of 92
(d) More than one of the above
40. In a fast Ethernet cabling, 100 base-TX uses ______ cable and maximum segment size
is ______.
41. A network with bandwidth of 10 Mbps can pass an average of 12,000 frames per
minute with each frame carrying an average of 10,000 bits. What is the throughput of this
network?
(a) 1 Mbps
✅ (b) 2 Mbps
(c) 10 Mbps
(d) 12 Mbps
43. ______ mode allows transmission in either direction but not simultaneously.
(a) Duplex
✅ (b) Half duplex
(c) Simplex
(d) Half-simplex
44. ______ is a device that combines a large number of low speed transmission lines into a
high speed line.
✅ (a) Multiplexer
(b) Demultiplexer
(c) Repeater
(d) Switch
Page 41 of 92
(a) Noise
(b) Distortion
✅ (c) Attenuation
(d) Scattering 45
48. Which of the following statement(s) is/are true regarding Data Communication?
(a) Only I
✅ (b) Only II
(c) Both I and II
(d) Neither I nor II
49. Which of the following statement(s) is/are true regarding switching techniques?
II. In packet switching each information... is broken down into smaller packets.
Page 42 of 92
(a) Only I
(b) Only II
✅ (c) Both I and II
(d) Neither I nor II
50. Which of the following connector is used by Unshielded Twisted Pair (UTP)?
✅ (a) RJ45
(b) RJ55
(c) RS45
(d) RS55
52. Which of the following is correct formula for calculating wavelength (lambda)?
53. In periodic analog signals, which of the following is NOT a parameter to describe a
sine wave?
✅ (a) Wavelength
(b) Phase
(c) Frequency
(d) Peak amplitude
Page 43 of 92
(d) None of these
✅ (a) Simplex
(b) Half-duplex
(c) Full-duplex
(d) More than one of the above
57. Which of the following techniques is used for transmitting digital signal?
58. Which of the following transmission media works on the principle of total internal
reflection?
60. Which data communication method is used to transmit the data over a serial
communication link?
(a) Simplex
(b) Half-duplex
(c) Full-duplex
Page 44 of 92
✅ (d) All of these
61. Which of the following is not the possible ways of data exchange?
(a) Simplex
✅ (b) Multiplex
(c) Half-duplex
(d) Full-duplex
65. Which switching technique establishes a dedicated physical path between source and
destination nodes?
Page 45 of 92
67. Which transmission technique guarantees that data packets will be received in the
same order in which they were sent?
(a) Broadcasting
(b) Unicasting
(c) Packet switching
✅ (d) Circuit switching
(a) Hub
(b) Modem
✅ (c) Switch
(d) Gateway
69. In which switching each packet of a message follow the same path from sender to
receiver?
70. The number of crosspoints needed for 10 lines in a crosspoint switch (full duplex, no
self-connection) is:
(a) 100
(b) 45
(c) 50
✅ (d) 90
71. Identify the switching technique in which the message is divided into smaller pieces
(unique numbers and addresses):
72. Which device understands format/content and translates messages from one format to
another?
Page 46 of 92
✅ (a) Gateway
(b) Hub
(c) Switch
(d) Router
75. Which device is needed to connect two systems if they use different protocols?
(a) Repeater
✅ (b) Gateway
(c) Bridge
(d) Hub
76. Which type of guided media are categorized by Radio Government (RG) ratings?
78. Match network devices with purposes [Router, Switch, Modem, Access Point]:
Page 47 of 92
✅ (a) A-iv, B-ii, C-iii, D-i
(b) A-iv, B-iii, C-i, D-ii
(c) A-iii, B-i, C-iv, D-ii
(d) A-i, B-iv, C-ii, D-iii
✅ (a) Analog
(b) Digital
(c) Monologue
(d) Multilogue
(a) INTERANET
✅ (b) INTERNET
(c) NETWORKING
(d) COMMUNICATION
Page 48 of 92
83. ______ is a combination of hardware and software that facilitates sharing of
information:
✅ (a) Network
(b) Peripheral
(c) Expansion board
(d) Digital device
(a) ISDN
✅ (b) WIFI hotspots
(c) Cable
(d) Dial-up
85. In which types of internet connections is a telephone line used for data transmission?
(a) Broadband
✅ (b) Dial up
(c) Satellite
(d) Fibre optic
(a) Full-Duplex
(b) Simplex
✅ (c) Complex
(d) Half-Duplex
88. Which among the following is NOT true with reference to wireless networks?
(a) Wireless means without wire, that is made up of electromagnetic waves (EM waves) or
Infrared waves.
✅ (b) They are more secure and hence reliable when compared to wired networks.
(c) Installation is quick when compared to wired networks.
(d) Slow transmission speed when compared to wired networks.
89. Four types of channels used in LAN: twisted pair, coaxial, radio waves, and ______:
Page 49 of 92
(a) ISDN cable
(b) PSDN cable
(c) X-ray waves
✅ (d) Fiber optics
90. The network cable commonly used to connect one computer to another is:
91. What is a Virtual Private Network? आभासी निजी परिपथ (Virtual Private Network) क्या है?
(a) It is a private computer circuit of an organization, in which remote users can transmit
information through the organization's supervisor (server)
✅ (b) It is a computer circuit built on private internet, which gives users the facility
to enter their organization's circuit and keeps the transmitted information safe
(c) It is a computer circuit through which users can access the shared pool of computing
resources through a service provider
(d) None of the above
92. Which of the following is a low power, local area wireless communication
technology?
✅ (a) Bluetooth
(b) Wi-Max
(c) Ethernet
(d) Cellular Network
(a) Wavelength
(b) Frequency
(c) Storage capacity
✅ (d) Data transfer rate
94. Technologies like ATM, SONET and Frame Relay are used by:
(a) LAN
(b) PAN
✅ (c) WAN
(d) MAN
Page 50 of 92
95. Which of the following statements is true regarding WAN?
(ii) WANs use technologies like MPLS, ATM, Frame Relay and X.25.
(a) Switch
(b) Access points
✅ (c) Data packet (d) Router
Page 51 of 92
Network Models
1. OSI model (open system interconnection model)
2. TCP/IP model (transmission control protocol/internet protocol)
OSI Model
• It is also known as reference model that describe that how information or message
from a software application from a computer move through physical medium to
another software application in another computer.
• OSI model is consists of 7 layer and each layer performs and network function.
• It is developed by ISO international standardisation organisation in 1984.
• The upper layer of osi model deals with application related issues.
• Implemented only on software.
Lower layer
• The lower layer of osi model deals with data transfer related issues.
• Implemented with hardware and software.
Transport Layer
Page 52 of 92
Page 53 of 92
Page 54 of 92
Function of OSI Model
Layer 1: Physical Layer
• Physical layer is the bottom most layer of the OSI model that co-ordinate the
function required to transmit bit stream over the transmission media.
• The Physical Layer deals with the actual transmission of data over the physical
medium.
Question:
What is the correct encapsulation order from top (data) to bottom (bits) when sending the
data?
3️⃣ Signals
Page 55 of 92
4️⃣ Bitrate / Transmission Rate (Data Rate)
• The total number of bits transmitted per second is defined by the Physical
Layer.
• Bus
• Ring
• Star
• Tree
• Mesh
• Hybrid
• Simplex
• Half Duplex
• Full Duplex
Page 56 of 92
🔹 Layer 2: Data Link Layer
The Data Link Layer is responsible for transmitting a frame from node to next node
(hop to hop).
1️⃣ Framing
• It divides data into data units, and each data unit is called a frame.
Page 57 of 92
3️⃣ Flow Control
• If the receiver’s data rate is less than the sender’s data rate,
the Data Link Layer is responsible for flow control.
• The Data Link Layer determines which device has control over the link at a given
time.
2️⃣ Routing
Page 59 of 92
The Transport Layer is responsible for process to process delivery, and it ensures
whether the message arrives in order or not.
Page 60 of 92
3️⃣ Segmentation and Reassembly
• The message received in the Transport Layer from upper layer is divided into small
units called segments.
• Each segment is assigned a sequence number.
• This sequence number is used by the Transport Layer to arrange segments at the
receiver end.
• Transport Layer also provides flow control and error control to ensure reliable
delivery.
2️⃣ Synchronization
Page 61 of 92
• Session Layer adds some check points while transmitting data sequence.
• If any error occurs in the middle of data transmission, then transmission will take
place from the checkpoints.
• This process is called synchronization and recovery.
1️⃣ Translation
• Encryption converts the plain text into cipher message (encrypted message).
• Decryption converts encrypted message back to plain text.
Page 63 of 92
TCP / IP Model
(Transmission Control Protocol / Internet Protocol Model)
📌 Introduction
Page 64 of 92
Page 65 of 92
Page 66 of 92
🔹 Important Conceptual Question
❓ Question
Assume that source (S) and destination (D) are connected through two intermediate
routers (R).
Determine how many times a packet has to visit:
✅ Answer
Page 67 of 92
OSI Model TCP / IP Model
Theoretical and conceptual Experimental / practical implementation.
model.
Seven layer model (vertical Four layer model (horizontal approach).
approach).
Internet working is not Internet working is supported.
supported.
Strict layering. Loosely layered.
Protocol independent model. Protocol dependent model.
All packets are delivered Reliability is provided by the TCP protocol; IP
reliably. packets do not guarantee reliable delivery.
Service, interface, and Service interfaces are defined, but the protocols
protocol are clearly defined. are not clearly defined beforehand.
Page 68 of 92
Network Performance
Performance of a network is dependent on the following factors:
1. Bandwidth
2. Throughput
3. Latency
4. Jitter
5. Round Trip Time
Kb = 103
Mb = 106 (Million)
Gb = 109 (Billion)
Tb = 1012 (Trillion)
Page 69 of 92
🔹 Basic Data Units
📌 Bit
📌 Byte
• Byte is a combination of 8
binary digits.
• 1 Byte = 8 Bits
🔹 1. Bandwidth
📌 Measurement of Bandwidth
📌 Formula of Bandwidth
• Bandwidth = fₕ − fₗ
o High frequency − Low frequency
Page 70 of 92
🔹 2. Throughput
• Noise
• Congestion
• Errors
❓ Question (Throughput)
A network whose bandwidth is 10 Mbps, but it can transmit only 12000 frames per
minute,
in which each frame carries 10000 bits, calculate the throughput of the network?
✨ Throughput is the actual rate of successful data transmission, not what the network
can carry, but what it does carry.
Page 71 of 92
Step 3: Convert minutes to seconds
120,000,000
Bits per second =
60
= 2,000,000 bits per second
• Throughput = 2 Mbps
🔹 3. Latency (Delay)
• Latency (delay) refers to how much time is taken by a bit to travel from one
point to another.
• It is the time taken by data to pass through the channel.
Page 72 of 92
📌 Delay
• Delay means how long time is taken to transmit data from one end to another.
i. Propagation Time
ii. Transmission Time
iii. Queuing Time
iv. Processing Time
Formula:
• PT = Distance / Speed
• Propagation speed depends on:
o Transmission media
o Frequency of the signal
Page 73 of 92
Formula:
🔹 4. Jitter
• RTT (Round Trip Time) refers to the time taken to send a packet from one end
of the network to the other end and back.
Page 74 of 92
🔹 Numerical Questions
What is the propagation time if the distance between two nodes is 12000 km?
Assume the propagation speed is 2.4 × 10⁸ meters per second.
📌 Given
Page 75 of 92
• Distance between two nodes = 12,000 km
• Propagation speed = 2.4 × 10⁸ m/s
Propagation speed is given in meters per second, so distance must also be in meters.
Distance
Propagation Time =
Propagation Speed
12 × 106
=
2.4 × 108
🧮 Step 3: Simplify
12
= × 10−2
2.4
= 5 × 10−2 seconds
✅ Answer
• 50 milliseconds
✅ Answer
• 0.02 millisecond
Page 77 of 92
Unit of Measured in bps (bits Measured in bps Measured in bps
Measurement per second) or Hz (in (bits per second). (bits per second).
analog systems).
Dependency Depends on the Depends on the Depends on noise,
physical medium and sender and congestion, errors,
channel capacity. communication and network
technology. conditions.
Effect of Noise Not affected by noise May remain fixed Directly affected
& Congestion or congestion. even if conditions and often reduced
degrade. due to noise,
congestion, and
errors.
Relation to Sets the upper limit of Represents the Represents the
Performance network performance. intended actual performance
transmission speed. experienced.
Example A link has bandwidth Data is sent at 8 Data is actually
of 10 Mbps. Mbps. received at 6 Mbps.
• Application Layer is the top most / highest layer of the protocol suite.
• It provides services to the user.
• It is the only layer that provides services to Internet users.
• Communication at this layer is provided through local connection.
Page 78 of 92
🔹 Application Layer Protocols
Examples:
❓ Q1. Which of the following transport layer protocol is used to send email?
A. SMTP
B. HTTP
C. TCP
D. UDP
Page 79 of 92
✅ Answer
❓ Q2. Which protocol in application layer is used to read email on web browser?
✅ Answer
• HTTP
A. Structural Components
B. Semantic Components
• HTML
• XML
• XHTML
• XSL
Page 80 of 92
2️⃣ Dynamic Documents
• JSP
• CSS
• CGI – Common Gateway Interface
🔹 Protocols
📌 Nature of HTTP
📌 HTTP Communication
Page 81 of 92
📌 Reliability
📌 Data Format
START_LINE <CRLF>
MESSAGE_HEADER <CRLF>
<CRLF>
MESSAGE_BODY <CRLF>
🔹 HTTP Connections
📌 Working:
Page 83 of 92
📌 Working:
❓ Question
Assume that:
What is the minimum number of TCP connections required to display the web page
completely?
✅ Answer
• 6 TCP connections
Page 84 of 92
🔹 HTTP Cookies
📌 Types of Cookies
• Authentication Cookies
• Tracking Cookies
• Session Cookies
• Persistent Cookies
🔹 HTTP Caching
• Proxy Server
• Internet Service Provider (ISP)
• Web Browser
🔹 HTTP Security
Page 85 of 92
📌 HTTPS Features:
• Confidentiality
• Client and Server Authentication
• Data Integrity
• Port number: 403 (as per your notes)
1. User Interface
2. Control Process
3. Data Transfer Process
Page 87 of 92
🔹 File Data Structures in FTP
• Default structure
• Does not have a specific structure
• Data is stored as a continuous byte stream
• Default mode
• Data is delivered from FTP to TCP as a continuous stream of bytes
Page 88 of 92
2️⃣ Block Mode
🔹 FTP Security
📘 Electronic Mail
(SMTP, MIME, POP, IMAP)
• Email is one of the oldest and most popular services of the Internet.
• It is mainly used for Electronic Data Interchange (EDI).
Page 89 of 92
🔹 Main Components of Email System
Protocols used:
🔹 Case 1: When Sender and Receiver Are on the Same Email System
📌 Requirements
Page 90 of 92
📌 Explanation
• Since both sender and receiver are on the same email system,
the message does not need to travel between different mail servers.
• Therefore, SMTP and MTA are not required.
• The email is handled locally within the same system using User Agents only.
📌 Requirements
📌 Explanation
Page 91 of 92
Page 92 of 92
📘 Namespace, Domain Name System (DNS) & SNMP
🔹 Namespace
🔹 Mapping Example
[Link]
🔹 Types of Namespace
Page 1 of 11
📌 Characteristics of Domain Name Space
Page 2 of 11
🔹 Domains in the Internet
Examples:
• org → organization
• edu → education
• co → company
• com → commercial
Examples:
• in → India
• au → Australia
• uk → United Kingdom
• jp → Japan
Page 3 of 11
3️⃣ Inverse Domain
🔹 SNMP
• SNMP is a framework used to manage devices on the Internet using the TCP/IP
protocol suite.
• SNMP is an Application Layer protocol.
• It is used to monitor and manage routers and network devices.
Port Numbers:
Page 4 of 11
• UDP 161 → Agent
• UDP 162 → Manager
Data
Application
Layer
Segment
• The Transport Layer lies between the Application Layer and the Network /
Internet Layer.
• It is called the heart of the OSI model.
• The Transport Layer is the fourth layer of the OSI model.
Page 5 of 11
• It is the core part of the Internet model.
• It responds to service requests from the Session Layer.
• It issues service requests to the Network Layer.
• The Transport Layer provides transparent data transfer between hosts.
• It supports:
o Process to process delivery
o End to end control over the system
• The Transport Layer is responsible for delivering data to and from the
appropriate application process.
• This is achieved using multiplexing.
📌 Socket Address
Page 6 of 11
🔹 Port Addressing
Page 7 of 11
67 Dynamic Host Used on networks that do not use static UDP
/68 Configuration IP address assignment.
Protocol (DHCP)
80 Hypertext Transfer Used for browsing web-pages on a TCP
Protocol (HTTP) browser
110 Post Office Protocol Port used to retrieve complete contents TCP
(POP3) of a server mailbox
143 Internet Message Internet Message Access Protocol TCP and
Access Protocol (IMAP4) is a new protocol to read an UDP
(IMAP4) email with a wider range of operations
194 Internet Relay Chat allows communication in form of text TCP and
Protocol(IRC) between multiple parties, one or more UDP
clients can connect to a centralized
server.
443 HTTP with Secure Port used for secure web traffic TCP and
Sockets Layer (SSL) UDP
3389 Remote Desktop Port used by remote desktop to TCP and
Protocol(RDP) remotely manage other windows UDP
system
ICANN (Internet Corporation for Assigned Names and Numbers) divides port
numbers into three parts:
Page 8 of 11
3️⃣ Dynamic / Short-Lived Ports
(Ephemeral Ports)
(49152 – 65535)
Page 9 of 11
📌 Explanation
• When data is received from multiple sources, it is called Multiplexing.
• When data is delivered to multiple destinations, it is called Demultiplexing.
🔹 Flow Control
• Flow control is the process through which the data transmission rate is
controlled between sender and receiver.
Page 11 of 11