For 30 hosts, you need 5 bits (or more) for the host. That is, the 5 (or mor) rightmost bits in the subnet mask must be equal to zero; the remaining bits are 1, like this:
11111111.11111111.11111111.11100000
Now, just convert this to decimal (convert each of the parts, separated by dots, using Windows scientific calculator, or another scientific calculator).
For 30 hosts, you need 5 bits (or more) for the host. That is, the 5 (or mor) rightmost bits in the subnet mask must be equal to zero; the remaining bits are 1, like this:
11111111.11111111.11111111.11100000
Now, just convert this to decimal (convert each of the parts, separated by dots, using Windows scientific calculator, or another scientific calculator).
For 30 hosts, you need 5 bits (or more) for the host. That is, the 5 (or mor) rightmost bits in the subnet mask must be equal to zero; the remaining bits are 1, like this:
11111111.11111111.11111111.11100000
Now, just convert this to decimal (convert each of the parts, separated by dots, using Windows scientific calculator, or another scientific calculator).
For 30 hosts, you need 5 bits (or more) for the host. That is, the 5 (or mor) rightmost bits in the subnet mask must be equal to zero; the remaining bits are 1, like this:
11111111.11111111.11111111.11100000
Now, just convert this to decimal (convert each of the parts, separated by dots, using Windows scientific calculator, or another scientific calculator).
For 30 hosts, you need 5 bits (or more) for the host. That is, the 5 (or mor) rightmost bits in the subnet mask must be equal to zero; the remaining bits are 1, like this:
11111111.11111111.11111111.11100000
Now, just convert this to decimal (convert each of the parts, separated by dots, using Windows scientific calculator, or another scientific calculator).
12
dotted decimal notation
Subnet mask
subnet masks
True
Example IP address of 192.168.1.123 with a subnet mask of 255.255.255.0
255.255.248.0
"Subnet mask" is is a computer term related to IP networks. Since you haven't given your example, the question cannot be answered. Further information can be found by searching for 'subnet mask' in Wikipedia.
This isn't a valid CIDR address, so I assume it is: 192.168.1.162/7 That would yield a subnet mask of 255.255.255.254
Under CIDR, the subnet mask notation is reduced to a simplified shorthand. Instead of spelling out the bits of the subnet mask, it is simply listed as the number,the network address would be written simply as: 192.60.128.0/22which indicates starting address of the network, and number of 1s bits (22) in the network portion of the address. If you look at the subnet mask in binary (11111111.11111111.11111100.00000000), you can easily see how this notation works.The use of a CIDR notated address is the same as for a Classful address. Classful addresses can easily be written in CIDR notation (Class A = /8, Class B = /16, and Class C = /24)
In a 24 bit subnet (subnet mask = 255.255.255.0), the address 192.1.6.255 is the broadcast address for the subnet 192.1.6.0/24.
The correct term is subnet mask instead of subnet mass. A subnet mask separates an IP address into the host address and the network address. It is a 32-bit number that can mask an IP address.