尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
SUBNET MASKS Developed by Peter Smith
Subnet Mask An IP address has 2 parts: The Network identification. The Host identification. Frequently, the Network & Host portions of the address need to be separately extracted. In most cases, if you know the address class, it’s easy to separate the 2 portions. Peter Smith 2
Subnet Mask (Cont.) With the rapid growth of the internet & the ever-increasing demand for new addresses, the standard address class structure has been expanded by borrowing bits from the Host portion to allow for more Networks. Under this addressing scheme, called Subnetting, separating the Network & Host requires a special process called Subnet Masking. Peter Smith 3
Subnet Mask (Cont.) The subnet masking process was developed to identify & extract the Network part of the address. A subnet mask, which contains a binary bit pattern of ones & zeros, is applied to an address to determine whether the address is on the local Network. If it is not, the process of routing it to an outside network begins. Peter Smith 4
Subnet Mask (Cont.) The function of a subnet mask is to determine whether an IP address exists on the local network or whether it must be routed outside the local network. It is applied to a message’s destination address to extract the network address. If the extracted network address matches the local network ID, the destination is located on the local network. Peter Smith 5
Subnet Mask (Cont.) However, if they don’t match, the message must be routed outside the local network. The process used to apply the subnet mask involves Boolean Algebra to filter out non-matching bits to identify the network address. Peter Smith 6
Boolean Algebra Boolean Algebra is a process that applies binary logic to yield binary results. Working with subnet masks, you need only 4 basic principles of Boolean Algebra: 1 and 1 = 1 1 and 0 = 0 0 and 1 = 0 0 and 0 = 0 Peter Smith 7
Boolean Algebra (Cont.) In another words, the only way you can get a result of a 1 is to combine 1 & 1.  Everything else will end up as a 0. The process of combining binary values with Boolean Algebra is called Anding. Peter Smith 8
Default Subnet Masks There are default standard subnet masks for Class A, B and C addresses: Peter Smith 9
Subnet Masks Subnet masks apply only to Class A, B or C IP addresses. The subnet mask is like a filter that is applied to a message’s destination IP address. Its objective is to determine if the local network is the destination network. Peter Smith 10
Example The subnet mask goes like this: If a destination IP address is 206.175.162.21, we know that it is a Class C address & that its binary equivalent is: 11001110.10101111.10100010.00010101 Peter Smith 11
Example We also know that the default standard Class C subnet mask is: 255.255.255.0 and that its binary equivalent is: 11111111.11111111.11111111.00000000 Peter Smith 12
Example When these two binary numbers (the IP address & the subnet mask) are combined using Boolean Algebra, the Network ID of the destination network is the result: Peter Smith 13
Example The result is the IP address of the network which in this case is the same as the local network & means that the message is for a node on the local network. Peter Smith 14
Routing IP Addresses When you build a network, you need to figure out how many network Ids your network requires. To do so, you must account for every WAN connection & subnet on the Network. Every node & router interface requires a Host address, or ID. Peter Smith 15
Routing IP Addresses (Cont.) There’s no hard & fast rule on how you should dole out your allotted IP addresses. Commonly, though, the lowest numbers (1 through 10) are assigned to routers & servers but how you assign addresses is strictly up to you & your network policies & guidelines. Peter Smith 16
Peter Smith 17 Finding Subnetwork A 3-step example of how the default Class A subnet mask is applied to a Class A address:
Peter Smith 18 Finding Subnetwork In the previous slide, the default Class A subnet mask (255.0.0.0) is AND’d with the Class A address (123.123.123.001) using Boolean Algebra, which results in the Network ID (123.0.0.0) being revealed. The default Class B subnet mask (255.255.0.0) strips out the 16-bit network ID & the default Class C subnet mask (255.255.255.0) strips out the 24-bit network ID.
Peter Smith 19 Subnetting, Subnet & Subnet Mask Subnetting, a subnet & a subnet mask are all different. In fact, the 1st creates the 2nd & is identified by the 3rd. Subnetting is the process of dividing a network & its IP addresses into segments, each of which is called a subnetwork or subnet.
Peter Smith 20 Subnetting, Subnet & Subnet Mask The subnet mask is the 32-bit number that the router uses to cover up the network address to show which bits are being used to identify the subnet.

