SlideShare a Scribd company logo
1 of 14
IPAddressing and
Subnetting
Ali Nezhad
2
Outline
• Introduction
• IP Address Format
• Routing
– Classful
– Classless
• IP Subnetting
• VLSM
• Summary
3
Introduction
Node 4
Node 2
Node 3Node 1
Router 3
Router 2
Router 1
Router 4
Every communication device needs an address.
4
IP Address Format
01111111.00001010.00010100.10000010
127 . 10 . 20 . 130
00000000binary= 0decimal
11111111binary= 255decimal
5
Packet Routing
212.10.12.14
121.30.112.24
212.10.12.14 DATA
SA
121.30.112.24
DA
6
Classful Addressing
121. 30.112.24
011101001. 00011110.01110000.00011000
Network ID Host ID
Class Pattern 1st
Octet #addresses/net
A x.x.x.x 1 – 127 2563
B x.X.x.x 128- 191 2562
C x.X.X.x 192 - 223 256
7
Classless Addressing
• Allows for breaking up of a classful address range.
• Helps conserve IP addresses.
• Important for network segmentation
8
Subnetting
xxxxxxxx. xxxx xxxx.xxxxxxxx.xxxxxxxx
Network ID Host ID
xxxxxxxx. xxxx.xxxxxxxx.xxxxxxxxxxxx
• 4 bits are borrowed.
• 24
= 16 subnets are available
• #addresses per subnet = 220
9
1111
xxxx xxxx.xxxxxxxx.xxxxxxxx
Subnet Mask
AND
xxxxxxxx.IP Address
1111 1111. 0000.00000000.00000000Subnet Mask
xxxxxxxx. xxxx 0000.00000000.00000000Subnet ID
• CIDR Notation (Classless Inter-Domain Routing)
- Specifies the length of the network portion with a number after a slash (/).
•Example Address: 192.168.129.10/18
The subnet mask equivalent to this CIDR notation is 255.255.192.0
The subnet ID is calculated as:
192.168.129.10 AND 255.255.192.0 = 192.168.128.0
10
VLSM (Variable Length Subnet Masks)
• Custom subnet masks generate subnets that are all of the
same size.
– Note: Subnet masks associated with the A, B and C classes are
called default subnet masks.
• This limitation still results in the wastage of addresses.
• Example: A class C network can be divided into 4
subnets each accommodating 62 hosts. On a subnet that
requires only 2 hosts, 60 addresses will be wasted.
• VLSM prevents this by allowing recursive subnetting.
11
VLSM
Example: Given the IP address of 196.220.10.0/24, propose an addressing
scheme to accommodate three subnets with 2, 30 and 100 hosts.
Solution: The host portion is initially 8 bits long which supports 254 hosts.
Order the subnets in a decreasing number of hosts: Net1: 100, Net2: 30, Net3:
2
Net1: 100 hosts  Requires 128 = 27
addresses borrow 1 bit  2 subnets
are available, new CIDR prefix = /25 , BS= 128
196.220.10. x | 000 0000
Subnet ID#1: x=0  196.220.10.0/25 (196.220.10.1 to 196.220.10.127)
Assign this subnet to Net1.
Subnet ID#2: x=1  196.220.10.128/25 (196.220.10.127 to 196.220.10.255)
Break this down further for other subnets.
12
VLSM (IP address assignments)
Majer Network Original subnets VLSM (L1) VLSM (L2) Assignment
196.220.10.0/24 196.220.10.0//25 Net1
196.220.10.128/25 196.220.10.128/2
7
Net2
196.220.10.160/2
7
Reserved
196.220.10.192/2
7
Reserved
196.220.10.224/2
7
196.220.10.224/3
0
Net3
196.220.10.228/3
0
Reserved
196.220.10.232/3
0
Reserved
196.220.10.236/3
0
Reserved
196.220.10.240/3
0
Reserved
196.220.10.244/3 Reserved
13
Summary
• IP addressing techniques are used to
segment a given address range.
• Segmentation results in IP address
conservation, security and better
performance.
14
Questions

More Related Content

What's hot

