If you can change the subnet mask of your computer for some purpose you can change by two different methods either by using graphical tools or by using command line interface.įollowing are the details of both the methods in the Microsoft Windows Operating System: The subnet mask is a value that basically differentiates the network and host portion of your networking device. When this subnet mask is applied to a class A network, no subnetting is performed. In the above table 255.0.0.0 is a standard class A subnet mask, since the first bit are all once (network) and the last three bites are all zeros (host). Where 255 represents network prefix and 0 represents host suffix. When applying the two rules of subnetting to classful addresses, the default subnet mask for different classes of the ip addresses are: This means that the network address is 156.54.81.48, that there is a range of addresses available to hosts from 156.154.81.49 – 156.154.81.62, and that the broadcast address for this network is 156.154.81.63. ![]() In this case there are 4 bits of 0 in the network address, leaving 2^4-2 hosts possible or 14 hosts. This results in the final algorithm of 2^n-2. Also, subtract two from the result because one address is reserved for broadcast and network addresses. That number will be the power raised to 2 for the calculation of possible number of hosts. Count the number of bits from the right until the first “1” in the binary network address display is reached. To determine how many hosts can be on this same subnet, it is a simple operation. The network address for the IP address and subnet mask in question is 156.154.81.48. Here is an example of using an IP address of 156.154.81.56 with a network mask of 255.255.255.240: IP Address: To determine what the network address is for any given IP address, users merely have to convert both octal addresses into binary and do a bitwise AND operation.
0 Comments
Leave a Reply. |