Professional Documents
Culture Documents
Aiesa Saad
Work Experiences:
Database administration, system development, portal
development, multimedia creation, UI/UX designing,
network & datacenter, rencams
2002·························································2023
JPSM, EPU, HLP, PPN Perak, ICU, INSTUN
Internet Protocol Address (IP)
Best effort delivery mechanism IPv4 is 32 bits long The IPv4 Pool is running out
IPv4 has proven itself as a robust routable Offers around 4,294,967,296 (2^32) The Internet Assigned Numbers Authority
addressing protocol addresses (IANA) manages the IP address space
allocations globally.
Original Internet address: 32 bits (RFC760)
John Postel Classful Addressing (RFC 791) The IPv4 party is over
Maintain network list assignment using a Three solutions to mitigate IP depletion:
paper notebook. • Classless Inter-Domain Routing (CIDR)
• Address Allocation for Private Internets
• Network Address Translation (NAT)
5 Regional Internet Registries (RIRs):
did not solve the problem.
1. Asia-Pacific (APNIC)
– exhausted in April 2011, IPv6 - Design started in 1993
2. Latin America and the Caribbean (LACNIC)
https://www.google.com/intl/en/ipv6/statistics.html
– exhausted in June 2014
3. North America (ARIN)
– exhausted in September 2015
4. Europe, Middle East and Central Asia (RIPE Address Start Network # Host #
NCC) – exhausted in November 2019 Class A 0.0.0.0 128 16,777,216
5. Africa (AFRINIC) – May 2020 Class B 128.0.0.0 16,384 65,536
IPv4 address report: Class C 192.0.0.0 2,097,152 256
https://www.potaroo.net/tools/ipv4/
Summary of IPv4 1/5
1988 1993
Jon Postel established and founded the Internet Assigned In September 1993, CIDR (Classless Inter-Domain Routing)
Numbers Authority (IANA). The term IANA is first referred to was introduced to slow the growth of routing tables and to
in RFC 1083. Postel was named Deputy Internet Architect and help slow the exhaustion of IPv4 addresses. The original
RFC Editor. specification in RFC 1519 was later replaced by RFC 4632.
1997 2002
In December 1997, ARIN (American Registry for Internet LACNIC was established, providing management of internet
Numbers) formed as a nonprofit corporation. It provided IP number resources to 33 territories in Latin America and the
registration and allocation in North America. Caribbean.
1998 2004
The IETF initiated the design and development of IPv6, a AFRINIC was incorporated as the internet registry for Africa.
replacement for IPv4, as early as 1994 with a formal
description in 1995 under RFC 1883. The first specification 2005
was published in 1998 by RFC 2460, which was later
In February 2005, the Early Registration Transfer Project (ERX)
superseded by RFC 8200 and is the current and updated
was implemented to transfer internet resource records from
specification.
ARIN to the RIR in which they were used.
2011 2012
In February 2011, the primary address pool of the internet, On July 31, 2012, ARIN implemented its Inter-RIR Transfer
managed by IANA, was exhausted when the last 5 blocks were Policy.
allocated to the RIRs.
On September 12, 2012, RIPE exhausted the last IPv4 blocks
In April 2011, APNIC was the first RIR to exhaust its regional from its available pool of addresses.
address pool, except for a small amount of address space
reserved for the transition to IPv6.
By the end of 2012, just over 10 million IPv4 addresses had
been transferred through the RIRs – cumulative since 2009
In 2011, the first commercial transfer of IPv4 addresses took (refer to figure 1).
place between Nortel and Microsoft. This transfer was
managed by Sandra Brown, who was the Director of
The first ARIN to APNIC IPv4 Inter-RIR transfer was
Engineering at Nortel at the time.
processed.
2014 By the end of 2015, about 90.4 million IPv4 addresses had
LACNIC announced its service region was considered been transferred through the RIRs – cumulative since 2009
exhausted after reaching one /10 block of remaining IPv4
addresses. 2017
By the end of 2017, about 190.4 million IPv4 addresses had
In December of 2014, the average Price/IP of a /16 was been transferred through the RIRs – cumulative since 2009
approximately $5/IP (refer to figure 2).
2018
By the end of 2014, about 37.7 million IPv4 addresses had In January of 2018, native IPv6 utilization hit 20%.
been transferred through the RIRs – cumulative since 2009
(refer to figure 1).
2019
In November of 2019, ARIN ran out of its free pool of IPv4
2015
addresses.
In January of 2015, native IPv6 utilization hit approximately
5% as measured by connectivity among Google users.
2020
January 2020, native IPv6 utilization hit 30%.
On September 24 2015, ARIN ran out of its free pool of IPv4
addresses.
octet
MSB LSB
Binary 1 1 1 1 1 1 1 1
Powered by 27 26 25 24 23 22 21 20
Decimal 128 64 32 16 8 4 2 1 =255
So,
Binary 1 0 1 0 1 1 0 0
Decimal 128 0 32 0 8 4 0 0 =172
BINARY
https://www.youtube.com/watch?v=XsBlxR6JDtQ&list=PLHLt6zLQu53ZrsE2qUF_Vm8wVNpsbLVPZ
Practicing IPv4 Conversion
Why?
128 64 32 16 8 4 2 1
Exercise.
Why?
1. 192.168.0.100
2. 128.11.3.31
3. 11.5.4.3
4. 1100000.10101000.00000101.00001010
5. 10000010.00000101.00000100.01001101
6. 00001010.00110010.00001101.00101000
Classful Addressing
IPv4 – Address Classes (Classful Addressing)
Divided into 5 classes
Class A Address
• IP range : 1.x.x.x – 126.x.x.x
Class B Address
• IP range : 128.0.x.x – 191.255.x.x
Class C Address
• IP range : 192.0.0.x – 223.255.255.x
• Does not have any subnet mask • Reserved for experimental purpose for R&D or
study
IPv4 – Address Classes • Within any network, the host ID must be unique to that
network.
• Host ID in which all bits are set to 0 cannot be assigned
because this host ID is used to represent the network ID of
Special addresses the IP address.
• Host ID in which all bits are set to 1 cannot be assigned
Certain IPv4 addresses are set aside for specific uses: because this host ID is reserved as a broadcast address to
send packets to all the hosts present on that particular
network.
169.254.0.0 Link local address
Rules for assigning Network ID:
Loopback address (the host’s own Hosts that are located on the same physical network are
127.0.0.0
interface) identified by the network ID, as all host on the same physical
network is assigned the same network ID. The network ID is
224.0.0.0 IP Multicast assigned based on the following rules:
Broadcast (sent to all interfaces on • The network ID cannot start with 127 because 127 belongs to
255.255.255.255 class A address and is reserved for internal loop-back
network)
functions.
• All bits of network ID set to 1 are reserved for use as an IP
broadcast address and therefore, cannot be used.
• All bits of network ID set to 0 are used to denote a specific
host on the local network and are not routed and therefore,
aren’t used.
IPv4 – Address Classes
Problems Wasted Unutilized
Classful
single block only.
Addressing
Since there are these problems, Insufficient On hold
Classful networking was replaced Number of addresses available in class C is
by Classless Inter-Domain Routing Class E addresses are reserved.
so small that it cannot cater the needs of
(CIDR) in 1993
organizations
IPv4 Private Address (RFC 1597) Hosts using private addresses
are not reachable from the
Internet, but can communicate to
other peers inside the same
intranet (non-routable addresses)
Reservation of 3 blocks, each per network class, for private addresses
Given:
Network ID : 192.168.1.0
Subnet Mask
What is it? Why computer need subnet mask?
• Every host on a network has IP
address and network mask
• Subnet mask looks like IP address
• It is 32-bit long, same as IPv4
address
• But they a different
Thus,
255.0.0.0 11111111.00000000.00000000.00000000 /8
255.255.0.0 11111111.11111111.00000000.00000000 /16
https://www.youtube.com/watch?v=Fe4D9v1dIzo&list=PLHLt6zLQu53ZrsE2qUF_Vm8wVNpsbLVPZ&index=2
Subnetting
Twenty years from now, you’ll be more
disappointed by the things that you didn’t do
than by the ones you did do. Subnetting.
90% how One is for the office. One for the front desk and storage
you react room. One for public use.
to it. Your taks is to list each network ID, subnet mask, host
ID range, number or useable host IDs, and Broadcast ID.
IP Subnetting 192.168.4.0/24
# of usable
Network ID Subnet Mask Host ID Range Broadcast ID
Host
192.168.4.1
192.168.4.255
192.168.4.0 255.255.255.0 - 254
192.168.4.254
MSB LSB
Binary 1 1 1 1 1 1 1 1
Powered by 27 26 25 24 23 22 21 20
Decimal 128 64 32 16 8 4 2 1 =255
IP Subnetting 192.168.4.0/24
Network ID Subnet Mask Host ID Range # of usable Broadcast ID
Host
192.168.4.192
Broadcast ID 11000000.10101000.00000100.11000000
Subnetting Excercise
192.168.0.0/24
Find:
1. Subnet Mask ?
2. Network ID ?
3. Broadcast ID ?
4. Host ID Range ?
5. # of usable Host ?
Subnetting Excercise
192.168.0.0/24
192.168.0.0/24
Subnet Mask / Netmask 255.255.255.0
Network ID 192.168.0.0
Broadcast ID 192.168.0.255
# usabale Hosts 254
Host Address Range 192.168.0.1 - 192.168.0.254
Subnet
11111111.11111111.11111111.00000000 255.255.255.0
Mask
Network
11000000.10101000.00000000.00000000 192.168.4.0
ID
First Host
11000000.10101000.00000000.00000001 192.168.4.1
ID
Last Host
11000000.10101000.00000000.11111110 192.168.4.254
ID
Broadcast 192.168.4.255
ID 11000000.10101000.00000000.11111111
Subnetting Excercise
192.168.0.0/25
Find:
1. Subnet Mask ?
2. Network ID ?
3. Broadcast ID ?
4. Host ID Range ?
5. # of usable Host ?
Subnetting Excercise
192.168.0.0/25
192.168.0.0/25
Subnet Mask 255.255.255.128
Network 192.168.0.0
Broadcast 192.168.0.127
# usable Hosts 126
Host Address Range 192.168.0.1 - 192.168.0.126
Subnet
11111111.11111111.11111111.10000000 255.255.255.128
Mask
Network ID 11000000.10101000.00000000.00000000 192.168.0.0
First Host
11000000.10101000.00000000.00000001 192.168.0.1
ID
Last Host
11000000.10101000.00000000.01111110 192.168.0.126
ID
Broadcast
11000000.10101000.00000000.01111111 192.168.0.127
ID
Terima kasih
Aiesa bin Saad
Bahagian Teknologi Maklumat
INSTUN
010-4401076
aiesa@instun.gov.my