SlideShare a Scribd company logo
3
Most read
5
Most read
6
Most read
IP Subnetting Shahzad Rashid NOC Executive Engineer (TXN) Telenor Pakistan
Contents IP Classes Why Subnetting Subnetting for Networks Subnetting for Hosts
IP Classes: Class A:   1-126 (16 Million Hosts on 127 Networks) Class B:    128-191 (65000 Hosts on 16000 Networks) Class C:    192-223 (254 Hosts on 2 Million Networks) Class D:    224-239 (Reserved for Multicast Groups) Class E:    240-254 (For Future use and R & D) Loop Back Address:  127.x.x.x  (Reserved for Loopback Tests) .1/.2 are usually used as Gateway Addresses The last address e.g. .255 is used as Broadcast Address Why Subnetting: To preserve Public IPv4 Addresses
Subnetting for Networks . Step 1:  Convert the Number of Networks to Binary Step 2:  Reserve bits in Subnet Mask according to the Number of Networks Converted to Binary (From Left to Right) Step 3:  Use  the Last Reserved bit to find your Network Ranges
Practice Scenario . Subnetting for 5 Networks using Class C IP Address: 192.168.1.0 Default Class C Mask: 255.255.255.0 Step 1: Convert required Networks to Binary 128 64 32 16 8 4 2 1 0  0  0  0 0  1 0 1 Bit 1 and 3 are Turned ON. That makes a total of 5 Now Count from Right to Left and see how far is the last bit Turned ON 3 is the count from Right to Left
Practice Scenario (Contd…) . Step 2:  Subnet mask: 255.255.255.0 Reserve 3 bits in the Fourth Octet of Subnet Mask from Left to Right (Turn them ON and turn OFF the remaining bits) 255   255   255   0 11111111 11111111 11111111 000000000 11111111 11111111 11111111 111 000000 First 3 Bits of the Last (Fourth) Octet Reserved Subnet Mask comes out to be : 255.255.255.224 This is the Subnet Mask for 5 Networks
Practice Scenario (Contd…) . Step 3:  255   255   255   0 11111111 11111111 11111111 000000000 11111111 11111111 11111111 111 000000 Refer to the Last Octet 128 64 32 16 8 4 2 1 1  1  1  0 0  0 0 0 Starting from Left to Right notice the last bit Turned ON Last bit Turned ON is 32 Network Ranges will be determined using 32
Practice Scenario (Contd…) . Step 3 (Contd…):  Network Ranges (The best possible utilization of IP for 5 Networks) 1. 192.168.1.1 ----- 192.168.1.31 2.   192.168.1.32 ----- 192.168.1.63 3.   192.168.1.64 ----- 192.168.1.95 4.   192.168.1.96 ----- 192.168.1.127 5.   192.168.1.128 ----- 192.168.1.159 6.   192.168.1.160 ----- 192.168.1.191 7.   192.168.1.192 ----- 192.168.1.223 These are the 7 Seven Network Ranges which is the most appropriate Subnetting for 5 Networks without misusing the IP’s
Subnetting for Hosts . Step 1:  Convert the Number of Hosts to Binary Step 2:  Reserve bits in Subnet Mask according to the Number of Hosts Converted to Binary (From Right to Left) Step 3:  Use Last Reserved bit to find your Network Ranges
Practice Scenario . Subnetting for 50 Hosts using Class C IP Address: 192.168.1.0 Default Class C Mask: 255.255.255.0 Step 1: Convert required Networks to Binary 128 64 32 16 8 4 2 1 0  0  1   1 0  0 1 0 Bit 2, 5 and 6 are Turned ON. That makes a total of 50 Now Count from Left to Right and see how far is the last bit Turned ON 6 is the count from Right to Left
Practice Scenario (Contd…) . Step 2:  Subnet mask: 255.255.255.0 Reserve 6 bits in the Fourth Octet of Subnet Mask from Right to Left (Turn them OFF and turn ON the remaining bits) 255   255   255   0 11111111 11111111 11111111 000000000 11111111 11111111 11111111 11 0000000 Last 6 Bits of the Last (Fourth) Octet Reserved Subnet Mask comes out to be : 255.255.255.192 This is the Subnet Mask for 50 Hosts
Practice Scenario (Contd…) . Step 3:  255   255   255   0 11111111   11111111 11111111 000000000 11111111   11111111 11111111 11 0000000 Refer to the Last Octet 128 64 32 16 8 4 2 1 1   1  0   0 0  0 0 0 Starting from Left to Right notice the last bit Turned ON Last bit Turned ON is 64 Network Ranges for 50 Hosts will be determined using 64
Practice Scenario (Contd…) . Step 3 (Contd…):  Network Ranges (The best possible utilization of IP for 50 Hosts) 1. 192.168.1.1 ----- 192.168.1.63 2.   192.168.1.64 ----- 192.168.1.127 3.   192.168.1.128 ----- 192.168.1.191 4.  192.168.1.192 ----- 192.168.1.255 Each Network Range can have around 60-61 Hosts each, which is the best possible Subnetting for 50 Hosts
Thanks for Viewing .