CCNA 1 Routing and Switching v5.0 Chapter 3
CCNA 1 Routing and Switching v5.0 Chapter 3CCNA 1 Routing and Switching v5.0 Chapter 3
CCNA 1 Routing and Switching v5.0 Chapter 3Nil Menon
 
Ip addressing
Ip addressingIp addressing
Ip addressingsid1322
 
Ip addressing
Ip addressingIp addressing
Ip addressingOnline
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnettingShashank Asthana
 
CCNA 2 Routing and Switching v5.0 Chapter 5
CCNA 2 Routing and Switching v5.0 Chapter 5CCNA 2 Routing and Switching v5.0 Chapter 5
CCNA 2 Routing and Switching v5.0 Chapter 5Nil Menon
 
CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4Nil Menon
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP AddressingKushal Sheth
 
CCNA 1 Routing and Switching v5.0 Chapter 4
CCNA 1 Routing and Switching v5.0 Chapter 4CCNA 1 Routing and Switching v5.0 Chapter 4
CCNA 1 Routing and Switching v5.0 Chapter 4Nil Menon
 
IP addressing and subnetting.pptx
IP addressing and subnetting.pptxIP addressing and subnetting.pptx
IP addressing and subnetting.pptxnaseerahmad707715
 

What's hot (20)

CCNA 1 Routing and Switching v5.0 Chapter 3
CCNA 1 Routing and Switching v5.0 Chapter 3CCNA 1 Routing and Switching v5.0 Chapter 3
CCNA 1 Routing and Switching v5.0 Chapter 3
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Cn ipv4 addressing
Cn ipv4 addressingCn ipv4 addressing
Cn ipv4 addressing
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
ipv6 ppt
ipv6 pptipv6 ppt
ipv6 ppt
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
CCNA IP Addressing
CCNA IP AddressingCCNA IP Addressing
CCNA IP Addressing
 
Ip address
Ip addressIp address
Ip address
 
IP Subnetting
IP SubnettingIP Subnetting
IP Subnetting
 
Subnet Mask
Subnet MaskSubnet Mask
Subnet Mask
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnetting
 
TCP IP Addressing
TCP IP AddressingTCP IP Addressing
TCP IP Addressing
 
CCNA 2 Routing and Switching v5.0 Chapter 5
CCNA 2 Routing and Switching v5.0 Chapter 5CCNA 2 Routing and Switching v5.0 Chapter 5
CCNA 2 Routing and Switching v5.0 Chapter 5
 
CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP Addressing
 
CCNA 1 Routing and Switching v5.0 Chapter 4
CCNA 1 Routing and Switching v5.0 Chapter 4CCNA 1 Routing and Switching v5.0 Chapter 4
CCNA 1 Routing and Switching v5.0 Chapter 4
 
Subnetting
SubnettingSubnetting
Subnetting
 
Mikrotik Tutorial
Mikrotik TutorialMikrotik Tutorial
Mikrotik Tutorial
 
IP addressing and subnetting.pptx
IP addressing and subnetting.pptxIP addressing and subnetting.pptx
IP addressing and subnetting.pptx
 

Viewers also liked

Classful ip address (ip address picture book 4 from visual land animations)
Classful ip address (ip address picture book 4 from visual land animations)Classful ip address (ip address picture book 4 from visual land animations)
Classful ip address (ip address picture book 4 from visual land animations)vl11111
 
Dynamic vs static
Dynamic vs staticDynamic vs static
Dynamic vs staticNicole Ryan
 
Dynamic vs static stretching
Dynamic vs static stretchingDynamic vs static stretching
Dynamic vs static stretchingdangermansam
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting Saad Tanvir
 
Configuring dynamic and static routing
Configuring dynamic and static routingConfiguring dynamic and static routing
Configuring dynamic and static routingAnand Dhouni
 
Discrete Mathematics Presentation
Discrete Mathematics PresentationDiscrete Mathematics Presentation
Discrete Mathematics PresentationSalman Elahi
 
2[1].1 data transmission
2[1].1 data transmission2[1].1 data transmission
2[1].1 data transmissionHattori Sidek
 
Frequency Modulation In Data Transmission
Frequency Modulation In Data TransmissionFrequency Modulation In Data Transmission
Frequency Modulation In Data TransmissionBise Mond
 
