IP Addressing
IP Addressing
NETWORK
FUNDAMENTA
LS ROI M. FRANCISCO
INSTRUCTOR
IP Address
(Internet Protocol address)
▶ The address of a connected device in an IP network
(TCP/IP network), which is the worldwide standard
both in-house and on the Internet.
▶ Every desktop and laptop computer, server, scanner,
printer, modem, router, smartphone, tablet and smart
TV is assigned an IP address, and every IP packet
traversing an IP network contains a source IP
address and a destination IP address.
▶ IP version 4 is 32 bits long.
▶ The maximum value of a number that can be
formed by using 32 bits is 2³².
▶ So, the maximum number of IPv4 addresses is
4,294,967,296 addresses i.e. 2³² addresses.
▶ It consists of four octets each of which can contain
one to three digits ranging from 0 to 255 separated
by a single dot(.).
▶ Here, each number is the decimal
representation(base-10) for an 8 digit binary
number(base-2).
Public and Private
Addresses
▶ A non-Internet facing IP address on an internal
network.
▶ Private IP addresses are provided by network
devices, such as routers, using
network address translation (NAT).
▶ Private IP addressing uses addresses from the
class C range reserved for NAT (192.168. 0.0 –
192.168. 255.255).
Public and Private Addresses
Static and Dynamic IP
▶ Network infrastructure devices such as servers, routers
and firewalls are typically assigned permanent "static"
IP addresses.
▶ The client machines can also be assigned static IPs by a
network administrator, but most often are automaticall
y assigned "dynamic" IP addresses via software in the r
outer.
▶ Internet service providers may change the IPs in the m
odems of their home users here and there, but business
users must have consistent "static" IPs for servers that f
ace the public.
The Dotted Decimal Address:
x.x.x.x
▶ IP addresses are written in "dotted decimal" notation,
which is four sets of numbers separated by decimal
points; for example, 204.171.64.2.
▶ Instead of the domain name of a website, the actual I
P address can be entered into the browser.
▶ However, the Domain Name System (DNS) exists so
users can enter computerlanguage.com instead of an
IP address, and the domain (the URL) computerlangu
age.com is converted to the numeric IP address.
Example of an IPv4
address: 63.171.234.171
IP Address Classes
IP Address Classes
▶ Class A ▶ Class B
▶ N.H.H.H ▶ N.N.H.H
▶ 1-126 ▶ 128-191
▶ 0 can not be used as Net ID ▶ The first IP Address is
▶ 127 is reserved for loop the NET ID
back functions ▶ The last IP Address is the
▶ 126 Different Networks Broadcast Address
▶ 16.777.214 Hosts per ▶ 16.384 Different Networks
Network ▶ 65543 Hosts per Network
IP Address Classes
▶ Class C CLASS D – Used for
▶ N.N.N.H multicast broadcasts
▶ 192-223
▶ The first IP Address CLASS E – Experimental
is the NET ID addresses not available
to the public
▶ The last IP Address is
the Broadcast Address
▶ 2.097.152 Different
Networks
▶ 254 Hosts per
Network
SUBNET MASKING
▶Smaller broadcast domains
▶ More manageable networks
▶ Save IP Addresses