Lesson - 02 - IPv4 Addressing
Lesson - 02 - IPv4 Addressing
Objectives:
IPV4 Addressing Overview.
IPv4 Address Classes.
Subnet Mask
Subnetting
IPv4 Addressing Overview
• An IP address is a unique 32-bit long number that identifies a
device/node on a TCP/IP network.
• It is usually written in W.X.Y.Z format (i.e. Four Decimal numbers
separated by dots/periods).
• Each of the four decimal numbers is known as an octet (Group of 8
bits).
• An IP address contains two parts which include the network part and
the host part.
• For example in IP 192.168.1.1, 192.168.1Network Portion while .1 is
the Host Portion.
IP Address Classes
There are five classes of IP addresses namely A,B,C,D and E.
Classes define which bits are used for the network ID and
those for the host IS.
Range: 224.0.0.0-239.255.255.255
Range: 240.0.0.0-255.255.255.255
Hosts on the same network MUST have the same subnet mask.
ANDing Rules
1 AND 1 =1
0 AND 1 =0
0 AND 0 =0
ANDing Process
Source and destination IP Addresses are converted into Binary Format.
Compare the Products (If same Hosts are on the same network
otherwise the Destination is in a remote Network and Packets will be
sent to the default gateway).
SUBNETTING
What it is?
It is the process of dividing a Large Network Address
into Smaller Network Addresses referred to as Subnets.
Simplified Management:
S0
S1
……..
Sn
Sn+1
How do I fill the Table?
NOTE: Number of hosts per subnet is given by the formula (2h-2) where h
Borrow 2 bits from host part and turn them on since 2n=>4 it
implies that n=2.
Result =255.255.255.11000000
Which translates to: 255.255.255.192 (New/Custom Mask)
Block Size = 64(Fourth Octet)
Subnets Summary
Subnet ID First Valid IP Last Valid IP Broadcast IP
192.168.1.256
What an IP address is
Subnetting
Thank you