Easy IP Addressing and Subnetting Manual for Starters
Easy IP Addressing and Subnetting Manual for StartersEasy IP Addressing and Subnetting Manual for Starters
Easy IP Addressing and Subnetting Manual for StartersS Khawaja
 
Internetworking devices(networking)
Internetworking devices(networking)Internetworking devices(networking)
Internetworking devices(networking)welcometofacebook
 
Data communication - Lecture-01
Data communication - Lecture-01 Data communication - Lecture-01
Data communication - Lecture-01 Sehrish Rafiq
 

Viewers also liked (20)

Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
Classful ip address (ip address picture book 4 from visual land animations)
Classful ip address (ip address picture book 4 from visual land animations)Classful ip address (ip address picture book 4 from visual land animations)
Classful ip address (ip address picture book 4 from visual land animations)
 
Dynamic Vs Static
Dynamic Vs StaticDynamic Vs Static
Dynamic Vs Static
 
Dynamic vs static
Dynamic vs staticDynamic vs static
Dynamic vs static
 
Dynamic vs static stretching
Dynamic vs static stretchingDynamic vs static stretching
Dynamic vs static stretching
 
Chapter 7: Transmission Media
Chapter 7: Transmission MediaChapter 7: Transmission Media
Chapter 7: Transmission Media
 
CCNA part 2 ip addressing
CCNA part 2 ip addressingCCNA part 2 ip addressing
CCNA part 2 ip addressing
 
C++ Language
C++ LanguageC++ Language
C++ Language
 
Chapter 8: Switching
Chapter 8: SwitchingChapter 8: Switching
Chapter 8: Switching
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting
 
Configuring dynamic and static routing
Configuring dynamic and static routingConfiguring dynamic and static routing
Configuring dynamic and static routing
 
Shortest path algorithm
Shortest  path algorithmShortest  path algorithm
Shortest path algorithm
 
Discrete Mathematics Presentation
Discrete Mathematics PresentationDiscrete Mathematics Presentation
Discrete Mathematics Presentation
 
2[1].1 data transmission
2[1].1 data transmission2[1].1 data transmission
2[1].1 data transmission
 
Frequency Modulation In Data Transmission
Frequency Modulation In Data TransmissionFrequency Modulation In Data Transmission
Frequency Modulation In Data Transmission
 
Easy IP Addressing and Subnetting Manual for Starters
Easy IP Addressing and Subnetting Manual for StartersEasy IP Addressing and Subnetting Manual for Starters
Easy IP Addressing and Subnetting Manual for Starters
 
Internetworking devices(networking)
Internetworking devices(networking)Internetworking devices(networking)
Internetworking devices(networking)
 
Chapter 19: Logical Addressing
Chapter 19: Logical AddressingChapter 19: Logical Addressing
Chapter 19: Logical Addressing
 
IP addressing
IP addressingIP addressing
IP addressing
 
Data communication - Lecture-01
Data communication - Lecture-01 Data communication - Lecture-01
Data communication - Lecture-01
 

Similar to IP Addressing and subnetting

IP Addressing (Subnetting, VLSM, Supernetting)
IP Addressing (Subnetting, VLSM, Supernetting)IP Addressing (Subnetting, VLSM, Supernetting)
IP Addressing (Subnetting, VLSM, Supernetting)cuetcse
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting PresentationTouhidul Fahim
 
Oct. 14, 2011 webcast ch7 subnets bruce hartpence
Oct. 14, 2011 webcast ch7 subnets bruce hartpenceOct. 14, 2011 webcast ch7 subnets bruce hartpence
Oct. 14, 2011 webcast ch7 subnets bruce hartpenceO'Reilly Media
 
Wipro telecom training i pv4 concepts
Wipro telecom training   i pv4 conceptsWipro telecom training   i pv4 concepts
Wipro telecom training i pv4 conceptsJAIGANESH SEKAR
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basicsMahmmoud Mahdi
 
Chapter3ccna
Chapter3ccnaChapter3ccna
Chapter3ccnarobertoxe
 
