SlideShare a Scribd company logo
1 of 48
Download to read offline
IP Addressing
Subnetting
VLSM
Supernetting
IP Address
• IP address is a logical address given to each and
every device in a network.
• It is used to identify specific device in the network.
• However, an IP address can represent a complete
network, a specific host, or the broadcast address
of the network.
• It is divided into Network portion/Prefix and Host
portion.
• There are two versions of IP address: IPv4 and IPv6
Network Set of devices
Host A specific device on the network
IP Version 4
• An IPv4 address is 32 bits long — 4 separate bytes.
• It is represented in dotted-decimal notation — each byte
represents a decimal number separated by a period.
• Network ID: First IP of a range. All 0’s in the host portion.
Reserved for identifying the complete network.
• Broadcast Address: Last IP of a range. All 1’s in the host
portion. Used to send broadcast to all within the same
network.
• Valid IP: Lies between the Network and Broadcast
addresses. Only these can be assigned to the hosts.
IPv4 Address Range
0.0.0.0
to
255.255.255.255
Subnet Mask
• A separate 32-bit pattern to Identify the division of
the network and the host portion of an address.
• It says where to look for these portions in a given
address.
Valid
Subnet Masks
Subnet Mask (contd.)
• In CIDR notation, the number of 1’s in the mask’s
binary version is counted from the left and that
number is appended to the end of the base address
following a slash (/).
• Subnet masks are used to make routing decisions.
• The Default Subnet Mask is the number of bits that
are reserved by the address class. Using the default
mask will accommodate only one network subnet
in the relative class.
• A Custom Subnet Mask can be defined by an
administrator to accommodate many network
subnets.
Subnet Mask (contd.)
Using the default class mask:
Subnet Mask (contd.)
Using a custom subnet mask:
Types of IPv4 Address
Private IP Address
• Hosts that do not require access to the Internet can
use private addresses.
• These are not routed by Internet routers.
Class Range CIDR Block # of Hosts
Class A
10.0.0.0 to
10.255.255.255 10.0.0.0/8 16777216
Class B
172.16.0.0 to
172.31.255.255 172.16.0.0/16 1048576
Class C
192.168.0.0 to
192.168.255.255 192.168.0.0/24 65536
Types of IPv4 Address (contd.)
Public IP Address
• Globally unique addresses that are recognized on
the Internet.
Real IP Address
• Public addresses which are registered through the
IANA.
Types of IPv4 Address (contd.)
Special IP Addresses
• 127.X.X.X — “loopback”
Used by hosts to direct traffic to themselves and for testing
purpose.
• 0.0.0.0 — “this host on this network”
Used during DHCP initialization phase. Host uses IP for
communication with DHCP server but has no address
assigned so far.
• 0.X.X.X — “invalid/unspecified”
Classfull Addressing
• The ‘Class’ identifies the default point of separation.
• IP addresses, left in their classful state, yield exactly
one subnet.
# of networks
and hosts in the
classfull scheme
Classless Addressing
• Formal name is Classless Inter-Domain Routing (CIDR).
• The class privilege was removed from the distribution
to compensate for the address depletion.
• Instead of having three distinct address classes, this
mechanism allows the division between prefix and
suffix to occur on an arbitrary bit boundary.
• To do so, the addressing scheme stores a 32-bit
subnet mask along with each address.
Subnetting
• Subnetting is the process of dividing a single network
into multiple smaller networks.
• It helps in minimizing the wastage of IP address.
• It offers containment of broadcast traffic within subnetwork which
improves network performance.
• In many cases, subnets are created to serve as physical or geographical
separations.
Subnetting (contd.)
• Each subnet is a non-physical description/ID for a
physical subnetwork – usually a switched network
of host containing a single router in a multi-router
network.
• A router is necessary for devices on different
networks and subnets to communicate.
• Each router interface must have an IPv4 host
address that belongs to the network or subnet that
the router interface is connected to.
• Devices on a network and subnet use the router
interface attached to their LAN as their default
gateway.
Subnetting (contd.)
• Creating sub-networks is the act of taking bits from the host
portion of the address and reserving them to define the
subnet address instead.
• Clearly this will result in fewer bits being available for
defining hosts.
• Subnetting can be performed in two ways:
FLSM (Fixed Length Subnet Masking)
VLSM (Variable Length Subnet Masking)
• Subnetting is done based on requirement.
Requirement of
Hosts
2 𝐻 − 2 ≥ 𝑅𝑒𝑞𝑢𝑖𝑟𝑒𝑚𝑒𝑛𝑡
Requirement of
Networks
2 𝑁 ≥ 𝑅𝑒𝑞𝑢𝑖𝑟𝑒𝑚𝑒𝑛𝑡
FLSM – Example 1
FLSM – Example 2
FLSM – Example 3
• A service provider has given you the Class C network range 209.50.1.0
Your company must break the network into 20 separate subnets.
FLSM – Example 4
• Your company would like to break the Class B private IP address range
172.16.0.0 into as many subnets as possible, provided that they can get
at least 300 clients per subnet.
FLSM – Example 5
• You are given the IP address 192.168.1.58/28 Identify the original range
of addresses (the subnet) that this IP address belongs to.
FLSM – Example 6
FLSM – Example 7
FLSM – Example 8
FLSM – Example 8 (contd.)
FLSM – Example 9
FLSM – Example 9 (contd.)
FLSM – Example 10
An ISP is granted a block of addresses starting with
190.100.0.0/16. The ISP needs to distribute these
addresses to three groups of customers as follows:
• The first group has 64 customers; each needs 256
addresses.
• The second group has 128 customers; each needs
128 addresses.
• The third group has 128 customers; each needs 64
addresses.
Design the subblocks and find out how many
addresses are still available after these allocations.
FLSM – Example 10 (contd.)
For Group-1, each customer needs 256 addresses. This means 8 bits are needed
to define each host. The prefix length is 32 - 8 = 24.
The addresses are:
1st Customer: 190.100,0.0/24 ---------- 190.100.0.255/24
2nd Customer: 190.100.1.0/24 ---------- 190.100.1.255/24
..........
64th Customer: 190.100.63.0/24 -------190.100.63.255/24
Total = 64 x 256 = 16,384
For Group-2, each customer needs 128 addresses. This means 7 bits are needed
to define each host. The prefix length is 32 - 7 = 25.
The addresses are:
1st Customer: 190.100.64.0/25 -------- 190.100.64.127/25
2nd Customer: 190.100.64.128/25 -------- 190.100.64.255/25
........
128th Customer: 190.100.127.128/25 -------- 190.100.127.255/25 3.
Total = 128 x 128 = 16,384
FLSM – Example 10 (contd.)
For Group-3, each customer needs 64 addresses. This means 6 bits are needed to
each host. The prefix length is 32 - 6 = 26.
The addresses are:
1st Customer: 190.100.128.0/26 ---- 190.100.128.63/26
2nd Customer: 190.100.128.64/26 ---190.100.128.127/26
........
128th Customer: 190.100.159.192/26 ---- 190.100.159.255/26
Total = 128 x 64 = 8192
# of granted addresses
to the ISP: 65536
# of allocated addresses
by the ISP: 40960
# of available
addresses: 24576
VLSM
• VLSMs can use subnet masks with different lengths for
different router interfaces.
• Allows a network space to be divided in unequal parts.
• Subnet mask will vary depending on how many bits have
been borrowed for a particular subnet.
• Used frequently if public address are used internally or
unplanned growth needs to be accommodated inside of a
site.
• Results in less waste on smaller subnets where fewer
addresses are necessary.
Subnetting a subnet
VLSM (contd.)
VLSM (contd.)
Applying VLSM to a Network Design
VLSM (contd.)
VLSM – Example 1
VLSM – Example 1 (contd.)
VLSM – Example 1 (contd.)
VLSM – Example 1 (contd.)
VLSM – Example 1 (contd.)
VLSM – Example 2
• For 100 hosts:
2^h-2>=100, hence h=7 (host bits)
Hence value is 8+8+8+(8-7)=25
Hence subnet mask is
11111111.11111111.11111111.10000000
i.e.255.255.255.128
Block size is 2^7=128 hence the range is
192.168.1.0/25 to 192.168.1.127/25 for 100 hosts
Given the no of hosts as 100, 50 20 & 6. Find IP
addresses and subnet mask for 192.168.1.0
VLSM – Example 2 (contd.)
• For 50 hosts:
2^h-2>=50, hence h=6 (host bits)
Hence value is 8+8+8+(8-6)=26
Hence subnet mask is 11111111.11111111.11111111.11000000
i.e.255.255.255.192
Block size is 2^6=64 hence the range is
192.168.1.128/26 to 192.168.1.191/26 for 50 hosts
• For 20 hosts:
2^h-2>=20, hence h=5 (host bits)
Hence value is 8+8+8+(8-5)=27
Hence subnet mask is 11111111.11111111.11111111.11100000
i.e.255.255.255.224
Block size is 2^5=32 hence the range is
192.168.1.192/27 to 192.168.1.223/27 for 20 hosts
VLSM – Example 2 (contd.)
• For 6 hosts:
2^h-2>=6, hence h=3 (host bits)
Hence value is 8+8+8+(8-3)=29
Hence subnet mask is
11111111.11111111.11111111.11111000 i.e.255.255.255.248
Block size is 2^3=8 hence the range is
192.168.1.224/29 to 192.168.1.231/29 for 6 hosts
• Complete range:
192.168.1.0/25 to 192.168.1.127/25 for 100 hosts
192.168.1.128/26 to 192.168.1.191/26 for 50 hosts
192.168.1.192/27 to 192.168.1.223/27 for 20 hosts
192.168.1.224/29 to 192.168.1.231/29 for 6 hosts
Supernetting
• It provides route updates in the most efficient way possible by
advertising many routes in one advertisement instead of individually.
• Its purpose is to reduce the size of routing tables on routers to save
memory, which also shortens the amount of time IP requires to parse
the routing table when determining the best path to a remote network.
• It works only if the network is designed properly.
• By creating contiguous blocks of addresses to specific areas of a
network, one can then easily summarize the network and keep route
updates with a routing protocol to a minimum.
• If IP subnets are carelessly handed out to any location on the network,
there will no longer be any summary boundaries.
Supernetting (contd.)
Basic Process
Supernetting (contd.)
Supernetting – Example 1
Supernetting – Example 2
Supernetting – Example 2 (contd.)
Supernetting – Example 2 (contd.)

