0% found this document useful (0 votes)
2 views48 pages

Introduction to NET

The document provides an introduction to computer networking, defining it as a system that connects computers to share information and resources. It discusses the importance and benefits of networking, including communication, resource sharing, and data security, as well as the basic components of a network such as devices, links, and protocols. Additionally, it covers various types of networks (LANs, MANs, WANs) and their topologies (bus, ring, star, mesh), along with networking hardware devices like Network Interface Cards (NICs).

Uploaded by

gundabhai786ff
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views48 pages

Introduction to NET

The document provides an introduction to computer networking, defining it as a system that connects computers to share information and resources. It discusses the importance and benefits of networking, including communication, resource sharing, and data security, as well as the basic components of a network such as devices, links, and protocols. Additionally, it covers various types of networks (LANs, MANs, WANs) and their topologies (bus, ring, star, mesh), along with networking hardware devices like Network Interface Cards (NICs).

Uploaded by

gundabhai786ff
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

INTRODUCTION TO NETWORKING

1
Salma M. Shaikh
UNIT-I

1.1 INTRODUCTION TO NETWORKING

DEFINITION OF COMPUTER NETWORKING

Computer networking is like having a group of friends who all have phones and can
call or text each other. In computer networking, instead of phones, we have computers
and instead of phone lines, we use cables, Wi-Fi, or other methods to connect them.
When computers are connected to a network, they can share information and resources,
like files, printers, and internet connections. This allows them to communicate with
each other quickly and easily, just like friends talking on their phones.

A computer network consists of various kinds of nodes. Servers, networking hardware,


personal computers, and other specialized or general-purpose hosts can all be nodes in
a computer network. Hostnames and network addresses are used to identify them.

2
Salma M. Shaikh
What is a Computer Network?
A computer network is a system that connects many independent computers to share
information (data) and resources. The integration of computers and other different
devices allows users to communicate more easily. A computer network is a collection
of two or more computer systems that are linked together. A network connection can
be established using either cable or wireless media. Hardware and software are used to
connect computers and tools in any network.

What Do Computer Networks Do?


Computer Networks are one of the important aspects of Computer Science. In the early
days, it is used for data transmission on telephone lines and had a very limited use, but
nowadays, it is used in a variety of places.

Computer Networks help in providing better connectivity that helps nowadays. Modern
computer networks have the following functionality:
✓ Computer Networks help in operating virtually
✓ Computer Networks integrate on a large scale
✓ Computer Networks respond very quickly in case of conditions change
✓ Computer Networks help in providing data security

IMPORTANCE AND BENEFITS OF NETWORKING

IMPORTANCE
Computer networking plays a crucial role in both personal and professional life. It
connects multiple devices and systems, enabling seamless communication, resource
sharing, and efficient data handling. Below are its key importance points:

1. Communication and Connectivity


✓ Enables instant communication through emails, chats, video conferencing, VoIP,
etc.
✓ Connects users across the globe, reducing geographical barriers.

2. Resource Sharing
✓ Printers, files, internet connections, and even software applications can be shared
across the network.
✓ Saves cost by reducing the need for individual resources per user.

3. Centralized Data Management


✓ Allows organizations to store, manage, and access data centrally using servers.
✓ Easier backup and disaster recovery.

3
Salma M. Shaikh
4. Data Security and Access Control
✓ Facilitates authorization and authentication mechanisms.
✓ Centralized security policies, firewalls, and intrusion detection systems can be
implemented.

5. Scalability
✓ Networks are designed to easily add or remove devices without major changes.
✓ Supports growing needs of organizations and businesses.

BENEFITS
Benefit Explanation
Increased Efficiency Speeds up communication and data sharing, reducing
delays.
Data Backup & Regular backups and failover systems minimize data loss
Recovery during failures.
Better Collaboration Teams can work together on shared platforms, boosting
teamwork.
Flexibility Laptops, mobile devices, IoT devices can easily connect to
networks.
Security Monitoring Admins can monitor and control network activity, detect
threats early.
Cost Savings Shared infrastructure and remote access reduce expenses.
Real-Time Access Users can access updated information instantly across the
network.
Supports Modern Facilitates the use of AI, IoT, cloud computing, and remote
Tech services.

BASIC COMPONENTS OF A NETWORK

In simple terms, a computer network is made up of two main parts: devices (called
nodes) and connections (called links). The links connect the devices to each other. The
rules for how these connections send information are called communication protocols.
The starting and ending points of these communications are often called ports.