IP Addressing.ppt
IP Addressing.pptIP Addressing.ppt
IP Addressing.pptjAIREN1
 
ip_addressing_subnetting aaaaaaaaaaa.ppt
ip_addressing_subnetting aaaaaaaaaaa.pptip_addressing_subnetting aaaaaaaaaaa.ppt
ip_addressing_subnetting aaaaaaaaaaa.pptFaysalAhamed32
 
Subnetting class
Subnetting classSubnetting class
Subnetting classFTC
 
Ipaddress presentationdemoclass
Ipaddress presentationdemoclassIpaddress presentationdemoclass
Ipaddress presentationdemoclassaskme
 

Similar to IP Addressing and subnetting (20)

Subnetting
SubnettingSubnetting
Subnetting
 
Vlsm workbook instructors edition v2 0-solucionario
Vlsm workbook  instructors edition   v2 0-solucionarioVlsm workbook  instructors edition   v2 0-solucionario
Vlsm workbook instructors edition v2 0-solucionario
 
Subnetting
SubnettingSubnetting
Subnetting
 
IP Addressing (Subnetting, VLSM, Supernetting)
IP Addressing (Subnetting, VLSM, Supernetting)IP Addressing (Subnetting, VLSM, Supernetting)
IP Addressing (Subnetting, VLSM, Supernetting)
 
Ceyccna3
Ceyccna3Ceyccna3
Ceyccna3
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting Presentation
 
1.IPv4.pptx
1.IPv4.pptx1.IPv4.pptx
1.IPv4.pptx
 
Oct. 14, 2011 webcast ch7 subnets bruce hartpence
Oct. 14, 2011 webcast ch7 subnets bruce hartpenceOct. 14, 2011 webcast ch7 subnets bruce hartpence
Oct. 14, 2011 webcast ch7 subnets bruce hartpence
 
Wipro telecom training i pv4 concepts
Wipro telecom training   i pv4 conceptsWipro telecom training   i pv4 concepts
Wipro telecom training i pv4 concepts
 
Ccna ppt
Ccna pptCcna ppt
Ccna ppt
 
VLSM.pptx
VLSM.pptxVLSM.pptx
VLSM.pptx
 
Day 5.5 subnetting
Day 5.5 subnettingDay 5.5 subnetting
Day 5.5 subnetting
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basics
 
Chapter3ccna
Chapter3ccnaChapter3ccna
Chapter3ccna
 
Chapter3ccna
Chapter3ccnaChapter3ccna
Chapter3ccna
 
IP Addressing.ppt
IP Addressing.pptIP Addressing.ppt
IP Addressing.ppt
 
ip_addressing_subnetting aaaaaaaaaaa.ppt
ip_addressing_subnetting aaaaaaaaaaa.pptip_addressing_subnetting aaaaaaaaaaa.ppt
ip_addressing_subnetting aaaaaaaaaaa.ppt
 
Subnetting class
Subnetting classSubnetting class
Subnetting class
 
Subnetting
SubnettingSubnetting
Subnetting
 
Ipaddress presentationdemoclass
Ipaddress presentationdemoclassIpaddress presentationdemoclass
Ipaddress presentationdemoclass
 

More from Ali Nezhad

Network programming using python
Network programming using pythonNetwork programming using python
Network programming using pythonAli Nezhad
 
Internet of things
Internet of thingsInternet of things
Internet of thingsAli Nezhad
 
converged Networks
converged Networksconverged Networks
converged NetworksAli Nezhad
 
cnet311 q-bank
cnet311 q-bankcnet311 q-bank
cnet311 q-bankAli Nezhad
 
Setting up a WiFi Network v3
Setting up a WiFi Network v3Setting up a WiFi Network v3
Setting up a WiFi Network v3Ali Nezhad
 
adhoc network workshop
adhoc network workshopadhoc network workshop
adhoc network workshopAli Nezhad
 

More from Ali Nezhad (6)

Network programming using python
Network programming using pythonNetwork programming using python
Network programming using python
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
converged Networks
converged Networksconverged Networks
converged Networks
 
cnet311 q-bank
cnet311 q-bankcnet311 q-bank
cnet311 q-bank
 