More Related Content

What's hot (20)

VLSM & SUPERNETTING
VLSM & SUPERNETTINGVLSM & SUPERNETTING
VLSM & SUPERNETTING
 
Sub Netting
Sub NettingSub Netting
Sub Netting
 
Subnet calculation Tutorial
Subnet calculation TutorialSubnet calculation Tutorial
Subnet calculation Tutorial
 
Subnetting
SubnettingSubnetting
Subnetting
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basics
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
Subnetting
SubnettingSubnetting
Subnetting
 
IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING
 
IPv4
IPv4IPv4
IPv4
 
CCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPTCCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPT
 
Subnetting a class_c_address
Subnetting a class_c_addressSubnetting a class_c_address
Subnetting a class_c_address
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting Presentation
 
Cn ipv4 addressing
Cn ipv4 addressingCn ipv4 addressing
Cn ipv4 addressing
 
Subentting, Supernetting and VLSM presentation
Subentting, Supernetting and VLSM presentationSubentting, Supernetting and VLSM presentation
Subentting, Supernetting and VLSM presentation
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
IPV4 vs IPV6
IPV4 vs IPV6IPV4 vs IPV6
IPV4 vs IPV6
 
TCP IP Addressing
TCP IP AddressingTCP IP Addressing
TCP IP Addressing
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
Subnetting
SubnettingSubnetting
Subnetting
 