More Related Content

PPTX
Subnetting
PPT
IP NETWORKING AND IP SUBNET MASKING
PPSX
Subnetting
PPT
Subnetting
PPTX
Subnetting Presentation
PPTX
IPv4 addressing and subnetting
PPS
Lesson 2: Subnetting basics
PPT
IP addressing
Subnetting
IP NETWORKING AND IP SUBNET MASKING
Subnetting
Subnetting
Subnetting Presentation
IPv4 addressing and subnetting
Lesson 2: Subnetting basics
IP addressing

What's hot (20)

PPTX
Subnet Mask
DOCX
PPTX
Ccna PPT
PDF
CCNAv5 - S1: Chapter 4 - Network Access
PPT
Ip addressing
PPTX
Subnetting (FLSM & VLSM) with examples
PPT
Ip address and subnetting
PDF
CCNAv5 - S1: Chapter 3 - Network protocols and communications
PPTX
Subnet Masks
PPTX
Ip address presentation
PPTX
IP addressing and Subnetting PPT
PPTX
Sub Netting
PPT
CCNA IP Addressing
PPT
Ip addressing
PPTX
IP address
PPTX
IP Address - IPv4 & IPv6
PPTX
Basics of IP Addressing
PPTX
IP classes
PDF
CCNAv5 - S2: Chapter5 Inter Vlan Routing
PDF
CCNAv5 - S1: Chapter 9 - Subnetting Ip Networks
Subnet Mask
Ccna PPT
CCNAv5 - S1: Chapter 4 - Network Access
Ip addressing
Subnetting (FLSM & VLSM) with examples
Ip address and subnetting
CCNAv5 - S1: Chapter 3 - Network protocols and communications
Subnet Masks
Ip address presentation
IP addressing and Subnetting PPT
Sub Netting
CCNA IP Addressing
Ip addressing
IP address
IP Address - IPv4 & IPv6
Basics of IP Addressing
IP classes
CCNAv5 - S2: Chapter5 Inter Vlan Routing
CCNAv5 - S1: Chapter 9 - Subnetting Ip Networks
Ad

Viewers also liked (20)

PPT
Subneting
PPSX
Lesson.7: Configuring IP Routing B
PPSX
Lesson 4: Network Infrastucture
PPSX
Lesson 9: Managing Files
PPS
Lesson1: Introduction To Networking Concepts
PPSX
Lesson 5: Configuring Name Resolution
PPSX
Lesson.7: Configuring IP Routing A
PPSX
Lesson 10: Managing Printers
PPS
Lesson 3: IPv6 Fundamentals
PPTX
Pjsmith ip addressing & subnetting madeeasy
PPTX
Gmail Basics
PPT
Beginner's guide to gmail
PPTX
PPTX
Subnetting
PPTX
Ccna v5-S1-Chapter 9
PPT
Computer Networking: Subnetting and IP Addressing
PPT
Introduction to Gmail
PPSX
Lesson 6: Dynamic Host Configuration Protocol A
PPTX
Subnetting Basics Tutorial
PPT
CCNA TCP/IP
Subneting
Lesson.7: Configuring IP Routing B
Lesson 4: Network Infrastucture
Lesson 9: Managing Files
Lesson1: Introduction To Networking Concepts
Lesson 5: Configuring Name Resolution
Lesson.7: Configuring IP Routing A
Lesson 10: Managing Printers
Lesson 3: IPv6 Fundamentals
Pjsmith ip addressing & subnetting madeeasy
Gmail Basics
Beginner's guide to gmail
Subnetting
Ccna v5-S1-Chapter 9
Computer Networking: Subnetting and IP Addressing
Introduction to Gmail
Lesson 6: Dynamic Host Configuration Protocol A
Subnetting Basics Tutorial
CCNA TCP/IP
Ad