Setting up a WiFi Network v3
Setting up a WiFi Network v3Setting up a WiFi Network v3
Setting up a WiFi Network v3
 
adhoc network workshop
adhoc network workshopadhoc network workshop
adhoc network workshop
 

Recently uploaded

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Recently uploaded (20)

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

IP Addressing and subnetting

  • 2. 2 Outline • Introduction • IP Address Format • Routing – Classful – Classless • IP Subnetting • VLSM • Summary
  • 3. 3 Introduction Node 4 Node 2 Node 3Node 1 Router 3 Router 2 Router 1 Router 4 Every communication device needs an address.
  • 4. 4 IP Address Format 01111111.00001010.00010100.10000010 127 . 10 . 20 . 130 00000000binary= 0decimal 11111111binary= 255decimal
  • 6. 6 Classful Addressing 121. 30.112.24 011101001. 00011110.01110000.00011000 Network ID Host ID Class Pattern 1st Octet #addresses/net A x.x.x.x 1 – 127 2563 B x.X.x.x 128- 191 2562 C x.X.X.x 192 - 223 256
  • 7. 7 Classless Addressing • Allows for breaking up of a classful address range. • Helps conserve IP addresses. • Important for network segmentation
  • 8. 8 Subnetting xxxxxxxx. xxxx xxxx.xxxxxxxx.xxxxxxxx Network ID Host ID xxxxxxxx. xxxx.xxxxxxxx.xxxxxxxxxxxx • 4 bits are borrowed. • 24 = 16 subnets are available • #addresses per subnet = 220
  • 9. 9 1111 xxxx xxxx.xxxxxxxx.xxxxxxxx Subnet Mask AND xxxxxxxx.IP Address 1111 1111. 0000.00000000.00000000Subnet Mask xxxxxxxx. xxxx 0000.00000000.00000000Subnet ID • CIDR Notation (Classless Inter-Domain Routing) - Specifies the length of the network portion with a number after a slash (/). •Example Address: 192.168.129.10/18 The subnet mask equivalent to this CIDR notation is 255.255.192.0 The subnet ID is calculated as: 192.168.129.10 AND 255.255.192.0 = 192.168.128.0
  • 10. 10 VLSM (Variable Length Subnet Masks) • Custom subnet masks generate subnets that are all of the same size. – Note: Subnet masks associated with the A, B and C classes are called default subnet masks. • This limitation still results in the wastage of addresses. • Example: A class C network can be divided into 4 subnets each accommodating 62 hosts. On a subnet that requires only 2 hosts, 60 addresses will be wasted. • VLSM prevents this by allowing recursive subnetting.
  • 11. 11 VLSM Example: Given the IP address of 196.220.10.0/24, propose an addressing scheme to accommodate three subnets with 2, 30 and 100 hosts. Solution: The host portion is initially 8 bits long which supports 254 hosts. Order the subnets in a decreasing number of hosts: Net1: 100, Net2: 30, Net3: 2 Net1: 100 hosts  Requires 128 = 27 addresses borrow 1 bit  2 subnets are available, new CIDR prefix = /25 , BS= 128 196.220.10. x | 000 0000 Subnet ID#1: x=0  196.220.10.0/25 (196.220.10.1 to 196.220.10.127) Assign this subnet to Net1. Subnet ID#2: x=1  196.220.10.128/25 (196.220.10.127 to 196.220.10.255) Break this down further for other subnets.
  • 12. 12 VLSM (IP address assignments) Majer Network Original subnets VLSM (L1) VLSM (L2) Assignment 196.220.10.0/24 196.220.10.0//25 Net1 196.220.10.128/25 196.220.10.128/2 7 Net2 196.220.10.160/2 7 Reserved 196.220.10.192/2 7 Reserved 196.220.10.224/2 7 196.220.10.224/3 0 Net3 196.220.10.228/3 0 Reserved 196.220.10.232/3 0 Reserved 196.220.10.236/3 0 Reserved 196.220.10.240/3 0 Reserved 196.220.10.244/3 Reserved
  • 13. 13 Summary • IP addressing techniques are used to segment a given address range. • Segmentation results in IP address conservation, security and better performance.