Basic Networking for Beginners (Tutorial 1)

Learn Computer Networking from Scratch

In this tutorial, you will learn:

  • What is Networking?
  • Types of Networks
  • Network Devices
  • What is an IP Address?
  • Static IP vs Dynamic IP
  • IPv4
  • IPv6
  • DNS Server
  • MAC Address
  • IP Camera Example
  • Enterprise CCTV Networking Example

 

What is Networking?

A computer network is a group of two or more devices connected together to share information and resources.

Devices in a network can include:

  • Desktop computers
  • Laptops
  • Servers
  • IP Cameras
  • Network Printers
  • Mobile Phones
  • Switches
  • Routers
  • NVRs
  • DVRs

Real-Life Example

Imagine an office with:

  • 20 Computers
  • 10 Printers
  • 30 IP Cameras
  • 1 Server
  • Internet Connection

Without networking, every computer would work independently.

With networking:

  • Everyone shares files.
  • Everyone prints to the same printer.
  • Cameras send video to the NVR.
  • Employees access the internet.

Basic Network Diagram

                 Internet

                     │

                Router/Firewall

                     │

                 Gigabit Switch

          ┌────────────────────┐

          │                             │                              │

      Computer                    Printer                    IP Camera

                                         │

                                          NVR


Why Do We Need Networking?

Networking provides many advantages:

  • Share files
  • Share printers
  • Internet access
  • Email communication
  • CCTV monitoring
  • Remote access
  • Cloud storage
  • Centralized management
  • Cost savings
  • Easy maintenance

Types of Networks

1. LAN (Local Area Network)

Covers a small area like:

  • Home
  • Office
  • School
  • Building

Example:

One office with 20 computers connected to a switch.


2. MAN (Metropolitan Area Network)

Covers an entire city.

Example:

Connecting multiple company branches within one city.


3. WAN (Wide Area Network)

Covers countries or the whole world.

Example:

The Internet.


Network Devices

Computer

Used to send and receive data.


Server

Stores:

  • Files
  • Databases
  • Applications
  • User accounts

Switch

A switch connects devices inside a LAN.

Functions:

  • Connect computers
  • Connect IP cameras
  • Connect printers
  • Connect NVRs

Common speeds:

  • 100 Mbps
  • 1 Gbps
  • 10 Gbps

Router

A router connects different networks.

Example:

Office network ↔ Internet

Functions:

  • Internet sharing
  • NAT
  • DHCP
  • Routing

Access Point (AP)

Provides wireless (Wi-Fi) connectivity.

Examples:

  • Office Wi-Fi
  • Home Wi-Fi
  • School Wi-Fi

Modem

Connects your ISP to your router.

Examples:

Fiber modem

DSL modem

Cable modem


Network Media

Copper Cable (UTP)

Examples:

CAT5e

CAT6

CAT6A

Maximum length:

100 meters


Fiber Optic Cable

Used for:

  • Long distances
  • High speed
  • Enterprise networks

Advantages:

  • Faster
  • Longer distance
  • No electromagnetic interference

Network Topology

Star Topology

Most common today.

          Switch

        /  |   |   \

      PC  PC Camera Printer

Advantages:

  • Easy troubleshooting
  • Reliable
  • Easy expansion

Bus Topology

Older technology.

Rarely used today.


Ring Topology

Data travels in a circular path.


Mesh Topology

Every device connects to multiple devices.

Used in:

  • Data centers
  • Enterprise networks

Network Speed

Speed

Meaning

Mbps

Megabits per second

Gbps

Gigabits per second

Tbps

Terabits per second

Examples:

100 Mbps

1 Gbps

10 Gbps

25 Gbps

40 Gbps

100 Gbps

 

What is an IP Address?

IP stands for Internet Protocol.

An IP address is a unique numerical address assigned to every device connected to a network. It allows devices to communicate with each other.

Think of an IP address like a house address. Just as a courier needs your home address to deliver a package, network devices need an IP address to send and receive data.

Example

Device

IP Address

PC

192.168.1.10

Laptop

192.168.1.20

Printer

192.168.1.30

IP Camera

192.168.1.101

NVR

192.168.1.200

Cisco Switch

192.168.1.2


What is a Static IP?

A Static IP is an IP address that is manually assigned and does not change unless someone changes it.

Advantages

  • Ideal for servers
  • Best for IP Cameras
  • Best for NVRs
  • Easier remote access
  • Stable and predictable

Example

IP Address : 192.168.10.100