More Related Content

What's hot

Subnetting
SubnettingSubnetting
Subnetting
Fatima Qayyum
 
IP addressing seminar ppt
IP addressing seminar pptIP addressing seminar ppt
IP addressing seminar ppt
Smriti Rastogi
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
Mustafa Salam
 
Subnetting
SubnettingSubnetting
Subnetting
Gichelle Amon
 
Ip addressing
Ip addressingIp addressing
Ip addressing
Online
 
Sub Netting
Sub NettingSub Netting
Sub Netting
Lilesh Pathe
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnetting
Shashank Asthana
 
Subnetting
SubnettingSubnetting
Subnetting
Fredrick Hall
 
Ip address presentation
Ip address presentationIp address presentation
Ip address presentation
muhammad amir
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
TheGodfather HA
 
network Addressing
network Addressingnetwork Addressing
network Addressing
Tauseef khan
 
IP Addressing and Subnetting
IP Addressing and SubnettingIP Addressing and Subnetting
IP Addressing and Subnetting
cbtvid
 
IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPT
Pijush Kanti Das
 
DHCP
DHCPDHCP
Network Address Translation (NAT)
Network Address Translation (NAT)Network Address Translation (NAT)
Network Address Translation (NAT)
Joud Khattab
 
Ip address
Ip addressIp address
Ip address
Amandeep Kaur
 
IPv4
IPv4IPv4
Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)
Alan Mark
 
Subnetting
SubnettingSubnetting
Subnetting
swascher
 
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
 

What's hot (20)

Subnetting
SubnettingSubnetting
Subnetting
 
IP addressing seminar ppt
IP addressing seminar pptIP addressing seminar ppt
IP addressing seminar ppt
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
 
Subnetting
SubnettingSubnetting
Subnetting
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Sub Netting
Sub NettingSub Netting
Sub Netting
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnetting
 
Subnetting
SubnettingSubnetting
Subnetting
 
Ip address presentation
Ip address presentationIp address presentation
Ip address presentation
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
network Addressing
network Addressingnetwork Addressing
network Addressing
 
IP Addressing and Subnetting
IP Addressing and SubnettingIP Addressing and Subnetting
IP Addressing and Subnetting
 
IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPT
 
DHCP
DHCPDHCP
DHCP
 
Network Address Translation (NAT)
Network Address Translation (NAT)Network Address Translation (NAT)
Network Address Translation (NAT)
 
Ip address
Ip addressIp address
Ip address
 
IPv4
IPv4IPv4
IPv4
 
Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)
 
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
 

Viewers also liked

Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basics
Mahmmoud Mahdi
 
Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorial
mikem801
 
Subnetting
SubnettingSubnetting
Subnetting
Kishore Kumar
 
Subnetting
SubnettingSubnetting
Subnetting
ashiesh0007
 
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
S Khawaja
 
Subnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examplesSubnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examples
Krishna Mohan
 
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
 
Vlsm exercises solutions
Vlsm exercises solutionsVlsm exercises solutions
Vlsm exercises solutions
Gerry Ismanto
 
Classless subnetting
Classless subnettingClassless subnetting
Classless subnetting
Universidad Tecnica de Ambato
 
Sub Netting
Sub NettingSub Netting
Sub Netting
Ramesh Reddy
 
InfiniBand Management on localhost
InfiniBand Management on localhostInfiniBand Management on localhost
InfiniBand Management on localhost
Minsk Linux User Group
 
Ccna( Cisco Certified Network Associate)
Ccna( Cisco Certified Network  Associate)Ccna( Cisco Certified Network  Associate)
Ccna( Cisco Certified Network Associate)
Sukant Gupta
 
Data bit rate_by_abhishek_wadhwa
Data bit rate_by_abhishek_wadhwaData bit rate_by_abhishek_wadhwa
Data bit rate_by_abhishek_wadhwa
Abhishek Wadhwa
 
