
- DCN Tutorial
- Data Comm & Networks Home
- DCN - Overview
- DCN - Computer Network Types
- DCN - Network LAN Technologies
- DCN - Computer Network Topologies
- DCN - Computer Network Models
- DCN - Computer Network Security
- Physical Layer
- DCN - Physical Layer Introduction
- DCN - Digital Transmission
- DCN - Analog Transmission
- DCN - Transmission media
- DCN - Wireless Transmission
- DCN - Multiplexing
- DCN - Network Switching
- Data Link Layer
- DCN - Data Link Layer Introduction
- DCN - Error detection and Correction
- DCN - Data Link Control & Protocols
- Network Layer
- DCN - Network Layer Introduction
- DCN - Network Addressing
- DCN - Routing
- DCN - Internetworking
- DCN - Network Layer Protocols
- Transport Layer
- DCN - Transport Layer Introduction
- DCN - Transmission Control Protocol
- DCN - User Datagram Protocol
- Application Layer
- DCN - Application Layer Introduction
- DCN - Client-Server Model
- DCN - Application Protocols
- DCN - Network Services
- DCN Useful Resources
- DCN - Quick Guide
- DCN - Useful Resources
What are subnets and subnet masks in computer networks?
Subnet Mask is used in networking to create multiple sub networks in a network. It divides the IP address into multiple parts which can be assigned to every computer. Subnet Mask is made by setting the network bits to all "1"s and setting host bits to all "0"s. Within a given network, two host addresses are reserved for a special purpose, and cannot be assigned to hosts.
The binary "0" in the subnet mask tell us about the host address. It tells us about the IP of the host which has done subnetting.
Example
Suppose we have a subnet address as 192.168.1.0. In this, all host addresses are zero. It will be represented in binary as
11000000 10101000 00000001 00000000
In this way, we set the host bits to zero in the Subnet mask.
Subnet (sub network)
Every website needs a unique IP address, in order to uniquely identify the website, we are dividing the IP network into two or more networks called subnet, which is preferred to control network traffic.
It is a smaller network inside a large network. This technique makes the network routing an efficient one.
Features
The main features of subnet are as follows −
- Reduce network congestion.
- Control network growth
- Ease administration
- Boost network security
Generally, we divide the network into smaller networks or subnets which is called subnetting.
Use of dividing the network
Let’s take a class A of network. In class A, we have 224hosts. To manage such a large number of hosts is a very difficult job. So, if we divide this large network into the smaller network then maintaining each network would become easy.
Given below is the diagram of subnet −
- Related Articles
- What are Computer Networks and IP addresses?
- What are ISDN Layers in computer networks?
- What are noise impairments in Computer networks?
- What are Terrestrial Microwaves in computer networks?
- What are Satellite Microwaves in computer networks?
- What are the Gateways in Computer Networks?
- What are VLAN, NAT and private IP’s in computer networks?
- What are the Transmission Impairments in computer networks?
- What are static routing algorithms in computer networks?
- What are Dynamic routing algorithms in computer networks?
- What are IPV6 Unicast Addresses in computer networks?
- What are the Protocol Hierarchies in Computer Networks?
- What is Blocking Networks and Non-Blocking Networks in Computer Architecture?
- What are the Mesh-Connected Networks in Computer Architectures?
- What are the different access technologies in computer networks?