Similar to IP Addressing (Subnetting, VLSM, Supernetting)

Ipaddress presentationdemoclass
Ipaddress presentationdemoclassIpaddress presentationdemoclass
Ipaddress presentationdemoclassaskme
 
08 - IP Subnetting.ppt
08 - IP Subnetting.ppt08 - IP Subnetting.ppt
08 - IP Subnetting.pptssuserf7cd2b
 
Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2kurtmctaggart
 
Chapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.pptChapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.pptanwarkade1
 
Chapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.pptChapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.pptEsubesisay
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnettingShashank Asthana
 
network design 7.pptx
network design 7.pptxnetwork design 7.pptx
network design 7.pptxaida alsamawi
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxgamerchan1
 
Subnetting and routing
Subnetting and routingSubnetting and routing
Subnetting and routingGaurav Juneja
 

Similar to IP Addressing (Subnetting, VLSM, Supernetting) (20)

Ipv4 address
Ipv4 addressIpv4 address
Ipv4 address
 
IP Address
IP AddressIP Address
IP Address
 
lecture 6.pptx
lecture 6.pptxlecture 6.pptx
lecture 6.pptx
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
Ipaddress presentationdemoclass
Ipaddress presentationdemoclassIpaddress presentationdemoclass
Ipaddress presentationdemoclass
 