Similar to IP Subnetting (20)

PPTX
Cara Subnetting server untuk menciptakan beberapa alamat jaringan logical
PDF
6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf
PPTX
Fixed Length Subnetting about ip address.pptx
PDF
subnet network Addressing Network v1.pdf
PDF
Ip -subnetting
PDF
Subnetting
PPTX
chapter 4.pptx
PDF
Subnetting Principles
PPT
PDF
Ip subnetting
PPTX
Data Communications and Network -Subnetting
PPT
8-Additional_IPSubnetting_KED (2).ppt
PPT
Subnetting
PDF
Day03
PPT
Ceyccna3
PPT
subnetting ipv4-Ipv4 subneeting methodologies
PPT
Chapter3ccna
PPT
Chapter3ccna
PPT
Subneting.ppt
PPSX
Easy subnetting
Cara Subnetting server untuk menciptakan beberapa alamat jaringan logical
6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf
Fixed Length Subnetting about ip address.pptx
subnet network Addressing Network v1.pdf
Ip -subnetting
Subnetting
chapter 4.pptx
Subnetting Principles
Ip subnetting
Data Communications and Network -Subnetting
8-Additional_IPSubnetting_KED (2).ppt
Subnetting
Day03
Ceyccna3
subnetting ipv4-Ipv4 subneeting methodologies
Chapter3ccna
Chapter3ccna
Subneting.ppt
Easy subnetting

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Machine Learning_overview_presentation.pptx
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPT
Teaching material agriculture food technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Approach and Philosophy of On baking technology
PPTX
Big Data Technologies - Introduction.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
MYSQL Presentation for SQL database connectivity
Dropbox Q2 2025 Financial Results & Investor Presentation
“AI and Expert System Decision Support & Business Intelligence Systems”
Digital-Transformation-Roadmap-for-Companies.pptx
Assigned Numbers - 2025 - Bluetooth® Document
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Machine Learning_overview_presentation.pptx
SOPHOS-XG Firewall Administrator PPT.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
20250228 LYD VKU AI Blended-Learning.pptx
Teaching material agriculture food technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
NewMind AI Weekly Chronicles - August'25-Week II
Approach and Philosophy of On baking technology
Big Data Technologies - Introduction.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Unlocking AI with Model Context Protocol (MCP)
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Electronic commerce courselecture one. Pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11

