Module-1
Module-1
1. What is Networking?
2. Star Topology
Structure: All devices are connected to a central hub or switch.
Data Flow: Communication happens through the central hub.
Advantages:
✅ Easy to manage and troubleshoot.
✅ Failure of one device does not affect the network.
Disadvantages:
❌ If the central hub fails, the whole network stops working.
❌ Requires more cabling.
3. Ring Topology
Structure: Devices are connected in a circular loop, forming a closed
circuit.
Data Flow: Data travels in one or both directions in the ring.
Advantages:
✅ Efficient for small networks.
✅ Prevents data collisions.
Disadvantages:
❌ If one device fails, the entire network is affected.
❌ Difficult to expand.
4. Mesh Topology
Structure: Every device is connected to every other device.
Data Flow: Data can take multiple paths to reach its destination.
Types:
o Full Mesh: All devices are connected to each other.
o Partial Mesh: Only some devices are interconnected.
Advantages:
✅ Very reliable (failure of one connection doesn’t impact
communication).
✅ No traffic congestion.
Disadvantages:
❌ Expensive due to high cabling costs.
❌ Complex to set up and maintain.
6. Hybrid Topology
Structure: Combination of two or more topologies (e.g., Star-Mesh,
Star-Bus).
Advantages:
✅ Flexible and scalable.
✅ Reliable due to multiple topologies.
Disadvantages:
❌ Complex and costly to set up.
🔹 Devices: Routers.
🔹 The OSI Model is used for teaching and conceptual understanding, while
the TCP/IP Model is used in real-world networking (like the Internet).
Internet TCP/IP Protocol Stack
The TCP/IP (Transmission Control Protocol/Internet Protocol) model is
a simplified networking model used for real-world Internet
communication. It was developed by DARPA for ARPANET, the predecessor
of the modern Internet.
📌 Key Points:
✔ It consists of four layers (compared to the OSI model's seven layers).
✔ It is a practical implementation used in the Internet.
✔ It defines how data is sent, routed, and received across networks.
2. Internet Layer
Handles logical addressing (IP addresses) and routing of packets.
Responsible for fragmentation and reassembly of data.
Works like OSI’s Network Layer.
📌 Protocols:
IP (Internet Protocol) – Defines addressing (IPv4, IPv6).
ICMP (Internet Control Message Protocol) – Used for error reporting
(e.g., ping).
ARP (Address Resolution Protocol) – Maps IP addresses to MAC
addresses.
🔹 Devices: Routers.
3. Transport Layer
Ensures end-to-end communication between devices.
Manages error detection, retransmission, and flow control.
Works like OSI’s Transport Layer.
📌 Protocols:
TCP (Transmission Control Protocol) – Reliable, connection-oriented
(e.g., web browsing, email).
UDP (User Datagram Protocol) – Fast, connectionless (e.g., video
streaming, gaming).
4. Application Layer
Provides network services to applications.
Includes OSI’s Application, Presentation, and Session layers.
📌 Protocols:
HTTP/HTTPS – Web browsing.
FTP – File transfers.
SMTP, POP3, IMAP – Email.
DNS (Domain Name System) – Translates domain names to IP
addresses.
🔹 Example: When you type www.google.com, the DNS converts it into an IP
address, and HTTP fetches the webpage.
Conclusion
The TCP/IP model is the foundation of the modern Internet and
networking.
It simplifies communication compared to the OSI model.
It allows devices to connect and exchange data globally. 🚀
Client/Server Paradigm
The Client/Server Paradigm is a fundamental model for communication in
computer networks, where a client requests services, and a server provides
them. This model is widely used in web applications, databases, and cloud
computing.
Key Components
1. Client:
o A device or software that initiates requests for services.
o Example: Web browsers (Chrome, Firefox) act as clients when
requesting a webpage.
2. Server:
o A system that responds to client requests and provides the
requested services.
o Example: A web server hosting a website.
3. Network:
o The communication medium between clients and servers.
o Example: The Internet, LAN, Wi-Fi.
How It Works?
1. The client sends a request to the server.
2. The server processes the request.
3. The server sends a response back to the client.
🔹 Example:
When you type "www.google.com", your browser (client) requests
data from Google’s web server.
Google’s server processes the request and sends the webpage data
back.
Your browser displays the webpage.
Advantages
✔ Centralized Management – Servers control resources, making
administration easier.
✔ Scalability – Servers can handle multiple clients efficiently.
✔ Security – Data is controlled and managed securely on the server.
✔ Better Performance – Optimized resource allocation.
Disadvantages
❌ Single Point of Failure – If the server crashes, all clients lose access.
❌ Scalability Issues – High traffic may require powerful servers.
❌ Latency – Delays in response time over long distances.
Conclusion
The Client/Server model is widely used in modern computing for websites,
cloud services, and enterprise applications. It enables efficient data
management, scalability, and security, making it the backbone of the
Internet. 🚀
End-to-End Communication: Packet Switching and Circuit Switching
End-to-end communication is the process of transmitting data between two
devices over a network. It ensures data integrity, reliability, and efficiency.
There are two primary techniques for establishing communication:
Conclusion
Packet switching is used in the Internet, making communication fast,
scalable, and efficient.
Circuit switching is used in telephone networks, ensuring reliable,
uninterrupted voice calls.
The Internet relies on packet switching because it handles multiple
users dynamically. 🚀