Unit 6.4
Network Protocols and Hardware
IT 231: IT and Application
๐ฏ Learning Objectives
By the end of this session, you will be able to:
- โ
Define a network protocol and its purpose.
- โ
Describe the roles of TCP/IP and Ethernet.
- โ
Identify the key hardware components of a network.
What is a Network Protocol?
Protocol: A set of rules that governs how data is formatted, transmitted, and received in a network.
๐ฃ๏ธ Human Analogy
If I speak Nepali and you only speak English, we can't communicate. We need a shared language (a protocol).
๐ป Computer Analogy
For two computers to share data, they must "speak" the same digital language, like TCP/IP.
The Core Protocol: TCP/IP
TCP/IP is the foundational protocol suite of the internetโthe "language" every connected device speaks.
IP: The Postal Service ๐ฎ
The Internet Protocol is responsible for addressing and routing packets of data to the correct destination, like putting an address on an envelope.
TCP: The Registered Post ๐ฆ
The Transmission Control Protocol ensures data is delivered reliably and in the correct order, like a tracking number that confirms delivery.
Local Connections: The Ethernet Protocol
Ethernet: The most common protocol used for wired Local Area Networks (LANs).
- It defines how devices should format data for transmission over a physical cable.
- Think of the network cables in your university's computer lab or your officeโthat's Ethernet in action.
While Wi-Fi is the standard for wireless, Ethernet is the king of wired LAN connections, prized for its speed and stability.
Making the Connection: Networking Hardware
Protocols are the rules, but this hardware makes the physical connection possible.
Switch
Connects local devices
Router
Connects different networks
Modem
Connects to the ISP
Hardware 1: The Switch ๐
Switch: A device used to connect multiple computers together on a single Local Area Network (LAN).
Its job is to be a smart traffic controller *inside* the local network.
A switch intelligently forwards data only to the specific device it is intended for, which reduces unnecessary traffic and improves network efficiency.
Hardware 2: The Router ๐
Router: A device that connects different networks together, directing traffic between them.
Its main job is to connect your private LAN to the public internet (a Wide Area Network or WAN).
Your home "Wi-Fi router" is usually a combination device: a router, a switch, and a wireless access point all in one box.
๐ Switch vs. Router: A Comparison
Switch (Local Director)
- Scope: Within one LAN
- Function: Connects end devices (PCs, printers)
- Analogy: An office receptionist directing visitors to the right room.
Router (Global Navigator)
- Scope: Between different networks (LAN โ WAN)
- Function: Connects networks together
- Analogy: An airport traffic controller directing planes between cities.
Hardware 3: The Modem โก
Modem (Modulator-Demodulator): A device that connects your network to your Internet Service Provider (ISP).
- It acts as a translator.
- It converts the digital signals from your computer into signals suitable for the ISP's network (like fiber optic or cable).
- It then converts incoming signals back into digital data your router can understand.
๐ Practical Application: Connecting in Nepal
Scenario: Using Wi-Fi at a cafรฉ in Pokhara
When you connect your laptop to the internet via Wi-Fi, you are interacting with a chain of hardware:
- Your laptop connects wirelessly to the cafรฉ's Router (which is also a Wireless Access Point).
- The Router directs your request towards the internet.
- The Modem (often a fiber optic ONU in Nepal) translates your request for the ISP's network.
- The data travels over the ISP's network (e.g., WorldLink, Vianet) to the destination server. The process reverses for the reply!
Key Takeaways
- Protocols like TCP/IP are the essential rules that govern all network communication.
- A Switch connects devices together on a single Local Area Network (LAN).
- A Router connects different networks, most commonly your LAN to the internet (WAN).
- A Modem is the bridge between your local network and your Internet Service Provider.