Digital Communication Principle
Digital Communication PrincipleDigital Communication Principle
Digital Communication Principle
Dr. Ghanshyam Singh
 
Economic environment - Sound pollution
Economic environment - Sound pollutionEconomic environment - Sound pollution
Economic environment - Sound pollution
Vicky Fakhrurrazi
 
Subnet calculation Tutorial
Subnet calculation TutorialSubnet calculation Tutorial
Subnet calculation Tutorial
Ritu Ranjan Shrivastwa
 
MIPI DevCon 2016: MIPI I3C High Data Rate Modes
MIPI DevCon 2016: MIPI I3C High Data Rate ModesMIPI DevCon 2016: MIPI I3C High Data Rate Modes
MIPI DevCon 2016: MIPI I3C High Data Rate Modes
MIPI Alliance
 
RADIO FREQUENCY COMMUNICATION SYSTEMS, ANTENNA THEORY AND MICROWAVE DEVICES
RADIO FREQUENCY COMMUNICATION SYSTEMS, ANTENNA THEORY AND MICROWAVE DEVICESRADIO FREQUENCY COMMUNICATION SYSTEMS, ANTENNA THEORY AND MICROWAVE DEVICES
RADIO FREQUENCY COMMUNICATION SYSTEMS, ANTENNA THEORY AND MICROWAVE DEVICES
Dr. Ghanshyam Singh
 
Computer Networks - PPT
Computer Networks - PPTComputer Networks - PPT
Computer Networks - PPT
Dhivya T
 

Viewers also liked (20)

Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basics
 
Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorial
 
Subnetting
SubnettingSubnetting
Subnetting
 
Subnetting
SubnettingSubnetting
Subnetting
 
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
 
Subnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examplesSubnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examples
 
Ip subnet
Ip subnetIp subnet
Ip subnet
 
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)
 
Vlsm exercises solutions
Vlsm exercises solutionsVlsm exercises solutions
Vlsm exercises solutions
 
Classless subnetting
Classless subnettingClassless subnetting
Classless subnetting
 
Sub Netting
Sub NettingSub Netting
Sub Netting
 
InfiniBand Management on localhost
InfiniBand Management on localhostInfiniBand Management on localhost
InfiniBand Management on localhost
 
Ccna( Cisco Certified Network Associate)
Ccna( Cisco Certified Network  Associate)Ccna( Cisco Certified Network  Associate)
Ccna( Cisco Certified Network Associate)
 
Data bit rate_by_abhishek_wadhwa
Data bit rate_by_abhishek_wadhwaData bit rate_by_abhishek_wadhwa
Data bit rate_by_abhishek_wadhwa
 
Digital Communication Principle
Digital Communication PrincipleDigital Communication Principle
Digital Communication Principle
 
Economic environment - Sound pollution
Economic environment - Sound pollutionEconomic environment - Sound pollution
Economic environment - Sound pollution
 
Subnet calculation Tutorial
Subnet calculation TutorialSubnet calculation Tutorial
Subnet calculation Tutorial
 
MIPI DevCon 2016: MIPI I3C High Data Rate Modes
MIPI DevCon 2016: MIPI I3C High Data Rate ModesMIPI DevCon 2016: MIPI I3C High Data Rate Modes
MIPI DevCon 2016: MIPI I3C High Data Rate Modes
 
RADIO FREQUENCY COMMUNICATION SYSTEMS, ANTENNA THEORY AND MICROWAVE DEVICES
RADIO FREQUENCY COMMUNICATION SYSTEMS, ANTENNA THEORY AND MICROWAVE DEVICESRADIO FREQUENCY COMMUNICATION SYSTEMS, ANTENNA THEORY AND MICROWAVE DEVICES
RADIO FREQUENCY COMMUNICATION SYSTEMS, ANTENNA THEORY AND MICROWAVE DEVICES
 
Computer Networks - PPT
Computer Networks - PPTComputer Networks - PPT
Computer Networks - PPT
 