4
Salma M. Shaikh
1. Network Devices
Basic hardware interconnecting network nodes, such as Network Interface Cards
(NICs), Bridges, Hubs, Switches, and Routers, are used in all networks. In addition, a
mechanism for connecting these building parts is necessary, which is usually galvanic
cable and optical cable are less popular ("optical fiber”) The following are the network
devices:

✓ NIC (Network Interface Card): A network card, often known as a network


adapter or NIC (network interface card), is computer hardware that enables
computers to communicate via a network. It offers physical access to networking
media and, in many cases, MAC addresses serve as a low-level addressing
scheme.

✓ Repeater: A repeater is an electrical device that receives a signal, cleans it of


unwanted noise, regenerates it, and retransmits it at a higher power level or to
the opposite side of an obstruction, allowing the signal to travel greater distances
without degradation.

✓ Hub: A hub is a device that joins together many twisted pairs or fiber optic
Ethernet devices to give the illusion of a formation of a single network segment.
The device can be visualized as a multiport repeater.

✓ Bridges: Bridges broadcast data to all the ports but not to the one that received
the transmission. Bridges, on the other hand, learn which MAC addresses are
5
Salma M. Shaikh
reachable through specific ports rather than copying messages to all ports as
hubs do

✓ Switches: A switch differs from a hub in that it only forwards frames to the ports
that are participating in the communication, rather than all of the ports that are
connected.

✓ Routers: Routers are networking devices that use headers and forwarding tables
to find the optimal way to forward data packets between networks. A router is a
computer networking device that links two or more computer networks and
selectively exchanges data packets between them.

✓ Gateways: To provide system compatibility, a gateway may contain devices


such as protocol translators, impedance-matching devices, rate converters, fault
isolators, or signal translators. By completing the necessary protocol
conversions, a protocol translation/mapping gateway joins networks that use
distinct network protocol technologies.

2. Links
Links are the ways information travels between devices, and they can be of two types:

✓ Wired: Communication done in a wired medium. Copper wire, twisted pair, or


fiber optic cables are all options. A wired network employs wires to link devices
to the Internet or another network, such as laptops or desktop PCs.

✓ Wireless: Wireless means without wire, media that is made up of


electromagnetic waves (EM Waves) or infrared waves. Antennas or sensors will
be present on all wireless devices. For data or voice communication, a wireless
network uses radio frequency waves rather than wires.

3. Communication Protocols
A communication protocol is a set of rules that all devices follow when they share
information. Some common protocols are TCP/IP, IEEE 802, Ethernet, wireless LAN,
and cellular standards. TCP/IP is a model that organizes how communication works in
modern networks. It has four functional layers for these communication links:

✓ Network Access Layer: This layer controls how data is physically transferred,
including how hardware sends data through wires or fibers.

✓ Internet Layer: This layer packages data into understandable packets and
ensures it can be sent and received.
6
Salma M. Shaikh
✓ Transport Layer: This layer keeps the communication between devices steady
and reliable.

✓ Application Layer: This layer allows high-level applications to access the


network to start data transfer.

Most of the modern internet structure is based on the TCP/IP model, although the
similar seven-layer OSI model still has a strong influence.

IEEE 802 is a group of standards for local area networks (LAN) and metropolitan area
networks (MAN). The most well-known member of the IEEE 802 family is wireless
LAN, commonly known as WLAN or Wi-Fi.

4. Network Défense
While nodes, links, and protocols are the building blocks of a network, a modern
network also needs strong defences. Security is crucial because huge amounts of data
are constantly being created, moved, and processed. Some examples of network
defence tools are firewalls, intrusion detection systems (IDS), intrusion prevention
systems (IPS), network access control (NAC), content filters, proxy servers, anti-DDoS
devices, and load balancers.

7
Salma M. Shaikh
1.2 NETWORK TYPES AND TOPOLOGIES

LOCAL AREA NETWORKS (LANS)

🖧 LAN – Local Area Network


Definition:
A LAN (Local Area Network) is a network that interconnects computers and devices
in a small, localized area such as a home, office, laboratory, or school building. It is
typically confined to a single building or campus.

Features:
✓ Private Ownership: LANs are often owned, controlled, and maintained by a
single person or organization.
✓ High Data Transfer Rates: Typically, 100 Mbps to 10 Gbps, depending on
hardware (Ethernet cables, switches).
✓ Low Latency: Data travels quickly due to short physical distances.
✓ Supports File Sharing and Resource Sharing: Printers, scanners, applications,
and storage devices can be used by multiple users on the network.
✓ Wi-Fi Access: A Wireless LAN (WLAN) uses wireless access points and allows
devices like laptops, smartphones, and tablets to connect without cables.

Components
✓ Computers, printers, switches, routers, Ethernet cables
✓ Wireless LANs use Wi-Fi (Access Points)

8
Salma M. Shaikh
Advantages
✓ High data transfer speed
✓ Easy to set up and expand
✓ Secure since it's privately managed

Real-World Applications:
✓ Offices: Sharing files, using shared printers, accessing internal software.
✓ Homes: Connecting laptops, TVs, gaming consoles, smartphones, and IoT
devices via Wi-Fi.
✓ Educational Institutions: For internal communication and access to learning
resources.

Protocols Used:
✓ Ethernet (IEEE 802.3)
✓ Wi-Fi (IEEE 802.11)

METROPOLITAN AREA NETWORKS (MANS)

MAN – Metropolitan Area Network


Definition:
A MAN (Metropolitan Area Network) is a network that spans across a city or a large
campus, connecting multiple LANs within a specific geographical area, usually 5–50
kilometres in range.

9
Salma M. Shaikh
Features:
✓ Bridges the Gap Between LAN and WAN: Offers higher reach than LAN, but
isn’t as widespread as WAN.
✓ Commonly Managed by ISPs or Local Authorities: Can also be maintained
by large organizations that operate in multiple buildings across a city.
✓ Backbone Network: Often serves as a high-speed backbone to which smaller
LANs connect.
✓ Higher Bandwidth than WAN: Offers faster data transfer compared to WAN
due to shorter [Link] Fiber Optic or Coaxial Cables for faster
transmission over longer distances.

Advantages
✓ Connects multiple LANs across a city
✓ Ideal for organizations with branches in a city
✓ Provides high-speed backbone for large urban networks

Real-World Applications:
✓ Universities with multiple campuses across a city
✓ Cable TV networks
✓ City-wide surveillance systems
✓ Metro Wi-Fi networks for public internet access
✓ Banks that want to link their branches in the same city

Technologies Used:
✓ Metro Ethernet
✓ SONET (Synchronous Optical Network)
✓ ATM (Asynchronous Transfer Mode)
✓ Wireless (WiMAX) for wireless city-wide networks

WIDE AREA NETWORKS (WANS)

WAN – Wide Area Network


Definition:
A WAN (Wide Area Network) spans large geographical areas, often a country,
continent, or entire globe. It connects multiple LANs and MANs and enables long-
distance communication and data exchange.

10
Salma M. Shaikh
Features:
✓ Not Confined to One Location: Connects users across cities, countries, and
continents.
✓ Typically Uses Public Networks (Internet): Though private leased lines or
VPNs are used for secure connections.
✓ Lower Data Speeds Compared to LANs: Due to longer distances and more
devices/hops involved.
✓ Can Be Prone to Latency and Packet Loss: Especially if poor routing or
satellite links are used.
✓ Expensive Infrastructure: Due to the high cost of leased lines, international
connectivity, and routing.

Advantages
✓ Enables global communication
✓ Connects distant offices, data centers, and users
✓ Centralized data and services can be accessed remotely

Real-World Applications:
✓ Multinational companies connecting offices worldwide
✓ Banking networks for ATMs and inter-branch operations
✓ E-commerce platforms and cloud-based services
✓ Global communication services like Skype, WhatsApp, Zoom
✓ The Internet itself is the largest WAN

Technologies Used:
✓ Leased Lines
✓ Frame Relay, MPLS
✓ ATM
✓ Public Internet with VPN encryption
✓ Satellite Communication
11
Salma M. Shaikh
NETWORK TOPOLOGIES: BUS, STAR, RING, MESH

The structure of the network and how each component is connected to the others are
defined by the network topology. Different types of network topology are mentioned
below:

✓ Bus Topology
✓ Ring Topology
✓ Star Topology
✓ Mesh Topology

[Link] Topology
Every computer and network device are connected to a single cable in a bus topology
network. Linear Bus topology is defined as having exactly two terminals.

Advantages:
✓ Installation is simple
✓ Compared to mesh, star, and tree topologies, the bus utilizes less cabling

Disadvantages
✓ Difficulty in reconfiguring and isolating faults
✓ A bus cable malfunction or break interrupts all communication

12
Salma M. Shaikh
[Link] Topology
The topology is named ring topology because one computer is connected to another,
with the final one being connected to the first. Exactly two neighbors for each device.
A signal is passed along the ring in one direction. Each ring incorporates a repeater.

Advantages
✓ Data transmission is relatively straightforward because packets only move in one
direction
✓ There is no requirement for a central controller to manage communication
between nodes
✓ Easy installation & Reconfiguration
✓ Simplified Faulty connections

Disadvantages
✓ In a Unidirectional Ring, a data packet must traverse through all nodes
✓ All computers must be turned on in order for them to connect with one another

[Link] Topology
Each device in a star topology has a dedicated point-to-point link to a central controller,
which is commonly referred to as the HUB. There is no direct connection between the
devices. Traffic between the devices is not allowed in this topology. As an exchange,
the controller is used.

13
Salma M. Shaikh
Advantages
✓ When attaching or disconnecting devices, there are no network interruptions
✓ It's simple to set up and configure
✓ Identifying and isolating faults is simple
✓ Less Expensive than mesh
✓ Easy to install & configure

Disadvantages
✓ Nodes attached to the hub, switch, or concentrator is failed if they fail
✓ Because of the expense of the hubs, it is more expensive than linear bus
topologies
✓ More cable is required compared to a bus or ring
✓ Too much dependency on Hub

[Link] Topology
Every device in a mesh topology has dedicated point-to-point connectivity to every
other device. The term "dedicated" refers to the fact that the link exclusively transports
data between the two devices it links. To connect n devices, a fully connected mesh
network contains n *(n-1)/2 physical channels.

14
Salma M. Shaikh
Advantages
✓ Data can be sent from multiple devices at the same time. This topology can
handle a lot of traffic.
✓ Even if one of the connections fails, a backup is always available. As a result,
data transit is unaffected.
✓ Physical boundaries prevent other users from gaining access to messages.
✓ Point to Point links make fault transmission & fault isolation easy.

Disadvantages
✓ The amount of cabling and the number of I/O ports that are necessary.
✓ The sheer bulk of wiring can be greater than the available space can
accommodate.
✓ It is difficult to install and reconfigure.

Example: Connection of telephone regional office in which each regional office needs
to be connected to every other regional office.

15
Salma M. Shaikh
1.3 NETWORKING HARDWARE DEVICES

NETWORK INTERFACE CARD (NIC)

🖧 NIC
Definition:
A Network Interface Card (NIC) is a hardware component that allows a computer or
device to connect to a network. It serves as the interface between the computer and the
network transmission medium (like Ethernet cables or Wi-Fi signals).

It is also known as:


✓ Network adapter
✓ LAN card
✓ Ethernet card (for wired connections)

Functions of NIC
Function Description
Physical Connection Connects the computer to a network via cable (Ethernet) or
wirelessly (Wi-Fi).
Data Transmission Converts digital data from the computer into signals for the
network and vice versa.
MAC Address Each NIC has a unique MAC (Media Access Control)
Assignment address that identifies the device on a network.
Error Detection Checks for errors in data transmission using CRC or other
mechanisms.
Framing NIC breaks data into frames for transmission and
reassembles them on reception.
Speed Regulation Supports data speeds like 10 Mbps, 100 Mbps, 1 Gbps, and
beyond.

Types of NICs
Type Description
Wired NIC Connects via Ethernet cables (RJ-45 connectors). Used in
desktops, servers, etc.
Wireless NIC (Wi- Connects to networks wirelessly using radio waves. Common
Fi card) in laptops, smartphones, tablets.
USB NIC External plug-and-play network adapter that connects via
USB port.

16
Salma M. Shaikh
Fiber NIC Used in high-speed fiber-optic networks. Common in data
centers.

Components of a Typical NIC


✓ Controller Chip – Brain of the NIC, handles communication.
✓ Transceiver – Sends/receives network signals.
✓ ROM/EEPROM – Stores MAC address.
✓ Ports/Connectors – RJ-45 (for Ethernet), antenna (for Wi-Fi), or fiber ports.
✓ Bus Interface – Connects NIC to motherboard (PCI, PCIe, or USB interface).

MAC Address (Media Access Control Address)


✓ A unique 48-bit address hardcoded into the NIC by the manufacturer.
✓ Example: 00:1A:2B:3C:4D:5E
✓ Used by switches and routers to identify devices on a network.

Speeds Supported by NICs


Type Speed
Fast Ethernet 100 Mbps
Gigabit Ethernet 1 Gbps
10 Gigabit 10 Gbps
Ethernet
Wi-Fi NICs Ranges from 11 Mbps (802.11b) to several Gbps
(802.11ac/ax)

Where is NIC used?


✓ Desktops and laptops (built-in or external)
✓ Servers and routers
✓ IoT devices and smart TVs
✓ Gaming consoles
✓ Data centers

Advantages of NIC
✓ Enables internet/network access
✓ Supports high-speed communication
✓ Essential for file sharing, printing, video conferencing
✓ Reliable and secure transmission (especially in wired NICs)

Difference Between Wired and Wireless NIC


Feature Wired NIC Wireless NIC
Medium Ethernet cable Radio waves
17
Salma M. Shaikh
Speed Generally faster May vary with distance and interference
Stability Very stable May be affected by obstacles
Mobility Less mobile Highly mobile

Summary
✓ The NIC is a vital component that connects a computer to a LAN, MAN, or
WAN.
✓ It can be wired or wireless, and is responsible for data transmission, addressing,
and error control.
✓ Every NIC has a MAC address that is unique and used for identifying devices in
the network.

SWITCHES AND HUBS

1. HUB
Definition:
A hub is a basic networking device that connects multiple computers or devices in a
Local Area Network (LAN). It works at the Physical Layer (Layer 1) of the OSI model.
It simply receives data from one device and broadcasts it to all other connected devices,
regardless of the destination.

Characteristics:
Feature Description
Data Sends data to all ports, even if it's meant for one device
Transmission (broadcasts data).
Speed 10 Mbps or 100 Mbps (older tech)
Ports Usually 4, 8, or 16
Type of Device Passive or Active (Active hubs amplify signal)
Cost Cheaper than switches
Intelligence No intelligence – no filtering or learning of MAC addresses

Disadvantages:
✓ Causes network congestion due to broadcasting
✓ Slower performance
✓ Not secure – data is visible to all devices
✓ No collision management (can lead to data loss in busy networks)

18
Salma M. Shaikh
Use Cases:
✓ Rarely used today
✓ Small home networks (legacy setups)
✓ For temporary, quick setups without complex needs

🖧 2. SWITCH
Definition:
A switch is a smarter networking device used in LANs. It operates at the Data Link
Layer (Layer 2) and sometimes at the Network Layer (Layer 3) (known as Layer 3
switches). It learns MAC addresses and forwards data only to the intended device.

Characteristics:
Feature Description
Data Sends data only to the intended port/device (unicast)
Transmission
Speed 100 Mbps, 1 Gbps, 10 Gbps
MAC Address Maintains a table of MAC addresses to decide where to send
Table data
Collision Domain Each port has its own collision domain (improves efficiency)
Full-Duplex Mode Supports simultaneous send and receive operations
Security More secure, as data isn't broadcasted unnecessarily
Advanced VLANs, port security, Quality of Service (QoS), spanning tree
Features protocol (STP)

Advantages of Switch:
✓ Efficient and faster than hubs
✓ Reduces unnecessary data traffic
✓ Reduces network collisions
✓ Suitable for modern LANs and business networks

Use Cases:
✓ Offices and enterprise networks
✓ Computer labs
✓ Data centers
✓ Connecting servers and routers

19
Salma M. Shaikh
HUB vs SWITCH: Key Differences
Feature HUB SWITCH
OSI Layer Layer 1 (Physical) Layer 2 (Data Link) or Layer 3
Data Direction Broadcasts to all devices Sends only to the correct device
Speed Slower (10/100 Mbps) Faster (up to 10 Gbps)
Collision Domain One shared domain One per port
MAC Address Table No Yes
Security Less secure More secure
Efficiency Low High
Price Cheaper Slightly more expensive

Summary
Device Intelligent? Broadcasts Data? Used Today?
Hub No Yes Rarely
Switch Yes No (except unknown MACs) Widely used

Real-World Analogy
Hub: Like shouting in a room—everyone hears even if the message is for one person.
Switch: Like sending a private letter to the correct person—only they receive it.

ROUTERS AND GATEWAYS

1. ROUTER
Definition:
A Router is a networking device that connects multiple networks together and forwards
data packets between them based on IP addresses. It operates mainly at the Network
Layer (Layer 3) of the OSI model.
Most home internet connections use routers to connect local devices (LAN) to the
internet (WAN).

Key Functions:
Function Description
Routing Chooses the best path for data to reach its destination
using routing algorithms (like RIP, OSPF).
IP Address Assignment Provides IP addresses to devices via DHCP (Dynamic
Host Configuration Protocol).
NAT (Network Address Converts private IP addresses to public IPs to access the
Translation) internet securely.
20
Salma M. Shaikh
Traffic Management Directs incoming and outgoing traffic efficiently.
Firewall Functions Offers basic security by filtering traffic.

Types of Routers:
✓ Wired Routers (connected via Ethernet)
✓ Wireless Routers (Wi-Fi Routers) – common in homes/offices
✓ Core Routers – used in large enterprise networks or ISPs
✓ Edge Routers – connect internal networks to external ones

Real-World Example:
When you use your smartphone or laptop to connect to Wi-Fi at home, your device is
connecting to a router which then sends the request to your ISP and receives data from
the internet.

2. GATEWAY
Definition:
A Gateway is a device that acts as a translator between two different network
architectures, protocols, or environments. It can operate at any layer of the OSI model,
depending on what is being converted or translated.
All gateways are routers, but not all routers are gateways.

Key Functions:
Function Description
Routing Chooses the best path for data to reach its destination
using routing algorithms (like RIP, OSPF).
IP Address Assignment Provides IP addresses to devices via DHCP (Dynamic
Host Configuration Protocol).
NAT (Network Address Converts private IP addresses to public IPs to access the
Translation) internet securely.
Traffic Management Directs incoming and outgoing traffic efficiently.
Firewall Functions Offers basic security by filtering traffic.

Types of Gateways:
✓ Network Gateway – Connects LAN to WAN or Internet.
✓ Cloud Gateway – Links enterprise network to cloud services.
✓ VoIP Gateway – Converts voice signals into data packets.
✓ Payment Gateway – Used in e-commerce for secure transaction processing.

21
Salma M. Shaikh
Real-World Example:
A payment gateway processes your credit card details online by connecting your bank’s
network to the seller’s platform and validating the transaction using secure protocols.

Summary
Device Key Role Used For
Router Directs data between Internet access, LAN to WAN, home and
networks office use
Gateway Translates protocols & Interfacing different systems, cloud, VoIP,
data IoT

Real-World Analogy
✓ Router: Like a traffic cop that directs cars (data) to the right roads (network
paths).
✓ Gateway: Like a translator who helps two people speaking different languages
communicate.

MODEMS AND BRIDGES

1. MODEM (Modulator–Demodulator)
Definition:
A Modem is a hardware device that converts digital signals from a computer into
analog signals that can be sent over telephone lines (modulation) and converts
incoming analog signals into digital form (demodulation). It operates primarily at the
Physical Layer (Layer 1) of the OSI model.
The name "Modem" is short for Modulator + Demodulator.

Key Functions:
Function Description
Modulation Converts digital data into analog signals for transmission over
telephone or DSL lines.
Demodulation Converts incoming analog signals into digital format for
computers to process.
Internet Access Enables internet connectivity, especially for DSL, cable, or
fiber services.
Signal Some modems amplify signals to maintain quality over long
Amplification distances.

22
Salma M. Shaikh
Types of Modems:
Type Description
Dial-up Modem Uses telephone lines (slow: up to 56 Kbps)
DSL Modem High-speed modem over telephone lines
Cable Modem Uses cable TV infrastructure for internet
Fiber Modem Used in fiber-optic broadband connections
(ONT)
External vs. External (separate device), Internal (installed in the
Internal computer)

Real-World Use Case:


When you connect your computer or router to the internet, it's the modem that
communicates with your Internet Service Provider (ISP).

Key Features:
✓ Provides WAN access
✓ Needs ISP authentication
✓ Can work with or without a router

2. BRIDGE
Definition:
A Bridge is a network device that connects two or more network segments and filters
traffic between them based on MAC addresses. It operates at the Data Link Layer
(Layer 2) of the OSI model.
A bridge "bridges" two similar networks (like LAN segments), allowing them to
function as one logical network.

Key Functions:
Function Description
Segment Connection Connects two LANs to reduce traffic and expand the
network.
MAC Address Learns MAC addresses and forwards data only to the correct
Filtering segment.
Collision Reduction Limits data collisions by dividing traffic.
Network Isolation Keeps traffic separate unless necessary (helps security and
efficiency).

23
Salma M. Shaikh
Types of Bridges:
Type Description
Transparent Learns MAC addresses and forwards frames accordingly
Bridge (common in Ethernet LANs).
Translational Connects different types of networks (e.g., Ethernet to Wi-Fi).
Bridge
Remote Bridge Connects distant LANs using a WAN (e.g., internet).

Real-World Use Case:


An organization may use a bridge to connect two departments with their own LANs
while keeping their traffic isolated to reduce congestion.

Bridge vs. Switch:


A switch is like a modern bridge with multiple ports and better performance.
Bridges are simpler, usually with only two or three ports.

Real-World Analogy
✓ Modem: Like a translator who converts one language (digital) into another
(analog) so people (networks) can communicate over long distances.
✓ Bridge: Like a toll bridge that connects two cities but only lets relevant vehicles
(data packets) cross, reducing unnecessary traffic.

Summary
Device Purpose Works With OSI Layer
Modem Connects devices to the internet ISP, router Layer 1
Bridge Connects LAN segments LAN-only devices Layer 2

24
Salma M. Shaikh
UNIT-II

2.1 NETWORK MODELS

TCP/IP PROTOCOL SUITE

TCP/IP Protocol Suite


Definition:
The TCP/IP Protocol Suite is a set of communication protocols used to interconnect
network devices on the Internet. It stands for:

TCP: Transmission Control Protocol


IP: Internet Protocol

Together, TCP/IP defines how data should be packetized, addressed, transmitted,


routed, and received on a network.
It is the backbone of the Internet and all modern communication.

Role of TCP/IP
One of its main goals is to make sure that the data sent by the sender arrives safely and
correctly at the receiver’s end. To do this, the data is broken down into smaller parts
called packets before being sent. These packets travel separately and are reassembled
in the correct order when they reach the destination. This helps prevent errors and
makes sure the message is complete and accurate.

25
Salma M. Shaikh
Layers of TCP/IP Model
The TCP/IP model has 4 layers, which map closely to the 7-layer OSI model:
TCP/IP Layer Corresponding OSI Function
Layer(s)
1. Application Layer OSI Layers 5, 6, 7 User interface and network
services
2. Transport Layer OSI Layer 4 End-to-end communication and
reliability
3. Internet Layer OSI Layer 3 Logical addressing and routing
4. Network Access OSI Layers 1 and 2 Physical transmission of data
Layer

1. Application Layer
Role:
✓ Provides network services directly to applications like browsers, email clients,
FTP software, etc.
✓ Handles high-level protocols, data formatting, encryption, and session control.

Common Protocols:
Protocol Function
HTTP/HTTPS Web browsing and secure communication
FTP/SFTP File transfer
SMTP Sending emails
POP3/IMAP Receiving emails
DNS Resolving domain names to IP addresses
Telnet / SSH Remote login (SSH is secure)
SNMP Network monitoring and management

2. Transport Layer
Role:
✓ Provides end-to-end communication between devices.
✓ Responsible for data segmentation, error checking, and flow control.

Key Protocols:
Protocol Description
TCP (Transmission Control Connection-oriented, reliable, guarantees
Protocol) delivery
UDP (User Datagram Protocol) Connectionless, fast but less reliable (no
acknowledgment)
26
Salma M. Shaikh
3. Internet Layer
Role:
✓ Handles logical addressing and routing of data packets across multiple networks.

Key Protocols:
Protocol Function
IP (Internet Protocol) Provides IP addressing and routing
ICMP (Internet Control Message Error reporting and diagnostics (e.g., ping)
Protocol)
ARP (Address Resolution Protocol) Maps IP address to MAC address
IGMP (Internet Group Management Supports multicasting (one-to-many
Protocol) communication)

4. Data Link Layer (also called Network Access Layer )


Role:
✓ Deals with the physical transmission of data over the network.
✓ Includes device drivers, MAC addressing, framing, and error detection.

Key Technologies:
✓ Ethernet
✓ Wi-Fi (IEEE 802.11)
✓ PPP (Point-to-Point Protocol)
✓ Frame Relay
✓ Token Ring

Data Flow in TCP/IP Stack

27
Salma M. Shaikh
Sender Side:
✓ Application Layer: Prepares user data using protocols like HTTP, FTP, or
SMTP.
✓ Transport Layer (TCP/UDP): Breaks data into segments and ensures reliable
(TCP) or fast (UDP) delivery.
✓ Internet Layer (IP): Adds IP addresses and decides the best route for each
packet.
✓ Link Layer (Network Access Layer): Converts packets into frames and sends
them over the physical network.

Receiver Side:
✓ Link Layer: Receives bits from the network and rebuilds frames to pass to the
next layer.
✓ Internet Layer: Checks the IP address, removes the IP header, and forwards
data to the Transport Layer.
✓ Transport Layer: Reassembles segments, checks for errors, and ensures data is
complete.
✓ Application Layer: Delivers the final data to the correct application (e.g.,
displays a web page in the browser).

Why TCP/IP is Used Over the OSI Model?


TCP/IP is used over the OSI model because it is simpler, practical, and widely adopted
for real-world networking and the internet. The diagram below shows the comparison
of OSI layer with the TCP:

28
Salma M. Shaikh
Advantages of TCP/IP
✓ Standardized: Universally adopted for internet and intranet communication
✓ Scalable: Supports large networks
✓ Interoperable: Works across all hardware and software platforms
✓ Robust: Provides error handling, congestion control, and reliability (TCP)

Limitations
✓ Less flexible compared to newer models
✓ Poor distinction between layers compared to OSI
✓ Not ideal for non-IP-based networks

29
Salma M. Shaikh
OSI MODEL

OSI MODEL – Open Systems Interconnection Model


Definition:
The OSI model is a conceptual framework that standardizes the functions of a
telecommunication or computing system into seven abstract layers. It helps different
networks and devices communicate with each other efficiently.
Developed by ISO (International Organization for Standardization) in 1984.

Why is the OSI Model Important?


Provides a universal language for understanding network interactions.
Helps design, troubleshoot, and secure networks.
Modular structure makes it easier to isolate and fix issues at a specific layer.

The 7 Layers of the OSI Model


Let’s explore each layer from Layer 1(bottom) to Layer 7(top):

1. Physical Layer (Hardware Layer)


✓ Deals with physical connection and signal transmission
✓ Transmits raw bits over a medium (cables, radio waves)

30
Salma M. Shaikh
Devices
Cables (Ethernet, fiber), Hubs, Repeaters, Modems

2. Data Link Layer (MAC Layer)


✓ Responsible for node-to-node delivery and error detection
✓ Divides data into frames

Sub-Layers
LLC (Logical Link Control) – Controls error checking and flow
MAC (Media Access Control) – Controls how devices access the medium

Devices
Switches, Bridges, NICs

31
Salma M. Shaikh
3. Network Layer (Routing Layer)
✓ Handles logical addressing (IP addresses) and routing
✓ Determines the best path for data to travel

Devices
Routers, Layer 3 Switches

4. Transport Layer (End-to-End Delivery)


✓ Provides reliable data transfer between two devices
✓ Manages flow control, error checking, and retransmission

Other Features
Segmentation and reassembly
Port addressing (e.g., port 80 for HTTP)

32
Salma M. Shaikh
5. Session Layer (Dialog Control Layer)
✓ Manages sessions (connections) between applications
✓ Establishes, maintains, and ends communication sessions

Key Functions
Session establishment and termination
Synchronization and checkpoints
Dialog control (half/full duplex)

6. Presentation Layer (Syntax Layer)


✓ Ensures data is in a readable format for the application layer
✓ Handles data encoding, compression, and encryption

Key Functions
Data translation (EBCDIC ↔ ASCII)
Data compression (e.g., ZIP)
Data encryption/decryption (SSL/TLS)
33
Salma M. Shaikh
7. Application Layer (User Interface Layer)
✓ Closest to the user
✓ Provides network services directly to user applications
✓ Manages application protocols like HTTP, FTP, SMTP

Key Functions
Web browsing (HTTP/HTTPS)
File transfers (FTP)
Email (SMTP, IMAP, POP3)
Remote access (Telnet, SSH)
Name resolution (DNS)

Real-Life Analogy
Imagine sending a letter through a postal system:

OSI Layer Analogy


7 Writing the message
6 Translating the language
5 Starting the conversation
4 Breaking the message into pages
3 Writing address on envelope
2 Addressing the mail for sorting
1 Dropping it into the mailbox

Benefits of OSI Model


✓ It divides network communication into 7 layers which makes it easier to
understand and troubleshoot.
✓ It standardizes network communications, as each layer has fixed functions and
protocols.
34
Salma M. Shaikh
✓ Diagnosing network problems is easier with the OSI model.
✓ It is easier to improve with advancements as each layer can get updates
separately.

Limitations
✓ The OSI Model has seven layers, which can be complicated and hard to
understand for beginners.
✓ In real-life networking, most systems use a simpler model called the Internet
protocol suite (TCP/IP), so the OSI Model is not always directly applicable.
✓ Each layer in the OSI Model adds its own set of rules and operations, which can
make the process more time-consuming and less efficient.
✓ The OSI Model is more of a theoretical framework, meaning it's great for
understanding concepts but not always practical for implementation.

IP ADDRESSING

Imagine every device on the internet as a house. For you to send a letter to a friend
living in one of these houses, you need their home address. In the digital world, this
home address is what we call an IP (Internet Protocol) Address. It's a unique string of
numbers separated by periods (IPv4) or colons (IPv6) that identifies each device
connected to the internet or a local network.

Think of it like a home address for your device in the digital world.

What is an IP Address?
An IP address (Internet Protocol Address) is a unique numerical identifier assigned to
each device connected to a network that uses the Internet Protocol. It enables devices
to locate and communicate with each other.

TYPES OF IP ADDRESSES
1. IPv4 (Internet Protocol Version 4)
✓ Most widely used version
✓ 32-bit address represented in dotted decimal format
✓ Format: [Link]
✓ Structure:
Consists of 4 octets (bytes) separated by dots
Each octet = 8 bits = number from 0 to 255
Example: 11000000.10101000.00000001.00000001 = [Link]
✓ Total addresses: ~4.3 billion (2³²)

35
Salma M. Shaikh
2. IPv6 (Internet Protocol Version 6)
✓ Developed due to IPv4 exhaustion
✓ 128-bit address represented in hexadecimal
✓ Format: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
✓ Features:
Provides 340 undecillion addresses (2¹²⁸)
Eliminates the need for NAT
Better security and efficiency
Auto-configuration support

TYPES OF IP ADDRESSES BASED ON USAGE


Type Description Example
Private IP Used within private networks (not [Link]
Address accessible from Internet)
Public IP Globally unique, used to identify devices [Link] (Google
Address on the Internet DNS)
Static IP Manually assigned, doesn't change Useful for servers
Address
Dynamic IP Assigned by DHCP server, changes over Common in home
Address time networks

Example: In a typical home network, the router assigns private IP addresses to each
device (like smartphones, laptops, smart TVs) from the reserved ranges. These devices
use their private IPs to communicate with each other and with the router. The router
uses NAT to allow these devices to access the internet using its public IP address.

36
Salma M. Shaikh
PRIVATE IP ADDRESS RANGES (IPv4)
Class Address Range
A [Link] – [Link]
B [Link] – [Link]
C [Link] – [Link]

These are non-routable on the internet and require NAT (Network Address
Translation) to communicate with public networks.

IP ADDRESS CLASSES (IPv4)


Based on the first octet, IP addresses are divided into 5 classes:

Class Starting Range Usage Default Subnet


Bit Mask
A 0 [Link] – Large networks [Link]
[Link]
B 10 [Link] – Medium networks [Link]
[Link]
C 110 [Link] – Small networks [Link]
[Link]
D 1110 [Link] – Multicast (not for N/A
[Link] hosts)
E 1111 [Link] – Experimental/research N/A
[Link]

127.x.x.x is reserved for loopback (e.g., [Link] = localhost)

37
Salma M. Shaikh
How Do IP Addresses Work?
1. Unique Identification
✓ Every device connected to a network, such as computers, smartphones, and
servers, is assigned an IP address.
✓ This address is used to identify the device on the network.

2. Communication Protocol
✓ The Internet Protocol (IP), part of the broader suite of internet protocols, uses
these addresses to facilitate the routing of data packets between devices.

3. Data Routing
When a device sends information to another device over the internet:
✓ The data is divided into packets.
✓ Each packet contains the IP address of the device it is destined for.
✓ Routers within the network read the destination IP address on each packet and
determine the best path for the packet to travel.
✓ Routers communicate with each other to update and maintain records of the
fastest, most efficient routes for data.

4. Local Area Networks (LAN) and Wide Area Networks (WAN)


✓ LAN: On local networks, IP addresses can be assigned manually by an
administrator (static IP) or automatically by a DHCP server. Devices within the
same network communicate directly using their local IP addresses.
✓ WAN: For devices on different networks, the data must travel through multiple
routers across the internet. Each router makes independent decisions about the
best route for the packets based on the destination IP address.

5. Network Address Translation (NAT)


✓ Most devices on a home or small business network share a single public IP
address when accessing the internet, even though each device has its own private
IP address within the local network.
✓ NAT is a process where multiple local IP addresses are mapped to a single public
IP address.
✓ This conserves IP addresses and adds a layer of security by hiding internal IP
addresses from the external network.

Real World Scenario: Sending an Email from New York to Tokyo


Let's explore how IP addresses work through a real-world example that involves
sending an email from one person to another across the globe:

38
Salma M. Shaikh
Step 1: Assigning IP Addresses
✓ Alice in New York wants to send an email to Bob in Tokyo.
✓ Alice’s laptop has a private IP address (e.g., [Link]) assigned by her router
at home.
✓ Bob's computer in Tokyo has a private IP address (e.g., [Link]) assigned by
his router at his office.

Step 2: Connection to the Internet


✓ Both Alice and Bob’s routers have public IP addresses assigned by their Internet
Service Providers (ISPs).
✓ These public IP addresses are what the devices use to send and receive data over
the internet.

Step 3: Sending the Email


✓ Alice writes her email and hits send.
✓ Her email service (e.g., Gmail) packages the message and its attachments into
data packets.
✓ Each packet includes the source IP (Alice’s router's public IP) and the destination
IP (Bob’s email server's public IP).

Step 4: Routing the Packets


✓ The data packets leave Alice’s laptop and travel to her home router.
✓ The router notes that the destination IP is outside the local network.
✓ The router sends the packets to Alice's ISP.
✓ The ISP uses routers that examine the destination IP address of the packets and
determine the best route to send them toward their destination.
✓ The packets may pass through several routers around the world, in data centers
in countries like Canada, Germany, and finally Japan.
✓ Each router along the way reads the destination IP and forwards the packets
accordingly.

Step 5: Reaching Bob


✓ The packets arrive at Bob's email server's ISP in Tokyo and are then forwarded
to the server.
✓ Bob's email server reassembles the packets into the original email message.

Step 6: Bob Accesses the Email


✓ Bob’s computer requests the email from his server using his local network IP.
✓ The server sends the email to Bob's computer, allowing him to read the message
Alice sent.

39
Salma M. Shaikh
Additional Details
NAT (Network Address Translation): Both Alice and Bob's routers perform NAT,
translating the private IP addresses to and from the public IP addresses when interfacing
with the internet. This process is crucial for keeping the number of public IPs needed
lower and adds a layer of security by masking internal network structures.

Dynamic IP Addressing: If either Alice or Bob’s public IP is dynamic, it might change


if they restart their routers. This doesn’t affect their ongoing activities much because
the DNS (Domain Name System) helps update the mapping of domain names (like
[Link]) to the current IP addresses.

SUBNETTING – Dividing IP Networks


What is Subnetting?
Subnetting is dividing a larger network into smaller sub-networks (subnets). This
improves efficiency and security by reducing traffic congestion.

Subnet Mask:
Defines the network and host portions of an IP address.
Example IP Subnet Mask Network Part Host Part
[Link] [Link] 192.168.1 .10

CIDR Notation (Classless Inter-Domain Routing) is used:


[Link]/24 means the first 24 bits represent the network.

Key Takeaways
✓ IP addressing uniquely identifies devices in a network.
✓ IPv4 uses 32-bit; IPv6 uses 128-bit addresses.
✓ Addresses can be public or private, static or dynamic.
✓ Subnetting helps organize networks better.
✓ IPv6 solves limitations of IPv4 like address exhaustion.

40
Salma M. Shaikh
2.2 NETWORK TROUBLESHOOTING

COMMON NETWORKING ISSUES AND THEIR CAUSES

In any network, whether it's a home Wi-Fi setup, a college lab, or a corporate data
center, network issues are common. These issues can slow down communication, cause
connection failures, or disrupt the entire network.

Below are the most frequent networking problems along with what typically causes
them.

1. Slow Network Performance


This occurs when file transfers, video streaming, or web browsing are slower than
expected.
Causes:
✓ Network congestion due to too many connected devices
✓ Low bandwidth or limited internet speed
✓ Outdated or overloaded hardware (e.g., old routers/switches)
✓ Signal interference (especially in wireless networks)
✓ Malware or background processes consuming bandwidth

2. No Internet Connection
The computer or device is connected to the network but has no access to the internet.
Causes:
✓ Faulty modem or router
✓ ISP issues or service outages
✓ Incorrect network settings (like DNS or IP address)
✓ Loose or damaged cables
✓ Wireless interference or being out of Wi-Fi range

🖧 3. IP Address Conflicts
Occurs when two or more devices on the same network are assigned the same IP
address.
Causes:
✓ Static IP address manually assigned to multiple devices
✓ DHCP server misconfiguration
✓ Improper network setup
Result: Devices cannot communicate properly on the network.

41
Salma M. Shaikh
4. Weak Wi-Fi Signal
The wireless signal is poor, resulting in dropped connections or low speeds.
Causes:
✓ Distance from the router
✓ Physical barriers (walls, furniture)
✓ Electronic interference from microwaves, cordless phones, etc.
✓ Overlapping Wi-Fi channels in nearby networks

5. Authentication Errors
You’re unable to connect to Wi-Fi due to a “wrong password” or "authentication failed"
message.
Causes:
✓ Incorrect Wi-Fi password
✓ Router settings updated but devices using old credentials
✓ MAC address filtering enabled on the router

6. Network Connection Drops Frequently


You keep getting disconnected from the network at random intervals.
Causes:
✓ Fluctuating ISP service
✓ Faulty router/modem
✓ Outdated firmware or network drivers
✓ Overheating of network devices
✓ Power fluctuations

7. DNS Resolution Issues


The device cannot reach websites even though the internet is working.
Causes:
✓ DNS server not responding
✓ Incorrect DNS settings
✓ DNS cache corruption
✓ ISP-related DNS problems
Fix: Changing to public DNS (like Google DNS: [Link]) often helps.

8. Firewall or Security Blocking Network


A device or service is not accessible, even though it's online.
Causes:
✓ Firewall settings blocking ports or IPs
✓ Antivirus software interfering with network traffic
✓ Incorrect port forwarding or filtering on router

42
Salma M. Shaikh
9. Broken Cables or Ports
Physical connection issues between devices.
Causes:
✓ Damaged Ethernet cables
✓ Loose connectors or ports
✓ Faulty NIC (Network Interface Card)

10. Incorrect Network Configuration


Devices fail to connect or communicate due to misconfigured settings.
Causes:
✓ Incorrect IP address, subnet mask, or gateway
✓ Wrong network mode (public vs private)
✓ Inconsistent configurations across devices

Quick Tips to Fix Network Issues:


✓ Restart router/modem
✓ Check cable and port connections
✓ Renew IP address (ipconfig /release and ipconfig /renew)
✓ Reset network settings
✓ Update firmware or drivers
✓ Scan for malware
✓ Use a Wi-Fi analyser to check signal strength

TROUBLESHOOTING METHODOLOGIES AND TOOLS

Network Troubleshooting Methodologies and Tools


Troubleshooting is the process of identifying, diagnosing, and resolving network
problems. A systematic approach helps technicians fix issues quickly and accurately.

A. TROUBLESHOOTING METHODOLOGIES
1. Identify the Problem
Start by gathering information about the issue:
✓ What is not working? (e.g., no internet, slow speed)
✓ When did it start?
✓ Is it affecting one device or many?
✓ Check cables, LEDs, and device status indicators.

2. Establish a Theory of Probable Cause


Based on the symptoms, suggest possible causes:
✓ Could it be a loose cable?
43
Salma M. Shaikh
✓ Is the router overheating?
✓ Could it be a configuration or software issue?
✓ Start with simple causes first before assuming major failures.

3. Test the Theory


Verify the suspected cause by:
✓ Replacing a cable
✓ Restarting the device
✓ Checking IP or DNS settings
✓ If the theory is wrong, go back and try another possibility.

4. Establish a Plan of Action


Once the cause is confirmed, plan how to fix it:
✓ Will you need to reset a device?
✓ Change settings?
✓ Replace hardware?

5. Implement the Solution


Apply the fix carefully, with minimal disruption to the user or network.

6. Verify Full System Functionality


Make sure everything is working properly:
✓ Test all affected devices
✓ Check for hidden or secondary issues

7. Document Findings and Actions


Always record:
✓ What the problem was
✓ How it was solved
✓ Tools or settings used
This helps in future troubleshooting and team communication.

B. COMMON NETWORK TROUBLESHOOTING TOOLS


1. Ping
✓ Sends a test packet to a destination IP or domain
✓ Checks connectivity and response time
Example: ping [Link]

2. Tracert / Traceroute
✓ Shows the path taken by packets to reach a destination
✓ Identifies where the connection is slowing or failing
44
Salma M. Shaikh
3. Ipconfig (Windows) / ifconfig or ip (Linux)
✓ Displays the device's IP address, gateway, subnet mask, etc.
✓ Useful for checking connectivity issues

4. nslookup / Dig
✓ Resolves domain names to IP addresses
✓ Checks if DNS is working correctly

5. Netstat
✓ Displays current network connections and listening ports
✓ Helps detect malware or unauthorized connections

6. Wireshark
✓ A packet analyzer that captures and examines network traffic in detail
✓ Used to diagnose complex network issues like packet loss, delays, etc.

7. Network Cable Tester


✓ Physical tool to check Ethernet cables for damage or faulty connections

8. Loopback Adapter
✓ A virtual device used to test local TCP/IP settings

9. Pathping
✓ Combines ping and tracert; gives more detailed hop-by-hop statistics

10. Speed Test Tools (Online)


✓ Measures bandwidth, latency, and download/upload speeds

Real-Life Example of Using Methodology + Tools


Problem: A user reports no internet.
Step 1: Ping the default gateway → fails
Step 2: Check ipconfig → IP is missing → DHCP issue
Step 3: Restart router or renew IP address → issue resolved
Step 4: Document the solution for future reference

Summary:
✓ Use a structured approach: identify → test → solve → document.
✓ Tools like ping, tracert, ipconfig, and Wireshark help in diagnosing issues.
✓ Troubleshooting saves time and avoids replacing good hardware unnecessarily.

45
Salma M. Shaikh
HANDS-ON TROUBLESHOOTING EXERCISES

These exercises include real-world scenarios, steps to follow, and expected outcomes,
great for classroom labs or self-practice.
Exercise 1: No Internet Connection
✓ Scenario:
You are connected to Wi-Fi but cannot access any websites.
✓ Tasks:
Check if other websites load.
Ping your router’s IP address (usually [Link] or [Link]).
Open Command Prompt and type:
ping [Link]
ping [Link]
✓ Type ipconfig and check:
IP address assigned?
Default gateway present?
✓ Expected Outcome:
If ping to IP works but not domain, it’s a DNS issue.
If no IP address is assigned, DHCP issue or router problem.

Exercise 2: IP Conflict Detection


✓ Scenario:
Two systems in the lab report a "duplicate IP" warning and drop off the
network.
✓ Tasks:
Run ipconfig on both systems.
Confirm if both have the same IP.
✓ Release and renew IP using:
ipconfig /release
ipconfig /renew
Set one device to static IP if needed.
✓ Expected Outcome:
Systems should receive different IPs if DHCP is working properly.
Network resumes normal functioning.

Exercise 3: Slow Internet Diagnosis


✓ Scenario:
A user complains of slow browsing.
✓ Tasks:
Check speed using an online speed test tool.
46
Salma M. Shaikh
Ping the default gateway and Google DNS ([Link]) — check for
delay/loss.
Check background apps (like updates or torrents) using Task Manager.
Run netstat to list all current connections.
✓ Expected Outcome:
Identify if it's a local issue, ISP issue, or resource-consuming apps.

Exercise 4: DNS Resolution Problem


✓ Scenario:
You can ping [Link] but not [Link].
✓ Tasks:
Run nslookup [Link].
✓ Change DNS to Google DNS:
Go to Network Settings > Change adapter options
Set DNS manually to [Link] and [Link]
Clear DNS cache using: ipconfig /flushdns
Retry accessing the site.
✓ Expected Outcome:
Website loads after DNS is fixed.

Exercise 5: Weak Wi-Fi Signal


✓ Scenario:
One room in your building has poor Wi-Fi signal.
✓ Tasks:
Use a mobile or laptop Wi-Fi analyzer to check signal strength.
Identify if there are walls, metal objects, or microwaves causing
interference.
Change the Wi-Fi channel on your router (login to router settings).
Try relocating the router or install a Wi-Fi repeater.
✓ Expected Outcome:
Signal improves and connectivity is more stable.

🖧 Exercise 6: Testing a Faulty Network Cable


✓ Scenario:
A desktop PC won’t connect even though others work fine on the same
switch.
✓ Tasks:
Check link light on NIC (network card).
Try the same cable with another PC.
Use a cable tester (if available).
Replace with a working cable and retest.
47
Salma M. Shaikh
✓ Expected Outcome:
Faulty cable replaced, and device connects successfully.

Exercise 7: Packet Capture with Wireshark


✓ Scenario:
You suspect unusual traffic or malware activity on a system.
✓ Tasks:
Install and open Wireshark.
Start capturing packets on your active network interface.
Visit a website and observe captured traffic.
✓ Stop capture and analyze:
Source/Destination IPs
Protocols used
Suspicious traffic or errors
✓ Expected Outcome:
You’ll understand packet flow and detect issues like excessive
retransmissions or unknown connections.

Tips for Instructors or Self-Practice:


✓ Always test in a controlled lab environment.
✓ Document what was observed, what was done, and what worked.
✓ Encourage using screenshots or notes for future reference.

48
Salma M. Shaikh

You might also like