IP Subnetting

  • 1. IP Subnetting Shahzad Rashid NOC Executive Engineer (TXN) Telenor Pakistan
  • 2. Contents IP Classes Why Subnetting Subnetting for Networks Subnetting for Hosts
  • 3. IP Classes: Class A: 1-126 (16 Million Hosts on 127 Networks) Class B: 128-191 (65000 Hosts on 16000 Networks) Class C: 192-223 (254 Hosts on 2 Million Networks) Class D: 224-239 (Reserved for Multicast Groups) Class E: 240-254 (For Future use and R & D) Loop Back Address: 127.x.x.x (Reserved for Loopback Tests) .1/.2 are usually used as Gateway Addresses The last address e.g. .255 is used as Broadcast Address Why Subnetting: To preserve Public IPv4 Addresses
  • 4. Subnetting for Networks . Step 1: Convert the Number of Networks to Binary Step 2: Reserve bits in Subnet Mask according to the Number of Networks Converted to Binary (From Left to Right) Step 3: Use the Last Reserved bit to find your Network Ranges
  • 5. Practice Scenario . Subnetting for 5 Networks using Class C IP Address: 192.168.1.0 Default Class C Mask: 255.255.255.0 Step 1: Convert required Networks to Binary 128 64 32 16 8 4 2 1 0 0 0 0 0 1 0 1 Bit 1 and 3 are Turned ON. That makes a total of 5 Now Count from Right to Left and see how far is the last bit Turned ON 3 is the count from Right to Left
  • 6. Practice Scenario (Contd…) . Step 2: Subnet mask: 255.255.255.0 Reserve 3 bits in the Fourth Octet of Subnet Mask from Left to Right (Turn them ON and turn OFF the remaining bits) 255 255 255 0 11111111 11111111 11111111 000000000 11111111 11111111 11111111 111 000000 First 3 Bits of the Last (Fourth) Octet Reserved Subnet Mask comes out to be : 255.255.255.224 This is the Subnet Mask for 5 Networks
  • 7. Practice Scenario (Contd…) . Step 3: 255 255 255 0 11111111 11111111 11111111 000000000 11111111 11111111 11111111 111 000000 Refer to the Last Octet 128 64 32 16 8 4 2 1 1 1 1 0 0 0 0 0 Starting from Left to Right notice the last bit Turned ON Last bit Turned ON is 32 Network Ranges will be determined using 32
  • 8. Practice Scenario (Contd…) . Step 3 (Contd…): Network Ranges (The best possible utilization of IP for 5 Networks) 1. 192.168.1.1 ----- 192.168.1.31 2. 192.168.1.32 ----- 192.168.1.63 3. 192.168.1.64 ----- 192.168.1.95 4. 192.168.1.96 ----- 192.168.1.127 5. 192.168.1.128 ----- 192.168.1.159 6. 192.168.1.160 ----- 192.168.1.191 7. 192.168.1.192 ----- 192.168.1.223 These are the 7 Seven Network Ranges which is the most appropriate Subnetting for 5 Networks without misusing the IP’s
  • 9. Subnetting for Hosts . Step 1: Convert the Number of Hosts to Binary Step 2: Reserve bits in Subnet Mask according to the Number of Hosts Converted to Binary (From Right to Left) Step 3: Use Last Reserved bit to find your Network Ranges
  • 10. Practice Scenario . Subnetting for 50 Hosts using Class C IP Address: 192.168.1.0 Default Class C Mask: 255.255.255.0 Step 1: Convert required Networks to Binary 128 64 32 16 8 4 2 1 0 0 1 1 0 0 1 0 Bit 2, 5 and 6 are Turned ON. That makes a total of 50 Now Count from Left to Right and see how far is the last bit Turned ON 6 is the count from Right to Left
  • 11. Practice Scenario (Contd…) . Step 2: Subnet mask: 255.255.255.0 Reserve 6 bits in the Fourth Octet of Subnet Mask from Right to Left (Turn them OFF and turn ON the remaining bits) 255 255 255 0 11111111 11111111 11111111 000000000 11111111 11111111 11111111 11 0000000 Last 6 Bits of the Last (Fourth) Octet Reserved Subnet Mask comes out to be : 255.255.255.192 This is the Subnet Mask for 50 Hosts
  • 12. Practice Scenario (Contd…) . Step 3: 255 255 255 0 11111111 11111111 11111111 000000000 11111111 11111111 11111111 11 0000000 Refer to the Last Octet 128 64 32 16 8 4 2 1 1 1 0 0 0 0 0 0 Starting from Left to Right notice the last bit Turned ON Last bit Turned ON is 64 Network Ranges for 50 Hosts will be determined using 64
  • 13. Practice Scenario (Contd…) . Step 3 (Contd…): Network Ranges (The best possible utilization of IP for 50 Hosts) 1. 192.168.1.1 ----- 192.168.1.63 2. 192.168.1.64 ----- 192.168.1.127 3. 192.168.1.128 ----- 192.168.1.191 4. 192.168.1.192 ----- 192.168.1.255 Each Network Range can have around 60-61 Hosts each, which is the best possible Subnetting for 50 Hosts