SlideShare a Scribd company logo
Insight IP and Subnet
I – IPv4
II – Subnet
nghint@imt-soft.com 1
I – IPv4
nghint@imt-soft.com 2
nghint@imt-soft.com 3
Application
Presentation
Session
Transport
Network
Data link
Physical
IP – Internet Protocol
OSI
nghint@imt-soft.com 4
- 32- bit and consists of 2 parts:
- Write it down: 4 blocks of 8 bits
IPv4
Network Host
8-bit 8-bit 8-bit 8-bit
192. 168. 1. 1.
1100000 10101000 0000001 00000001
nghint@imt-soft.com 5
Class A:
5 classes of IPv4
0xxxxxx Host Host Host
 IP range: 0.0.0.0 – 127.255.255.255
 Reserved: 10.0.0.0 – 10.255.255.255 (Private IP)
 Localhost: 127.0.0.0 - 127.255.255.255
nghint@imt-soft.com 6
Class B:
5 classes of IPv4
10xxxxx Network Host Host
 IP range: 128.0.0.0 - 191.255.255.255
 Reserved: 172.16.0.0 - 172.31.255.255 (Private IP)
nghint@imt-soft.com 7
Class C:
5 classes of IPv4
110xxxx Network Network Host
 IP range: 192.0.0.0 - 223.255.255.255
 Reserved: 192.168.0.0 - 192.168.255.255 (Private IP)
nghint@imt-soft.com 8
Class D:
5 classes of IPv4
 IP range: 224.0.0.0 - 239.255.255.255
1110xxx Network Network Host
nghint@imt-soft.com 9
Class E:
5 classes of IPv4
 IP range: 240.0.0.0 - 255.255.255.255
 http://tools.ietf.org/html/rfc6890
nghint@imt-soft.com 10
Write down start and end IP
addresses which use to assign
to PC for class A, B and C.
Challenge 1
nghint@imt-soft.com 11
- Class A: x.0.0.1 – x.255.255.254
- Class B: x.x.0.1 – x.x.255.254
- Class C: x.x.x.1 – x.x.x.254
Challenge 1 - Solution
nghint@imt-soft.com 12
Network address: when we set all bit of our host part to 0.
-Class A: 0.0.0.0
- Class B: 128.0.0.0
- Class C: 192.0.0.0
Broadcast Address: when we set all bit of our host part to 1.
- Class A: 126.255.255.255
- Class B: 191.255.255.255
- Class C: 223.255.255.255
Network/Broadcast Address
nghint@imt-soft.com 13
II - SUBNET
nghint@imt-soft.com 14
How to plan IP for this network???
nghint@imt-soft.com 15
 Has 3 networks  need 2 more bits for Network part
IP Planning - Solution 1
VLMS: Variable Length Subnet Mask
XX Network address Broadcast Address
00 192.168.1.0 192.168.1.63
01 192.168.1.64 192.168.1.127
10 192.168.1.128 192.168.1.191
11 192.168.1.192 192.168.1.255
nghint@imt-soft.com 16
 60 hosts need 6 bits at host part (2^6 = 64)
192.168.1.0/26
 28 hosts need 5 bits at host part (2^5=32)
192.168.1.0/27
 2 router need 2 bits at host part (2^2 = 4)
192.168.1.0/30
IP Planning - Solution 2
VLMS: Variable Length Subnet Mask
nghint@imt-soft.com 17
 Write down:
• Network IP,
• Start IP,
• End IP,
• Broadcast IP,
for each network.
Challenge 2
nghint@imt-soft.com 18
For network: 192.168.1.0/26:
Last block: 00XX XXXX
• Network IP: 192.168.1.0
• Start IP: 192.168.1.1
• End IP: 192.168.1.62
• Broadcast IP: 192.168.1.63
Challenge 2 Solution
nghint@imt-soft.com 19
nghint@imt-soft.com 20

More Related Content

What's hot

Ip Addressing Basics
Ip Addressing BasicsIp Addressing Basics
Ip Addressing Basics
tmavroidis
 
Easy subnetting
Easy subnettingEasy subnetting
Easy subnetting
Saravanan Kanagasabapathi
 
Subnet calculation Tutorial
Subnet calculation TutorialSubnet calculation Tutorial
Subnet calculation Tutorial
Ritu Ranjan Shrivastwa
 