08 - IP Subnetting.ppt
08 - IP Subnetting.ppt08 - IP Subnetting.ppt
08 - IP Subnetting.ppt
 
Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2
 
Chapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.pptChapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.ppt
 
Chapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.pptChapter 5 Network Configuration Basics.ppt
Chapter 5 Network Configuration Basics.ppt
 
Week10 lec1
Week10 lec1Week10 lec1
Week10 lec1
 
Subnet Design
Subnet DesignSubnet Design
Subnet Design
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnetting
 
Ray ipv4 addresses
Ray   ipv4 addressesRay   ipv4 addresses
Ray ipv4 addresses
 
network design 7.pptx
network design 7.pptxnetwork design 7.pptx
network design 7.pptx
 
Module3
Module3Module3
Module3
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptx
 
Mod10
Mod10Mod10
Mod10
 
1.IPv4.pptx
1.IPv4.pptx1.IPv4.pptx
1.IPv4.pptx
 
Network Layer V.ppt
Network Layer V.pptNetwork Layer V.ppt
Network Layer V.ppt
 
Subnetting and routing
Subnetting and routingSubnetting and routing
Subnetting and routing
 

Recently uploaded

Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 

IP Addressing (Subnetting, VLSM, Supernetting)

  • 2. IP Address • IP address is a logical address given to each and every device in a network. • It is used to identify specific device in the network. • However, an IP address can represent a complete network, a specific host, or the broadcast address of the network. • It is divided into Network portion/Prefix and Host portion. • There are two versions of IP address: IPv4 and IPv6 Network Set of devices Host A specific device on the network
  • 3. IP Version 4 • An IPv4 address is 32 bits long — 4 separate bytes. • It is represented in dotted-decimal notation — each byte represents a decimal number separated by a period. • Network ID: First IP of a range. All 0’s in the host portion. Reserved for identifying the complete network. • Broadcast Address: Last IP of a range. All 1’s in the host portion. Used to send broadcast to all within the same network. • Valid IP: Lies between the Network and Broadcast addresses. Only these can be assigned to the hosts. IPv4 Address Range 0.0.0.0 to 255.255.255.255
  • 4. Subnet Mask • A separate 32-bit pattern to Identify the division of the network and the host portion of an address. • It says where to look for these portions in a given address. Valid Subnet Masks
  • 5. Subnet Mask (contd.) • In CIDR notation, the number of 1’s in the mask’s binary version is counted from the left and that number is appended to the end of the base address following a slash (/). • Subnet masks are used to make routing decisions. • The Default Subnet Mask is the number of bits that are reserved by the address class. Using the default mask will accommodate only one network subnet in the relative class. • A Custom Subnet Mask can be defined by an administrator to accommodate many network subnets.
  • 6. Subnet Mask (contd.) Using the default class mask:
  • 7. Subnet Mask (contd.) Using a custom subnet mask:
  • 8. Types of IPv4 Address Private IP Address • Hosts that do not require access to the Internet can use private addresses. • These are not routed by Internet routers. Class Range CIDR Block # of Hosts Class A 10.0.0.0 to 10.255.255.255 10.0.0.0/8 16777216 Class B 172.16.0.0 to 172.31.255.255 172.16.0.0/16 1048576 Class C 192.168.0.0 to 192.168.255.255 192.168.0.0/24 65536
  • 9. Types of IPv4 Address (contd.) Public IP Address • Globally unique addresses that are recognized on the Internet. Real IP Address • Public addresses which are registered through the IANA.
  • 10. Types of IPv4 Address (contd.) Special IP Addresses • 127.X.X.X — “loopback” Used by hosts to direct traffic to themselves and for testing purpose. • 0.0.0.0 — “this host on this network” Used during DHCP initialization phase. Host uses IP for communication with DHCP server but has no address assigned so far. • 0.X.X.X — “invalid/unspecified”
  • 11. Classfull Addressing • The ‘Class’ identifies the default point of separation. • IP addresses, left in their classful state, yield exactly one subnet. # of networks and hosts in the classfull scheme
  • 12. Classless Addressing • Formal name is Classless Inter-Domain Routing (CIDR). • The class privilege was removed from the distribution to compensate for the address depletion. • Instead of having three distinct address classes, this mechanism allows the division between prefix and suffix to occur on an arbitrary bit boundary. • To do so, the addressing scheme stores a 32-bit subnet mask along with each address.
  • 13. Subnetting • Subnetting is the process of dividing a single network into multiple smaller networks. • It helps in minimizing the wastage of IP address. • It offers containment of broadcast traffic within subnetwork which improves network performance. • In many cases, subnets are created to serve as physical or geographical separations.
  • 14. Subnetting (contd.) • Each subnet is a non-physical description/ID for a physical subnetwork – usually a switched network of host containing a single router in a multi-router network. • A router is necessary for devices on different networks and subnets to communicate. • Each router interface must have an IPv4 host address that belongs to the network or subnet that the router interface is connected to. • Devices on a network and subnet use the router interface attached to their LAN as their default gateway.
  • 15. Subnetting (contd.) • Creating sub-networks is the act of taking bits from the host portion of the address and reserving them to define the subnet address instead. • Clearly this will result in fewer bits being available for defining hosts. • Subnetting can be performed in two ways: FLSM (Fixed Length Subnet Masking) VLSM (Variable Length Subnet Masking) • Subnetting is done based on requirement. Requirement of Hosts 2 𝐻 − 2 ≥ 𝑅𝑒𝑞𝑢𝑖𝑟𝑒𝑚𝑒𝑛𝑡 Requirement of Networks 2 𝑁 ≥ 𝑅𝑒𝑞𝑢𝑖𝑟𝑒𝑚𝑒𝑛𝑡
  • 18. FLSM – Example 3 • A service provider has given you the Class C network range 209.50.1.0 Your company must break the network into 20 separate subnets.
  • 19. FLSM – Example 4 • Your company would like to break the Class B private IP address range 172.16.0.0 into as many subnets as possible, provided that they can get at least 300 clients per subnet.
  • 20. FLSM – Example 5 • You are given the IP address 192.168.1.58/28 Identify the original range of addresses (the subnet) that this IP address belongs to.
  • 24. FLSM – Example 8 (contd.)
  • 26. FLSM – Example 9 (contd.)
  • 27. FLSM – Example 10 An ISP is granted a block of addresses starting with 190.100.0.0/16. The ISP needs to distribute these addresses to three groups of customers as follows: • The first group has 64 customers; each needs 256 addresses. • The second group has 128 customers; each needs 128 addresses. • The third group has 128 customers; each needs 64 addresses. Design the subblocks and find out how many addresses are still available after these allocations.
  • 28. FLSM – Example 10 (contd.) For Group-1, each customer needs 256 addresses. This means 8 bits are needed to define each host. The prefix length is 32 - 8 = 24. The addresses are: 1st Customer: 190.100,0.0/24 ---------- 190.100.0.255/24 2nd Customer: 190.100.1.0/24 ---------- 190.100.1.255/24 .......... 64th Customer: 190.100.63.0/24 -------190.100.63.255/24 Total = 64 x 256 = 16,384 For Group-2, each customer needs 128 addresses. This means 7 bits are needed to define each host. The prefix length is 32 - 7 = 25. The addresses are: 1st Customer: 190.100.64.0/25 -------- 190.100.64.127/25 2nd Customer: 190.100.64.128/25 -------- 190.100.64.255/25 ........ 128th Customer: 190.100.127.128/25 -------- 190.100.127.255/25 3. Total = 128 x 128 = 16,384
  • 29. FLSM – Example 10 (contd.) For Group-3, each customer needs 64 addresses. This means 6 bits are needed to each host. The prefix length is 32 - 6 = 26. The addresses are: 1st Customer: 190.100.128.0/26 ---- 190.100.128.63/26 2nd Customer: 190.100.128.64/26 ---190.100.128.127/26 ........ 128th Customer: 190.100.159.192/26 ---- 190.100.159.255/26 Total = 128 x 64 = 8192 # of granted addresses to the ISP: 65536 # of allocated addresses by the ISP: 40960 # of available addresses: 24576
  • 30. VLSM • VLSMs can use subnet masks with different lengths for different router interfaces. • Allows a network space to be divided in unequal parts. • Subnet mask will vary depending on how many bits have been borrowed for a particular subnet. • Used frequently if public address are used internally or unplanned growth needs to be accommodated inside of a site. • Results in less waste on smaller subnets where fewer addresses are necessary. Subnetting a subnet
  • 32. VLSM (contd.) Applying VLSM to a Network Design
  • 35. VLSM – Example 1 (contd.)
  • 36. VLSM – Example 1 (contd.)
  • 37. VLSM – Example 1 (contd.)
  • 38. VLSM – Example 1 (contd.)
  • 39. VLSM – Example 2 • For 100 hosts: 2^h-2>=100, hence h=7 (host bits) Hence value is 8+8+8+(8-7)=25 Hence subnet mask is 11111111.11111111.11111111.10000000 i.e.255.255.255.128 Block size is 2^7=128 hence the range is 192.168.1.0/25 to 192.168.1.127/25 for 100 hosts Given the no of hosts as 100, 50 20 & 6. Find IP addresses and subnet mask for 192.168.1.0
  • 40. VLSM – Example 2 (contd.) • For 50 hosts: 2^h-2>=50, hence h=6 (host bits) Hence value is 8+8+8+(8-6)=26 Hence subnet mask is 11111111.11111111.11111111.11000000 i.e.255.255.255.192 Block size is 2^6=64 hence the range is 192.168.1.128/26 to 192.168.1.191/26 for 50 hosts • For 20 hosts: 2^h-2>=20, hence h=5 (host bits) Hence value is 8+8+8+(8-5)=27 Hence subnet mask is 11111111.11111111.11111111.11100000 i.e.255.255.255.224 Block size is 2^5=32 hence the range is 192.168.1.192/27 to 192.168.1.223/27 for 20 hosts
  • 41. VLSM – Example 2 (contd.) • For 6 hosts: 2^h-2>=6, hence h=3 (host bits) Hence value is 8+8+8+(8-3)=29 Hence subnet mask is 11111111.11111111.11111111.11111000 i.e.255.255.255.248 Block size is 2^3=8 hence the range is 192.168.1.224/29 to 192.168.1.231/29 for 6 hosts • Complete range: 192.168.1.0/25 to 192.168.1.127/25 for 100 hosts 192.168.1.128/26 to 192.168.1.191/26 for 50 hosts 192.168.1.192/27 to 192.168.1.223/27 for 20 hosts 192.168.1.224/29 to 192.168.1.231/29 for 6 hosts
  • 42. Supernetting • It provides route updates in the most efficient way possible by advertising many routes in one advertisement instead of individually. • Its purpose is to reduce the size of routing tables on routers to save memory, which also shortens the amount of time IP requires to parse the routing table when determining the best path to a remote network. • It works only if the network is designed properly. • By creating contiguous blocks of addresses to specific areas of a network, one can then easily summarize the network and keep route updates with a routing protocol to a minimum. • If IP subnets are carelessly handed out to any location on the network, there will no longer be any summary boundaries.