How is a subnet mask created?

Updated: 10/3/2023
User Avatar

Wiki User

12y ago

Best Answer

In computer networks based on the internet Protocol Suite, a subnetwork, or subnet, is a portion of the network's computers and network devices that have a common, designated IP address routing prefix (cf. Classless Inter-Domain Routing, CIDR). A routing prefix is the sequence of leading bits of an IP address that precede the portion of the address used as host identifier (or rest field in early Internet terminology). In IPv4 installations, the routing prefix is often expressed as a "subnet mask", which is a bit mask covering the number of bits used in the prefix. It is frequently expressed in quad-dotted decimal representation, e.g., is the subnet mask for the network with a 24-bit routing prefix ( Subnet masks in IPv4 do not have to have consecutive bits set, e.g., a subnet mask of "11111111001100110000000000000000" (binary) is permissible, albeit of little additional value, as it does not provide for more efficient address space utilization and cannot be represented in CIDR notation. IPv6 does not use subnet masks and such non-standard routing prefixes are not possible. The routing prefix of a subnet is often further divided into the network's network identifier and a subnet identifier. The network identifier is the leading set of address bits that is common to the prefixes of all subnets in the network. This would typically be the CIDR routing prefix of an organization's entire address space allocation. The subnet identifier consists of the remaining bits in a subnet's prefix after the network identifier. In the cited example, is the network identifier (and the network mask) and "1" is the subnet identifier. In a large organization's network, without subnetting, traffic levels can grow enough that excessive rates of Ethernet packet collisions become a bottle neck due to the nature of Ethernet (cf. carrier sense multiple access with collision detection). For this reason, subnetting can be used to break the network into smaller more efficient subnets. Such subnets can be arranged hierarchically, with the organization's network address space (see also Autonomous System) partitioned into a tree-like structure. Routers are used to manage traffic and constitute borders between subnets. Communication is of specific link-local character (Ethernet broadcast) only within the smallest subnet. A typical subnet is a physical network served by one router, for instance an Ethernet network (consisting of one or several Ethernet segments or local area networks, interconnected by network switches and network bridges) or a Virtual Local Area Network (VLAN). However, subnetting allows the network to be logically divided regardless of the physical layout of a network, since it is possible to divide a physical network into several subnets by configuring different host computers to use different routers. While improving network performance, subnetting increases routing complexity, since each locally connected subnet is typically represented by one row in the routing tables in each connected router. However, with intelligent design of the network, routes to collections of more distant subnets within the branches of a tree-hierarchy can be aggregated by single routes. Subnetting was originally introduced before the introduction of classful network addresses in IPv4 to allow a single larger network to have a number of smaller networks within it, controlled by several routers. Existing subnetting functionality in routers made the introduction of Classless Inter-Domain Routing seamless.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

The subnet mask is created by placing a binary 1 in each bit position that represents the network portion and placing a binary 0 in each bit position that represents the host portion.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How is a subnet mask created?
Write your answer...
Still have questions?
magnify glass
Related questions

Does ipv6 require a subnet mask?

It does not require a subnet mask.

What class has subnet mask

If this is a default subnet mask, then it would be a class C subnet mask. If you are subnetting a network and this is not the default subnet mask, then it could be either a class A or class B.

Defference bw a default subnet mask and a custom subnet mask?

The default subnet mask has a standard size. The custom subnet mask allows you to make subnets that are smaller or larger than the default.

What is a subnet mass number?

There is no technical term called "subnet mass number." It might be a misconstrued term. Subnetting is dividing a network into smaller subnetworks for better organization and security. Mass number is used in chemistry to denote the total number of protons and neutrons in an atom's nucleus.

How can you change from a subnet mask of to a subnet mask of

2 given subnets

What is the default subnet mask for the address?

What is the subnet mask of IP address

What is the subnet mask number to this IP address number

Subnet mask for the above is

What is the subnet mask for

The default subnet mask would be for a class B address.

What may be the subnet mask of

if the ip address is then the subnet mask should be

What is the result when changing from a subnet mask of to a subnet mask of

By changing subnet mask..from to Number of subnetworks increase and the number of host in each subnetwork decreases

What subnet mask is used for

It depends on whether you are subnetting or not. If not, the default subnet mask would be