Multiple subnet masks can organize a single network into smaller networks called subnetworks or subnets. Systems within the same subnet can communicate directly with each other, while systems on different subnets must communicate through a router. A subnet mask hides or masks the network part of a system's IP address and leaves only the host part as the machine identifier. It uses the same format as an IPv4 address — four sections of one to three numbers, separated by dots.
Each section of the subnet mask can contain a number from 0 to , just like an IP address. For example, a typical subnet mask for a Class C IP address is:. In the example above, the first three sections are full out of , meaning the IP addresses of devices within the subnet mask must be identical in the first three sections. The last section of each computer's IP address can be anything from 0 to If the subnet mask is defined as Internet--The global collection of networks that are connected together and share a common range of IP addresses.
Network--There are two uses of the term network in this article. One is a group of computers on a single physical network segment.
The other is an IP network address range that is allocated by a system administrator. Octet--An 8-bit number, 4 of which comprise a bit IP address. They have a range of that correspond to the decimal values Wide area network WAN --A large network that is a collection of smaller networks separated by routers. The Internet is an example of a large WAN. Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services.
Privacy policy. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Lining up the IP address and the subnet mask together, the network, and host portions of the address can be separated: It gives you the following addresses: Some other common subnet masks are: Decimal Binary Following are the ranges of Class A, B, and C Internet addresses, each with an example address: Class A networks use a default subnet mask of In some scenarios, the default subnet mask values don't fit the organization needs for one of the following reasons: The physical topology of the network The numbers of networks or hosts don't fit within the default subnet mask restrictions.
The next section explains how networks can be divided using subnet masks. These four networks would have as valid host addresses: A host can communicate with some remote networks but not others if the following conditions are true: A single physical network has more than one router. The wrong router is configured as a default gateway.
Glossary Broadcast address--An IP address with a host portion that is all ones. Network address--An IP address with a host portion that is all zeros. Router--A device that passes network traffic between different IP networks. Subnet Mask--A bit number used to distinguish the network and host portions of an IP address. Subnet or Subnetwork--A smaller network created by dividing a larger network into equal parts.
Is this page helpful? Yes No. When you are setting up a smart TV or other device, you may be told to input a subnet mask. This number is specific to your local network. For best results, follow the instructions above to find the subnet mask on your computer. The same number should work well for your device as well. If your device still won't connect, leave the information open on your computer. Refer to it while changing settings on the device. If you can't find the information on a computer, try entering This is the most common subnet mask for home networks.
Change the IP address. If the device still won't go online, check the IP address. This should be in the same screen where you can set the subnet mask. Compare it to the IP address of your computer, visible wherever you found your computer's subnet mask. Copy your computer's IP address, except for the final number or numbers after the last period. Choose any higher number instead, as long as it is or below. Add at least 10, since nearby numbers are more likely to be used by additional devices on your network.
For example, if your computer's IP address is If you can't find your computer's IP address, check your router for a printed label, or search online for your router's brand and "IP address. If you can't find any information, try Set the Gateway. This should be set to the same Gateway value as your computer, which is also your router's IP address. This will almost always be the same as the device's IP address, except with a 1 instead of the final group of numbers.
For example, if any device on your network has an IP address of If you have the correct gateway, you should reach information about your router. Set the DNS. Use the same DNS setting as your computer, or the same value as you entered under Gateway. Alternatively, search online for "public DNS" for more options. Contact the manufacturer. If your device still won't connect with these settings, contact technical support at the company that made the device.
Stan Kats Professional Technologist. Stan Kats. Are the last four digits ? That's the subnet mask for most consumer class devices, so it'd make sense if you see the same subnet mask on multiple devices. Yes No. Not Helpful 0 Helpful 0. It's going to be different from operating system to operating system. But if you have two Windows computers, for example, it should be the same. Go into your system preferences and select "networks. There should be a tab for IP addresses in that window.
Your subnet mask will be listed there alongside the IP. For example:. Blog Contact Support. Request a Demo. Subnet Mask Definition Every device has an IP address with two pieces: the client or host address and the server or network address. IP Address Classes and Subnet Masks Since the internet must accommodate networks of all sizes, an addressing scheme for a range of networks exists based on how the octets in an IP address are broken down.
How Does Subnetting Work? What Is a Subnet Mask Calculator? Use a HEX Subnet Calculator to calculate the first and last subnet addresses, including the hexadecimal notations of multicast addresses. A simple IP Subnet Mask Calculator determines the smallest available corresponding subnet and subnet mask. For example: Featured Resources White Papers. Learn about how Avi's elastic container services integrate with Kubernetes clusters.
0コメント