Professional Documents
Culture Documents
Types of IP Address
W.r.t Version
1. IPV4
2. IPV6
W.r.t Assignment
1. Static
2. Dynamic
W.r.t Classes
Class A, Class B, Class C, Class D, Class E
W.r.t Public and Private
Public IP
Private IP
IP ADDRESS
An IP Address consists of two parts.
Network Part
Host Part
Network Part:
This part specifies the unique number assigned to your network.
It also identifies the class of network assigned.
The network part takes two bytes of the IPv4 address.
Host Part:
This is the part of the IPv4 address that you can assign to each host.
It uniquely identifies this machine on your network.
For all hosts on your network, the network part of the IP address will be the
same and host part will be changing.
IP ADDRESS w.r.t Version
IPv4 (Internet Protocol Version 4) IPv6 (Internet Protocol Version 6)
• IPv4 is a 32 bits(4 bytes) IP • IPv6 was developed by the
Address. Internet Engineering Task Force (IETF).
• IPv4 is numeric address whose • IPv6 is 128 bits(16 bytes) IP Address.
binary bits are separated by dot • IPv6 is an alphanumeric address whose
(.) binary bits are separated by colon ( : )
• In its full notation, an IPv6 address is
• 4 octets (8 bit group)
represented in eight groups of four
Note: Each Section can range from 0-255. hexadecimal digits (eight 16-bit blocks)
• IPv4 has five different classes of • IPv6 is classless address i.e. it does not
IP Address. have any different classes as IPv4.
Class A, Class B, Class C, Class D, • IPv6 has unlimited number of IP
Class E Addresses i.e. up to 2 128 IP Addresses i.e.
IPv4 has limited number of IP 340,282,366,920,938,463,463,374,607,4
31,768,211,456
Addresses i.e. up to 4.19 billion
i.e. 4,294,967,296 Addresses. E.g.
2001:0db8:0a0b:12f0:0000:0000:0000:000
E.g. 192.168.12.14 1
234.111.23.45 etc.
IP ADDRESS w.r.t Assignment
STATIC IP ADDRESS DYNAMIC IP ADDRESS
Static IP Addresses are manually These are temporary IP Addresses.
assigned to a computer by an Dynamic IP Addresses are assigned
Administrator. by your ISP or host software such
Static IP Address does not change, as DHCP or APIPA (Automatic
once it is assigned to computer but Private Internet Protocol
they may be changed as a result of Addressing) itself.
Network Administration.
It is dynamic because each time
Static IP’s are typically used in small
your computer(or router ) is
networks.
rebooted, your ISP dynamically
You can use the static IP for the
assigns an IP address to your
following
networking device using DHCP
VOIP, VPN, Servers, Printers etc. protocol.
Address does not change - good for Dynamic IP’s are typically used in
web servers, email servers and other
big networks.
Internet servers.
• Cheaper than static IP address.
Expensive than dynamic IP address.
• Changing IP address gives more
Need Additional Security.
privacy.
Types of IP Address w.r.t Classes
• Class A IP Address (For Govt Org’s or Large Org’s)
• Class B IP Address (For Medium Org’s)
• Class C IP Address (For Small Org’s)
• Class D IP Address (For multicasting, not available
for public sector)
• Class E IP Address (For experimental purposes or
future use and not available for public sector)
Types of IP w.r.t Classes
Types of IP Address w.r.t Classes
CLASS A IP ADDRESSES
Class A IP Addresses are reserved for GOVERNMENT ORGANIZATIONS or
ENTERPRISE ORGANIZATIONS like Google.
Class A IP Address ranges from 0-127 but technically speaking 0 & 127 are
reserved for some special purposes.
The first bit of the first octet is always set to 0 (zero). Thus the first octet ranges
from 1 – 126, i.e.
Class A addresses only include IP starting from 1.x.x.x to 126.x.x.x only i.e.
1.0.0.0 to 126.255.255.255 . The IP range 127.x.x.x is reserved for loopback IP
addresses.
Class A IP address format is
thus: 0NNNNNNN.HHHHHHHH.HHHHHHHH.HHHHHHHH
E.g. 34.0.0.0 SUMMARY
Class Start bit or Size of Size of rest No of Address Per
Leading bit Network bit field Networks Network
No bit Field
Class A 0 8 24 27 i.e. 128 224-2 i.e.
16,777,216
CLASS B IP ADDRESSES
Class B IP Addresses are designed to be used in MEDIUM-SIZED companies.
Class B IP Address ranges from 128-191.
The first two bits in first octet set to 10.
Class B has 16384 (214) Network addresses and 65534 (216-2) Host addresses
The network part reserves 16 bits (2-bytes) and host part reserves 16 bits (2-
bytes).
Class B IP address format is
thus: 10NNNNNN.NNNNNNNN.HHHHHHHH.HHHHHHHH
Starts with 10000000.00000000.00000000.00000000 and ends at
10111111.11111111.11111111.11111111 i.e. 128.0.0.0 to 191.255.255.255
E.g. 192.134.0.0
Class C has 2097152 (221) Network addresses and 254 (28-2) Host addresses.
The network part reserves 24 bits (3-bytes) and host part reserves 8 bits (1-
byte).
Class C IP address format is
thus: 110NNNNN.NNNNNNNN.NNNNNNNN.HHHHHHHH
Starts with 11000000.00000000.00000000.00000000 and ends at
11011111.11111111.11111111.11111111 i.e. 192.0.0.0 to 223.255.255.255
E.g. 232.234.222.0
Summary