Similar to Subnet Masks

Pjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasyPjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasy
Kashif Sohail
 
Pjsmith ip addressing_&_subnetting_made_easy
Pjsmith ip addressing_&_subnetting_made_easyPjsmith ip addressing_&_subnetting_made_easy
Pjsmith ip addressing_&_subnetting_made_easy
Naresh Gotad
 
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_made_easy
 ip addressing_&_subnetting_made_easy ip addressing_&_subnetting_made_easy
ip addressing_&_subnetting_made_easy
Manjit Singh
 
iP Address ,
 iP Address , iP Address ,
iP Address ,
Er Bhagat Sharma
 
Subnetting Mechanics
Subnetting MechanicsSubnetting Mechanics
Subnetting Mechanics
ImranulHasan6
 
Ip basics
Ip basicsIp basics
Ip basics
promit das
 
Subnetting in network layer in computer networks
Subnetting in network layer in computer networksSubnetting in network layer in computer networks
Subnetting in network layer in computer networks
karthiktyagi2
 
Lab 18 Answer TemplateProblem 1IP address 192.168.10.0 27 (giv.docx
Lab 18 Answer TemplateProblem 1IP address  192.168.10.0 27 (giv.docxLab 18 Answer TemplateProblem 1IP address  192.168.10.0 27 (giv.docx
Lab 18 Answer TemplateProblem 1IP address 192.168.10.0 27 (giv.docx
DIPESH30
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting
Saad Tanvir
 
Ip subnetting
Ip subnettingIp subnetting
Ip subnetting
lazygurram
 
13788 3
13788 313788 3
13788 3
arahman2894
 
Data Communications and Network -Subnetting
Data Communications and Network -SubnettingData Communications and Network -Subnetting
Data Communications and Network -Subnetting
Chandrakant Divate
 
Basic network training1
Basic network training1Basic network training1
Basic network training1
Arunchai Seangparch
 
subnet network Addressing Network v1.pdf
subnet network Addressing Network v1.pdfsubnet network Addressing Network v1.pdf
subnet network Addressing Network v1.pdf
ssuser00e6e21
 
[Ccna] subnetting & vlsm
[Ccna] subnetting & vlsm[Ccna] subnetting & vlsm
[Ccna] subnetting & vlsm
1 2d
 
Ravi namboori subnetting
Ravi namboori   subnettingRavi namboori   subnetting
Ravi namboori subnetting
Ravi-Namboori-Entrepreneur
 
Ravi namboori subnetting
Ravi namboori   subnettingRavi namboori   subnetting
Ravi namboori subnetting
Ravi namboori
 
Subnetting
SubnettingSubnetting
Subnetting
RinkuMonani
 
ELEC - Lecture 2
ELEC - Lecture 2ELEC - Lecture 2
ELEC - Lecture 2
Aaron Angeles
 

Similar to Subnet Masks (20)

Pjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasyPjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasy
 
Pjsmith ip addressing_&_subnetting_made_easy
Pjsmith ip addressing_&_subnetting_made_easyPjsmith ip addressing_&_subnetting_made_easy
Pjsmith ip addressing_&_subnetting_made_easy
 
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_made_easy
 ip addressing_&_subnetting_made_easy ip addressing_&_subnetting_made_easy
ip addressing_&_subnetting_made_easy
 
iP Address ,
 iP Address , iP Address ,
iP Address ,
 
Subnetting Mechanics
Subnetting MechanicsSubnetting Mechanics
Subnetting Mechanics
 
Ip basics
Ip basicsIp basics
Ip basics
 
Subnetting in network layer in computer networks
Subnetting in network layer in computer networksSubnetting in network layer in computer networks
Subnetting in network layer in computer networks
 
Lab 18 Answer TemplateProblem 1IP address 192.168.10.0 27 (giv.docx
Lab 18 Answer TemplateProblem 1IP address  192.168.10.0 27 (giv.docxLab 18 Answer TemplateProblem 1IP address  192.168.10.0 27 (giv.docx
Lab 18 Answer TemplateProblem 1IP address 192.168.10.0 27 (giv.docx
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting
 
Ip subnetting
Ip subnettingIp subnetting
Ip subnetting
 
13788 3
13788 313788 3
13788 3
 
Data Communications and Network -Subnetting
Data Communications and Network -SubnettingData Communications and Network -Subnetting
Data Communications and Network -Subnetting
 
Basic network training1
Basic network training1Basic network training1
Basic network training1
 
subnet network Addressing Network v1.pdf
subnet network Addressing Network v1.pdfsubnet network Addressing Network v1.pdf
subnet network Addressing Network v1.pdf
 
[Ccna] subnetting & vlsm
[Ccna] subnetting & vlsm[Ccna] subnetting & vlsm
[Ccna] subnetting & vlsm
 
Ravi namboori subnetting
Ravi namboori   subnettingRavi namboori   subnetting
Ravi namboori subnetting
 
Ravi namboori subnetting
Ravi namboori   subnettingRavi namboori   subnetting
Ravi namboori subnetting
 
Subnetting
SubnettingSubnetting
Subnetting
 
ELEC - Lecture 2
ELEC - Lecture 2ELEC - Lecture 2
ELEC - Lecture 2
 

More from swascher

Resume interview tips
Resume interview tipsResume interview tips
Resume interview tips
swascher
 
RVC DOL TAACCCT Grant Presentation
RVC DOL TAACCCT Grant PresentationRVC DOL TAACCCT Grant Presentation
RVC DOL TAACCCT Grant Presentation
swascher
 
Elevator speeches
Elevator speechesElevator speeches
Elevator speeches
swascher
 
Cis142fall2011
Cis142fall2011Cis142fall2011
Cis142fall2011
swascher
 
Strategic plan 2.9.11
Strategic plan 2.9.11Strategic plan 2.9.11
Strategic plan 2.9.11
swascher
 
Newspaper January 2010
Newspaper January 2010Newspaper January 2010
Newspaper January 2010
swascher
 
Rti Booklet
Rti BookletRti Booklet
Rti Booklet
swascher
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
swascher
 
Binary Review
Binary ReviewBinary Review
Binary Review
swascher
 
Subnetting Introduction
Subnetting IntroductionSubnetting Introduction
Subnetting Introduction
swascher
 
Ip Addressing Worksheets
Ip Addressing WorksheetsIp Addressing Worksheets
Ip Addressing Worksheets
swascher
 
Subnetting Principles Worksheet
Subnetting Principles WorksheetSubnetting Principles Worksheet
Subnetting Principles Worksheet
swascher
 
Subnetting Principles
Subnetting PrinciplesSubnetting Principles
Subnetting Principles
swascher
 
Subnetting A Network
Subnetting A NetworkSubnetting A Network
Subnetting A Network
swascher
 
IP Addressing Principles
IP Addressing PrinciplesIP Addressing Principles
IP Addressing Principles
swascher
 

More from swascher (16)

Resume interview tips
Resume interview tipsResume interview tips
Resume interview tips
 
RVC DOL TAACCCT Grant Presentation
RVC DOL TAACCCT Grant PresentationRVC DOL TAACCCT Grant Presentation
RVC DOL TAACCCT Grant Presentation
 
Elevator speeches
Elevator speechesElevator speeches
Elevator speeches
 
Feb23
Feb23Feb23
Feb23
 
Cis142fall2011
Cis142fall2011Cis142fall2011
Cis142fall2011
 
Strategic plan 2.9.11
Strategic plan 2.9.11Strategic plan 2.9.11
Strategic plan 2.9.11
 
Newspaper January 2010
Newspaper January 2010Newspaper January 2010
Newspaper January 2010
 
Rti Booklet
Rti BookletRti Booklet
Rti Booklet
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
 
Binary Review
Binary ReviewBinary Review
Binary Review
 
Subnetting Introduction
Subnetting IntroductionSubnetting Introduction
Subnetting Introduction
 
Ip Addressing Worksheets
Ip Addressing WorksheetsIp Addressing Worksheets
Ip Addressing Worksheets
 
Subnetting Principles Worksheet
Subnetting Principles WorksheetSubnetting Principles Worksheet
Subnetting Principles Worksheet
 
Subnetting Principles
Subnetting PrinciplesSubnetting Principles
Subnetting Principles
 
Subnetting A Network
Subnetting A NetworkSubnetting A Network
Subnetting A Network
 
IP Addressing Principles
IP Addressing PrinciplesIP Addressing Principles
IP Addressing Principles
 

Recently uploaded

QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
zjhamm304
 
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State StoreElasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
ScyllaDB
 
APJC Introduction to ThousandEyes Webinar
APJC Introduction to ThousandEyes WebinarAPJC Introduction to ThousandEyes Webinar
APJC Introduction to ThousandEyes Webinar
ThousandEyes
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
Ortus Solutions, Corp
 
Cyber Recovery Wargame
Cyber Recovery WargameCyber Recovery Wargame
Cyber Recovery Wargame
Databarracks
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
UiPathCommunity
 
CTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database MigrationCTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database Migration
ScyllaDB
 
Real-Time Persisted Events at Supercell
Real-Time Persisted Events at  SupercellReal-Time Persisted Events at  Supercell
Real-Time Persisted Events at Supercell
ScyllaDB
 
New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024
ThousandEyes
 
Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
Tobias Schneck
 
Building a Semantic Layer of your Data Platform
Building a Semantic Layer of your Data PlatformBuilding a Semantic Layer of your Data Platform
Building a Semantic Layer of your Data Platform
Enterprise Knowledge
 
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time MLMongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
ScyllaDB
 
So You've Lost Quorum: Lessons From Accidental Downtime
So You've Lost Quorum: Lessons From Accidental DowntimeSo You've Lost Quorum: Lessons From Accidental Downtime
So You've Lost Quorum: Lessons From Accidental Downtime
ScyllaDB
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
TrustArc
 
Day 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data ManipulationDay 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data Manipulation
UiPathCommunity
 
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDBScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB
 
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
manji sharman06
 
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdfLee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
leebarnesutopia
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving
 

Recently uploaded (20)

QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
 
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State StoreElasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
 
APJC Introduction to ThousandEyes Webinar
APJC Introduction to ThousandEyes WebinarAPJC Introduction to ThousandEyes Webinar
APJC Introduction to ThousandEyes Webinar
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
 
Cyber Recovery Wargame
Cyber Recovery WargameCyber Recovery Wargame
Cyber Recovery Wargame
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
 
CTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database MigrationCTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database Migration
 
Real-Time Persisted Events at Supercell
Real-Time Persisted Events at  SupercellReal-Time Persisted Events at  Supercell
Real-Time Persisted Events at Supercell
 
New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024
 
Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
 
Building a Semantic Layer of your Data Platform
Building a Semantic Layer of your Data PlatformBuilding a Semantic Layer of your Data Platform
Building a Semantic Layer of your Data Platform
 
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time MLMongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
 
So You've Lost Quorum: Lessons From Accidental Downtime
So You've Lost Quorum: Lessons From Accidental DowntimeSo You've Lost Quorum: Lessons From Accidental Downtime
So You've Lost Quorum: Lessons From Accidental Downtime
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
 
Day 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data ManipulationDay 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data Manipulation
 
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDBScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
 
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
 
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdfLee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
 

Subnet Masks

  • 1. SUBNET MASKS Developed by Peter Smith
  • 2. Subnet Mask An IP address has 2 parts: The Network identification. The Host identification. Frequently, the Network & Host portions of the address need to be separately extracted. In most cases, if you know the address class, it’s easy to separate the 2 portions. Peter Smith 2
  • 3. Subnet Mask (Cont.) With the rapid growth of the internet & the ever-increasing demand for new addresses, the standard address class structure has been expanded by borrowing bits from the Host portion to allow for more Networks. Under this addressing scheme, called Subnetting, separating the Network & Host requires a special process called Subnet Masking. Peter Smith 3
  • 4. Subnet Mask (Cont.) The subnet masking process was developed to identify & extract the Network part of the address. A subnet mask, which contains a binary bit pattern of ones & zeros, is applied to an address to determine whether the address is on the local Network. If it is not, the process of routing it to an outside network begins. Peter Smith 4
  • 5. Subnet Mask (Cont.) The function of a subnet mask is to determine whether an IP address exists on the local network or whether it must be routed outside the local network. It is applied to a message’s destination address to extract the network address. If the extracted network address matches the local network ID, the destination is located on the local network. Peter Smith 5
  • 6. Subnet Mask (Cont.) However, if they don’t match, the message must be routed outside the local network. The process used to apply the subnet mask involves Boolean Algebra to filter out non-matching bits to identify the network address. Peter Smith 6
  • 7. Boolean Algebra Boolean Algebra is a process that applies binary logic to yield binary results. Working with subnet masks, you need only 4 basic principles of Boolean Algebra: 1 and 1 = 1 1 and 0 = 0 0 and 1 = 0 0 and 0 = 0 Peter Smith 7
  • 8. Boolean Algebra (Cont.) In another words, the only way you can get a result of a 1 is to combine 1 & 1. Everything else will end up as a 0. The process of combining binary values with Boolean Algebra is called Anding. Peter Smith 8
  • 9. Default Subnet Masks There are default standard subnet masks for Class A, B and C addresses: Peter Smith 9
  • 10. Subnet Masks Subnet masks apply only to Class A, B or C IP addresses. The subnet mask is like a filter that is applied to a message’s destination IP address. Its objective is to determine if the local network is the destination network. Peter Smith 10
  • 11. Example The subnet mask goes like this: If a destination IP address is 206.175.162.21, we know that it is a Class C address & that its binary equivalent is: 11001110.10101111.10100010.00010101 Peter Smith 11
  • 12. Example We also know that the default standard Class C subnet mask is: 255.255.255.0 and that its binary equivalent is: 11111111.11111111.11111111.00000000 Peter Smith 12
  • 13. Example When these two binary numbers (the IP address & the subnet mask) are combined using Boolean Algebra, the Network ID of the destination network is the result: Peter Smith 13
  • 14. Example The result is the IP address of the network which in this case is the same as the local network & means that the message is for a node on the local network. Peter Smith 14
  • 15. Routing IP Addresses When you build a network, you need to figure out how many network Ids your network requires. To do so, you must account for every WAN connection & subnet on the Network. Every node & router interface requires a Host address, or ID. Peter Smith 15
  • 16. Routing IP Addresses (Cont.) There’s no hard & fast rule on how you should dole out your allotted IP addresses. Commonly, though, the lowest numbers (1 through 10) are assigned to routers & servers but how you assign addresses is strictly up to you & your network policies & guidelines. Peter Smith 16
  • 17. Peter Smith 17 Finding Subnetwork A 3-step example of how the default Class A subnet mask is applied to a Class A address:
  • 18. Peter Smith 18 Finding Subnetwork In the previous slide, the default Class A subnet mask (255.0.0.0) is AND’d with the Class A address (123.123.123.001) using Boolean Algebra, which results in the Network ID (123.0.0.0) being revealed. The default Class B subnet mask (255.255.0.0) strips out the 16-bit network ID & the default Class C subnet mask (255.255.255.0) strips out the 24-bit network ID.
  • 19. Peter Smith 19 Subnetting, Subnet & Subnet Mask Subnetting, a subnet & a subnet mask are all different. In fact, the 1st creates the 2nd & is identified by the 3rd. Subnetting is the process of dividing a network & its IP addresses into segments, each of which is called a subnetwork or subnet.
  • 20. Peter Smith 20 Subnetting, Subnet & Subnet Mask The subnet mask is the 32-bit number that the router uses to cover up the network address to show which bits are being used to identify the subnet.
  翻译: