SSC CGL Preparation – Day 15

Table of Contents

Computer Basics: Networking Devices and Protocols


πŸ”· Networking Devices

Networking devices are hardware components used to connect computers or other electronic devices together so they can share files or resources.


πŸ”Ή 1. Router

  • Function: Connects multiple networks (e.g., home network to the Internet).
  • Works on: Network Layer (Layer 3 of OSI Model).
  • Assigns: IP addresses using DHCP.
  • Example Use: Wi-Fi router at home connects multiple devices to the internet.

πŸ”Ή 2. Switch

  • Function: Connects multiple devices within a Local Area Network (LAN).
  • Works on: Data Link Layer (Layer 2).
  • Smarter than a hub – Sends data only to the intended device (MAC-based).
  • Example: Office network switch connects computers and printers.

πŸ”Ή 3. Hub

  • Function: Basic device to connect multiple devices in a network.
  • Works on: Physical Layer (Layer 1).
  • Broadcasts data to all devices regardless of the destination.
  • Not intelligent, less secure, rarely used now.

πŸ”Ή 4. Modem (Modulator-Demodulator)

  • Function: Converts digital signals to analog and vice versa.
  • Use: Enables internet connectivity via telephone or cable lines.
  • Example: BSNL modem or fiber modem.

πŸ”Ή 5. Access Point (AP)

  • Function: Allows wireless devices to connect to a wired network.
  • Used in: Expanding Wi-Fi coverage in large areas (offices, cafes, schools).

πŸ”Ή 6. Bridge

  • Function: Connects two LAN segments and filters traffic.
  • Works on: Data Link Layer.
  • Reduces traffic and avoids collisions.

πŸ”Ή 7. Gateway

  • Function: Acts as a translator between two different network protocols.
  • Works on: All layers of the OSI model.
  • Used to connect: LAN to external networks like the internet.

πŸ”· Networking Protocols

A protocol is a set of rules that define how data is transmitted and received over a network.


πŸ”Ή Common Networking Protocols:

ProtocolFull FormPurpose
HTTPHyperText Transfer ProtocolUsed for accessing web pages.
HTTPSHTTP SecureSecure version of HTTP.
FTPFile Transfer ProtocolTransfers files between computers.
TCP/IPTransmission Control Protocol/Internet ProtocolFundamental protocol suite for the internet.
IPInternet ProtocolAssigns addresses and routes data.
SMTPSimple Mail Transfer ProtocolSends emails.
POP3Post Office Protocol v3Retrieves emails from server (downloads and deletes).
IMAPInternet Message Access ProtocolRetrieves emails (keeps emails on server).
DHCPDynamic Host Configuration ProtocolAutomatically assigns IP addresses.
DNSDomain Name SystemTranslates domain names (like google.com) into IP addresses.

πŸ”Ή Comparison of Email Protocols:

ProtocolUseData Stored On Server?
SMTPSending emailsNo
POP3Receiving emailsNo (downloads & deletes)
IMAPReceiving emailsYes (remains on server)

πŸ”Ή TCP vs UDP

FeatureTCPUDP
Full FormTransmission Control ProtocolUser Datagram Protocol
ConnectionConnection-orientedConnectionless
ReliabilityReliableNot reliable
SpeedSlowerFaster
Use CaseEmails, Web browsingVideo streaming, VoIP

πŸ”Ή IP Addressing

  • IP address is a unique identifier for a device on a network.
  • Two Versions:
    • IPv4 (e.g., 192.168.0.1) – 32-bit
    • IPv6 (e.g., 2001:db8::ff00:42:8329) – 128-bit

πŸ”· OSI Model (Reference)

LayerFunction
7. ApplicationUser interface
6. PresentationData translation & encryption
5. SessionSession management
4. TransportEnd-to-end communication
3. NetworkIP addressing & routing
2. Data LinkMAC addressing
1. PhysicalTransmission media (cables, signals)

Most devices & protocols in networking operate on these layers.


πŸ”· Summary Table

DeviceOSI LayerFunction
HubPhysicalBroadcasts data
SwitchData LinkForwards data to specific devices
RouterNetworkRoutes data between networks
ModemPhysical/Data LinkConnects to the Internet
GatewayAll LayersProtocol translation
Access PointData LinkWireless LAN connectivity

Leave a Reply

Your email address will not be published. Required fields are marked *