Classifying IP Addresses
Classifying IP Addresses
IP ADDRESS
Home Project About Me Contact
IP ADDRESS
BASED ON
IP VERSION
IPv4 (Internet Protocol Version 4)
• 32-bit address (e.g., 192.168.1.1)
• Supports 4.3 billion addresses
• Written in dotted decimal format (e.g., 192.0.2.1)
IPv6 (Internet Protocol Version 6)
• 128-bit address (e.g., 2001:0db8:85a3::8a2e:0370:733
• Supports trillions of unique addresses
• Written in hexadecimal format with colons (:)
Home Project About Me Contact
BASED ON
ACCESSIBILITY
Public IP Address
• Assigned by Internet Service Providers (ISP)
• Used for direct communication over the internet
• Example: 8.8.8.8 (Google's DNS)
Private IP Address
• Used within local networks (LANs)
• Not accessible over the internet
• Example ranges:
⚬ 10.0.0.0 – 10.255.255.255
⚬ 172.16.0.0 – 172.31.255.255
⚬ 192.168.0.0 – 192.168.255.255
Home Project About Me Contact
BASED ON
ASSIGNMENT
Static IP Address
• Manually assigned and does not change
• Used for servers, remote access, and hosting services
Dynamic IP Address
• Assigned by DHCP (Dynamic Host Configuration Protoc
• Changes periodically to optimize address usage
Home Project About Me Contact
BASED ON
FUNCTIONALITY
Loopback IP Address
• Used for internal testing on a device
• Always 127.0.0.1 (IPv4)
Multicast IP Address
• Used for one-to-many communication
• IPv4 range: 224.0.0.0 – 239.255.255.255
Broadcast IP Address
• Sends data to all devices on a network
• Example: 255.255.255.255
Anycast IP Address (IPv6 only)
• A single address assigned to multiple devices
• Routes traffic to the nearest available device
Home Project About Me Contact
BASED ON
IPV4 ADDRESS
CLASS
IPv4 addresses are divided into five classes:
Home Project About Me Contact
SUBNETTING
Home Project About Me Contact
WHY IS SUBNETTING
NEEDED?
1.Efficient IP Address Usage
• Prevents wastage of IP addresses in large
networks.
• Example: A company with 1,000 devices does not
need an entire Class A (16 million IPs) network.
2. Improves Network Performance
• Reduces broadcast traffic, minimizing congestion.
• Each subnet operates independently, improving
speed.
3. Enhances Security
• Different departments (e.g., HR, IT, Finance) can
have separate subnets to isolate sensitive data.
4. Better Network Management
• Large organizations can easily segment networks
Home Project About Me Contact
HOW SUBNETTING
WORKS
Subnetting involves
borrowing bits from the
host portion of an IP
address to create
additional network
segments.
Salford & Co. Home Project About Me Contact
SUBNET MASK
01
address belongs to the network and which belongs to
the host.
Example:
• IP Address: 192.168.1.100
• Subnet Mask: 255.255.255.0
• Network Portion: 192.168.1
• Host Portion: 100
Home Project About Me Contact
SUBNETTING
EXAMPLE
CIDR NOTATION
(CLASSLESS INTER-
DOMAIN ROUTING)
CIDR notation is a compact
way to represent subnet
masks.
• Example:
⚬ 255.255.255.0 =
/24
⚬ 255.255.255.192
= /26
Home Project About Me Contact
KEY SUBNETTING
FORMULAS
1.Number of Subnets = 2^borrowed
bits
2.Hosts per Subnet = (2^remaining
host bits) - 2 (excluding network &
broadcast addresses)
3.Subnet Increment = 256 - Subnet
Mask's Last Octet
Home Project About Me Contact
ADVANTAGES OF
SUBNETTING
• Reduces IP Waste
• Improves Security (isolated
networks)
• Better Network Performance (less
congestion)
• Easier Troubleshooting
Home Project About Me Contact
STEPS TO SET UP A
BASIC LAN
Step 1: Plan Your Network
• Decide whether the LAN will be
connect.
• Choose a suitable IP addressing
STEPS TO SET UP A
BASIC LAN
Step 2: Connect the Hardware
For a Wired LAN:
• Connect the Router to the modem (if
using internet).
• Connect a Switch to the router (if
needed).
• Use Ethernet Cables to connect
computers, printers, and other devices.
For a Wireless LAN:
• Turn on the Router and enable Wi-Fi
settings.
• Connect devices to the router's Wi-Fi
network.
• Configure Wi-Fi Security (WPA3/WPA2
Home Project About Me Contact
STEPS TO SET UP A
BASIC LAN
Step 3: Configure Network Settings
Router Configuration:
• Login via browser (192.168.1.1 or
192.168.0.1).
• Set up SSID (Wi-Fi Name) and Wi-Fi
Password.
• Enable MAC Filtering & Firewall for
security.
IP Addressing:
• Enable DHCP (Dynamic Host
Configuration Protocol) to auto-assign IPs.
• Optionally, assign Static IPs for devices
Home Project About Me Contact
(avoid "admin/admin").
• Use WPA2/WPA3 encryption for Wi-
Fi.
• Disable Remote Router Access
unless necessary.
• Enable Firewall and MAC Filtering.
Home Project About Me Contact
CONNECTING
COMPUTERS ON A
LOCAL NETWORK
Home Project About Me Contact
STEPS TO CONNECT
COMPUTERS VIA ETHERNET:
Check Network Settings on Each Computer
• Windows:
⚬ Open Control Panel > Network and Sharing Center.
⚬ Click Change adapter settings.
⚬ Right-click Ethernet, select Properties, and check
TCP/IPv4.
⚬ Set to Obtain an IP address automatically (DHCP).
• Linux/macOS:
⚬ Open Network Settings.
⚬ Enable Wired Connection and set to DHCP.
Home Project About Me Contact
STEPS TO CONNECT
COMPUTERS VIA ETHERNET:
Verify Connectivity
• Open Command Prompt (cmd) and type:
ping 192.168.1.2
STEPS TO CONNECT
COMPUTERS VIA ETHERNET:
Enable File and Printer Sharing
⚬ In Windows, go to Network and Sharing Center >
192.168.0.1).
Home Project About Me Contact
STEPS TO CONNECT
COMPUTERS VIA WI-FI:
Check IP Address Configuration
• On each computer, run:
subnet (192.168.1.x).
Home Project About Me Contact
STEPS TO CONNECT
COMPUTERS VIA WI-FI:
Check IP Address Configuration
• On each computer, run:
subnet (192.168.1.x).
Home Project About Me Contact
STEPS TO CONNECT
COMPUTERS VIA WI-FI:
Enable Network Discovery and File Sharing
• Windows: Open Control Panel > Network
Printer Sharing.
Home Project About Me Contact
STEPS TO CONNECT
COMPUTERS VIA WI-FI:
1.Test Connection
ping 192.168.1.3
CONNECTING COMPUTERS
DIRECTLY (WITHOUT ROUTER)
If no router or switch is available, computers can be
connected directly.
A. Using an Ethernet Crossover Cable
1.Connect two computers using an Ethernet
crossover cable.
2.Assign Static IP Addresses:
⚬ Computer 1: 192.168.1.1, Subnet Mask:
255.255.255.0.
⚬ Computer 2: 192.168.1.2, Subnet Mask:
255.255.255.0.
3.Test the connection using the ping command.
Home Project About Me Contact
CONNECTING COMPUTERS
DIRECTLY (WITHOUT ROUTER)
hotspot.
• Assign Static IPs or use DHCP if available.
Home Project About Me Contact
CONNECTING COMPUTERS
DIRECTLY (WITHOUT ROUTER)
Verifying the Connection
• Ping Other Computers:
ping 192.168.1.2
• Check Network Devices:
⚬ In Windows, open File Explorer > Network
THANK YOU