🖌️
Networking
  • Introduction
  • Networking and Topology
    • Networking
    • Topology
    • Types of Topologies
  • Firewall
    • Firewall
    • Types of Firewall
    • Stateful vs Stateless Firewalls
    • Content Filtering
    • Signature Identification
    • IDS/IPS
  • MAC Address
    • MAC Address
  • OSI Model
    • OSI Model
    • Layers of OSI Model
  • IP Address
    • IP Address
    • Subnet Mask
    • IP Classes and Ranges
  • Subnetting
    • Subnetting
  • IP Addressing Methods
    • IP Addressing Methods
  • TCP/IP Protocol Suites
    • TCP/IP Protocol Suites
  • Ports
    • Ports
  • Networking Services
    • Networking Services
  • Routing Protocols
    • Routing Protocols
  • WAN Technologies
    • WAN Technologies
  • Internet Access Technologies
    • Internet Access Technologies
  • Network Types
    • Network Types
  • Remote Access Protocols and Services
    • Remote Access Protocols and Services
    • VPN (Virtual Private Network)
    • Types of VPN connections
  • Authentication Protocols
    • Authentication Protocols
  • Cloud and Virtualization
    • Cloud and Virtualization
  • Cloud Computing
    • Cloud Computing
    • Type of Cloud Computing
  • VLAN, Intranet and Extranet
    • VLAN, Intranet and Extranet
  • Optimization and Fault Tolerance
    • Optimization and Fault Tolerance
    • Backup Services
    • Disaster Recovery
  • Security Protocols
    • Security Protocols
    • Types of Protection
  • SOHO Routers
    • SOHO Routers
  • Network Utilities
    • Network Utilities
  • Networking Issues
    • Networking Issues
  • Troubleshooting Strategy
    • Troubleshooting Strategy
Powered by GitBook
On this page

Was this helpful?

  1. IP Address

Subnet Mask

Subnet Mask

Subnet Mask

IP address consists of two parts - A network address and a host address.

The way to tell which portion belongs to either the network or the host is where the subnet mask comes in.

IP address - 176.16.0.0

Subnet mask - 255.255.0.0

A subnet mask is a number that resembles an ip address.

It reveals how many bits in the ip address are used for the network by masking the network portion of the ip address.

In the example, the first two octets are 255.

If we look the subnet mask in a binary form, then the first two octets will be all ones because when you count all the numbers in an octet, it will be equal to 255.

173.16.0.0 - 10101101.00010000.00000000.00000000

255.255.0.0 - 11111111.11111111.00000000.00000000

176.16 - Network portion 0.0 - Host portion

When subnet mask is one or it aligns with 1, that is the network portion.

Default subnet mask for class A,B and C.

N- Network h- host

Class A - Subnet Mask - 255.0.0.0 - NNNNNNNN.hhhhhhhh.hhhhhhhh.hhhhhhhh

Class B - Subnet Mak - 255.255.0.0 - NNNNNNNN.NNNNNNNN.hhhhhhhh.hhhhhhhh

Class C - Subnet Mask - 255.255.255.0 - NNNNNNNN.NNNNNNNN.NNNNNNNN.hhhhhhhh

PreviousIP AddressNextIP Classes and Ranges

Last updated 4 years ago

Was this helpful?