Ip addressing3
Ip addressing3Ip addressing3
Ip addressing3
SYEDYAWARIMAMKAZMI
 
CCNA 1 Routing and Switching v5.0 Chapter 9
CCNA 1 Routing and Switching v5.0 Chapter 9CCNA 1 Routing and Switching v5.0 Chapter 9
CCNA 1 Routing and Switching v5.0 Chapter 9
Nil Menon
 
I pv4 subneting
I pv4 subnetingI pv4 subneting
I pv4 subneting
tivang yem
 
I pv4 address classes
I pv4 address classesI pv4 address classes
I pv4 address classes
mail2rajeev10
 
Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorial
mikem801
 
Subnetting
SubnettingSubnetting
Subnettingswascher
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
IGZ Software house
 
Computer Networking: Subnetting and IP Addressing
Computer Networking: Subnetting and IP AddressingComputer Networking: Subnetting and IP Addressing
Computer Networking: Subnetting and IP Addressing
Bisrat Girma
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
Mustafa Salam
 
CCNA Exam 640-802 Version 9.3
CCNA Exam 640-802 Version 9.3CCNA Exam 640-802 Version 9.3
CCNA Exam 640-802 Version 9.3Ravi Yasas
 
Subnetting a class_c_address
Subnetting a class_c_addressSubnetting a class_c_address
Subnetting a class_c_addressrizwanaabassi
 
IPv4 Addressing Architecture
IPv4 Addressing ArchitectureIPv4 Addressing Architecture
IPv4 Addressing Architecture
Shreehari Dhat
 
Ip address concepts
Ip address conceptsIp address concepts
Ip address conceptsmyrajendra
 
Ip addressing
Ip addressingIp addressing
Ip addressing
techittricks
 
CCNA IP Address,Subnet mask (part 2)
CCNA IP Address,Subnet mask (part 2)CCNA IP Address,Subnet mask (part 2)
CCNA IP Address,Subnet mask (part 2)
Anis Mizi
 

What's hot (20)

Ip Addressing Basics
Ip Addressing BasicsIp Addressing Basics
Ip Addressing Basics
 
Easy subnetting
Easy subnettingEasy subnetting
Easy subnetting
 
Subnet calculation Tutorial
Subnet calculation TutorialSubnet calculation Tutorial
Subnet calculation Tutorial
 
Ip addressing3
Ip addressing3Ip addressing3
Ip addressing3
 
CCNA 1 Routing and Switching v5.0 Chapter 9
CCNA 1 Routing and Switching v5.0 Chapter 9CCNA 1 Routing and Switching v5.0 Chapter 9
CCNA 1 Routing and Switching v5.0 Chapter 9
 
I pv4 subneting
I pv4 subnetingI pv4 subneting
I pv4 subneting
 
I pv4 address classes
I pv4 address classesI pv4 address classes
I pv4 address classes
 
Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorial
 
Subnetting
SubnettingSubnetting
Subnetting
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
Computer Networking: Subnetting and IP Addressing
Computer Networking: Subnetting and IP AddressingComputer Networking: Subnetting and IP Addressing
Computer Networking: Subnetting and IP Addressing
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
 
CCNA Exam 640-802 Version 9.3
CCNA Exam 640-802 Version 9.3CCNA Exam 640-802 Version 9.3
CCNA Exam 640-802 Version 9.3
 
Subnetting
SubnettingSubnetting
Subnetting
 
Subnetting a class_c_address
Subnetting a class_c_addressSubnetting a class_c_address
Subnetting a class_c_address
 
Ipv4 Final
Ipv4 FinalIpv4 Final
Ipv4 Final
 
IPv4 Addressing Architecture
IPv4 Addressing ArchitectureIPv4 Addressing Architecture
IPv4 Addressing Architecture
 
Ip address concepts
Ip address conceptsIp address concepts
Ip address concepts
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
CCNA IP Address,Subnet mask (part 2)
CCNA IP Address,Subnet mask (part 2)CCNA IP Address,Subnet mask (part 2)
CCNA IP Address,Subnet mask (part 2)
 

Viewers also liked

HNDIT_SRI_LANKA
HNDIT_SRI_LANKAHNDIT_SRI_LANKA
HNDIT_SRI_LANKA
Thilini munasinghe
 
Ethernet tutorial
Ethernet tutorialEthernet tutorial
Ethernet tutorial
Laureano Zantedeschi
 
Computer generation
Computer generationComputer generation
Computer generation
syed areeb afzal
 
Developing an Intranet Strategy
Developing an Intranet StrategyDeveloping an Intranet Strategy
Developing an Intranet Strategy
DNN
 

Viewers also liked (6)

NET+ Subnetting
NET+ SubnettingNET+ Subnetting
NET+ Subnetting
 
HNDIT_SRI_LANKA
HNDIT_SRI_LANKAHNDIT_SRI_LANKA
HNDIT_SRI_LANKA
 
Ip subnet
Ip subnetIp subnet
Ip subnet
 
Ethernet tutorial
Ethernet tutorialEthernet tutorial
Ethernet tutorial
 
Computer generation
Computer generationComputer generation
Computer generation
 
Developing an Intranet Strategy
Developing an Intranet StrategyDeveloping an Intranet Strategy
Developing an Intranet Strategy
 

Similar to IPand subnet

IP Concept in LTE
IP Concept in LTEIP Concept in LTE
IP Concept in LTESofian .
 
Junos routing overview from Juniper
Junos routing overview from JuniperJunos routing overview from Juniper
Junos routing overview from Juniper
Nam Nguyen
 
Lecture 06
Lecture 06Lecture 06
Lecture 06
Naveen Shivegowda
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
vssnsarma
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
aakritii765
 
IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING
AYESHA JAVED
 
How IP address works
How IP address worksHow IP address works
How IP address works
Sanjeev Kumar Jaiswal
 
CCNA Icnd110 s04l03
CCNA Icnd110 s04l03CCNA Icnd110 s04l03
CCNA Icnd110 s04l03
computerlenguyen
 
Basic network training1
Basic network training1Basic network training1
Basic network training1
Arunchai Seangparch
 
CCNA ppt Day 3
CCNA ppt Day 3CCNA ppt Day 3
CCNA ppt Day 3
VISHNU N
 
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
kurtmctaggart
 
Network Layer V.ppt
Network Layer V.pptNetwork Layer V.ppt
Network Layer V.ppt
ShehryarFreelancer
 
Ip addresses
Ip addressesIp addresses
Ip addressesAsif
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting
Saad Tanvir
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
Kishore Kumar
 
IP classes and subnetting.
IP classes and subnetting.IP classes and subnetting.
IP classes and subnetting.
university of Gujrat, pakistan
 
Networking
NetworkingNetworking
NetworkingRashmi
 

Similar to IPand subnet (20)

IP Concept in LTE
IP Concept in LTEIP Concept in LTE
IP Concept in LTE
 
Junos routing overview from Juniper
Junos routing overview from JuniperJunos routing overview from Juniper
Junos routing overview from Juniper
 
Mod6
Mod6Mod6
Mod6
 
Lecture 06
Lecture 06Lecture 06
Lecture 06
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING
 
How IP address works
How IP address worksHow IP address works
How IP address works
 
CCNA Icnd110 s04l03
CCNA Icnd110 s04l03CCNA Icnd110 s04l03
CCNA Icnd110 s04l03
 
Basic network training1
Basic network training1Basic network training1
Basic network training1
 
CCNA ppt Day 3
CCNA ppt Day 3CCNA ppt Day 3
CCNA ppt Day 3
 
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
 
Network Layer V.ppt
Network Layer V.pptNetwork Layer V.ppt
Network Layer V.ppt
 
Ccna pres
Ccna presCcna pres
Ccna pres
 
Ip addresses
Ip addressesIp addresses
Ip addresses
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
IP classes and subnetting.
IP classes and subnetting.IP classes and subnetting.
IP classes and subnetting.
 
Networking
NetworkingNetworking
Networking
 

Recently uploaded

From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 

Recently uploaded (20)

From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 

IPand subnet

  • 1. Insight IP and Subnet I – IPv4 II – Subnet nghint@imt-soft.com 1
  • 5. - 32- bit and consists of 2 parts: - Write it down: 4 blocks of 8 bits IPv4 Network Host 8-bit 8-bit 8-bit 8-bit 192. 168. 1. 1. 1100000 10101000 0000001 00000001 nghint@imt-soft.com 5
  • 6. Class A: 5 classes of IPv4 0xxxxxx Host Host Host  IP range: 0.0.0.0 – 127.255.255.255  Reserved: 10.0.0.0 – 10.255.255.255 (Private IP)  Localhost: 127.0.0.0 - 127.255.255.255 nghint@imt-soft.com 6
  • 7. Class B: 5 classes of IPv4 10xxxxx Network Host Host  IP range: 128.0.0.0 - 191.255.255.255  Reserved: 172.16.0.0 - 172.31.255.255 (Private IP) nghint@imt-soft.com 7
  • 8. Class C: 5 classes of IPv4 110xxxx Network Network Host  IP range: 192.0.0.0 - 223.255.255.255  Reserved: 192.168.0.0 - 192.168.255.255 (Private IP) nghint@imt-soft.com 8
  • 9. Class D: 5 classes of IPv4  IP range: 224.0.0.0 - 239.255.255.255 1110xxx Network Network Host nghint@imt-soft.com 9
  • 10. Class E: 5 classes of IPv4  IP range: 240.0.0.0 - 255.255.255.255  http://tools.ietf.org/html/rfc6890 nghint@imt-soft.com 10
  • 11. Write down start and end IP addresses which use to assign to PC for class A, B and C. Challenge 1 nghint@imt-soft.com 11
  • 12. - Class A: x.0.0.1 – x.255.255.254 - Class B: x.x.0.1 – x.x.255.254 - Class C: x.x.x.1 – x.x.x.254 Challenge 1 - Solution nghint@imt-soft.com 12
  • 13. Network address: when we set all bit of our host part to 0. -Class A: 0.0.0.0 - Class B: 128.0.0.0 - Class C: 192.0.0.0 Broadcast Address: when we set all bit of our host part to 1. - Class A: 126.255.255.255 - Class B: 191.255.255.255 - Class C: 223.255.255.255 Network/Broadcast Address nghint@imt-soft.com 13
  • 15. How to plan IP for this network??? nghint@imt-soft.com 15
  • 16.  Has 3 networks  need 2 more bits for Network part IP Planning - Solution 1 VLMS: Variable Length Subnet Mask XX Network address Broadcast Address 00 192.168.1.0 192.168.1.63 01 192.168.1.64 192.168.1.127 10 192.168.1.128 192.168.1.191 11 192.168.1.192 192.168.1.255 nghint@imt-soft.com 16
  • 17.  60 hosts need 6 bits at host part (2^6 = 64) 192.168.1.0/26  28 hosts need 5 bits at host part (2^5=32) 192.168.1.0/27  2 router need 2 bits at host part (2^2 = 4) 192.168.1.0/30 IP Planning - Solution 2 VLMS: Variable Length Subnet Mask nghint@imt-soft.com 17
  • 18.  Write down: • Network IP, • Start IP, • End IP, • Broadcast IP, for each network. Challenge 2 nghint@imt-soft.com 18
  • 19. For network: 192.168.1.0/26: Last block: 00XX XXXX • Network IP: 192.168.1.0 • Start IP: 192.168.1.1 • End IP: 192.168.1.62 • Broadcast IP: 192.168.1.63 Challenge 2 Solution nghint@imt-soft.com 19

Editor's Notes

  1. 1. First you write a letter. 2. You put the letter in an envelope. 3. You write your name and the name of the receiver on the envelope. 4. You put the envelope in the mailbox. 5. The content of the mailbox will go to the central processing office of the postal service. 6. Your envelope will be delivered to the receiver. 7. They open the envelope and read its contents.
  2. RFC1918 10.0.0.0 - 10.255.255.255 Localhost 127.0.0.0 - 127.255.255.255
  3. 128.0.0.0 - 191.255.255.255 RFC1918 172.16.0.0 - 172.31.255.255
  4. 192.0.0.0 - 223.255.255.255 RFC1918 192.168.0.0 - 192.168.255.255
  5. 224.0.0.0 - 239.255.255.255 Multicast: 224.0.0.5 & 224.0.0.6: OSFP 224.0.0.9: RIP 224.0.0.10: EIGRP
  6. http://tools.ietf.org/html/rfc6890
  7. If we set all the bits to 0 in our “host” part then we have the network address. If we set all the bits to 1 we’ll have a broadcast IP address.
  8. - Class A: 0.0.0.1 – 126.255.255.254 - Class B: 128.0.0.1 – 191.255.255.254 - Class C: 192.0.0.1 – 223.255.255.254
  9. CIDR: Classless interdomain routing
  10. VLSM: Variable length subnet masks