Subnet Mask : 255.255.255.0

Gateway : 192.168.10.1

DNS : 8.8.8.8

Enterprise CCTV Example

  • Camera 1 → 192.168.10.101
  • Camera 2 → 192.168.10.102
  • Camera 3 → 192.168.10.103

The addresses never change, making management easier.


What is a Dynamic IP?

A Dynamic IP is automatically assigned by a DHCP Server (usually your router or Windows Server).

Every time a device connects, it may receive a different IP address.

Example

Today

Laptop

192.168.1.25

Tomorrow

Laptop

192.168.1.42

The IP changes automatically.

Best Used For

  • Home computers
  • Mobile phones
  • Laptops
  • Guest Wi-Fi

Static IP vs Dynamic IP

Feature

Static IP

Dynamic IP

Changes Automatically

No

Yes

Manual Configuration

Yes

No

Best for CCTV

Yes

No

Best for Servers

Yes

No

Best for Home Users

Usually No

Yes


What is IPv4?

IPv4 stands for Internet Protocol Version 4.

It uses a 32-bit address, written as four numbers separated by dots.

Example

192.168.1.100

Other examples:

10.0.0.5

172.16.1.50

192.168.10.200

Private IPv4 Address Ranges

Network

Range

Class A

10.0.0.0 – 10.255.255.255

Class B

172.16.0.0 – 172.31.255.255

Class C

192.168.0.0 – 192.168.255.255

These ranges are commonly used in offices and homes.


What is IPv6?

IPv6 is the latest version of the Internet Protocol and was created because the world ran out of IPv4 addresses.

IPv6 uses 128-bit addresses, allowing an enormous number of unique addresses.

Example

2001:0db8:85a3:0000:0000:8a2e:0370:7334

Advantages

  • Much larger address space
  • Better security features
  • Improved routing efficiency
  • Designed for future growth

IPv4 vs IPv6

Feature

IPv4

IPv6

Address Length

32-bit

128-bit

Example

192.168.1.1

2001:db8::1

Address Capacity

~4.3 Billion

Virtually Unlimited

Current Usage

Very Common

Increasing Worldwide


What is a DNS Server?

DNS stands for Domain Name System.

A DNS server translates website names into IP addresses.

For example, when you type:

www.google.com

Your computer asks a DNS server for the IP address so it can connect to Google's servers.

Common Public DNS Servers

Provider

Primary DNS

Secondary DNS

Google

8.8.8.8

8.8.4.4

Cloudflare

1.1.1.1

1.0.0.1

OpenDNS

208.67.222.222

208.67.220.220


What is a MAC Address?

MAC stands for Media Access Control.

A MAC address is the unique hardware identifier assigned to every network interface card (NIC). Unlike an IP address, it is tied to the hardware.

Example

00:1A:2B:3C:4D:5E

or

F4-5C-89-AB-CD-EF

Characteristics

  • Unique to each device
  • Used within local networks
  • Assigned by the manufacturer
  • Usually remains unchanged

IP Address vs MAC Address

Feature

IP Address

MAC Address

Assigned By

Administrator or DHCP

Manufacturer

Can Change

Yes

Normally No

Used For

Communication between networks

Communication within a local network

Example

192.168.1.100

00:1A:2B:3C:4D:5E


Enterprise CCTV Example

IP Camera

      │

   CAT6 Cable

      │

Cable Manager

      │

24/48-Port PoE Switch

      │

Fiber ODF

      │

Cisco Catalyst Core Switch

      │

Gigabit Switch

      │

NVR

      │

LCD Monitor

Example IP Addressing Plan

Device

IP Address

Cisco Core Switch

192.168.10.1

Floor 1 Switch

192.168.10.2

Floor 2 Switch

192.168.10.3

NVR 1

192.168.10.201

NVR 2

192.168.10.202

Camera 1

192.168.10.101

Camera 2

192.168.10.102


Summary

After completing this lesson, you should understand:

  • What networking is
  • What an IP address is
  • Static IP vs Dynamic IP
  • IPv4 and IPv6
  • DNS servers
  • MAC addresses
  • Basic network devices
  • How these concepts apply to an enterprise CCTV system

NextTutorial

Networkingfor Beginners – Tutorial 2: Understanding the OSI Model (7 Layers) withReal-Life Examples

You'll learn how data moves through the network and how each OSI layer relates to Cisco switches, routers, IP cameras, and NVRs in a real enterprise CCTV deployment.