![]() Using the same two examples as earlier in this section, the prefix format equivalent masks are as follows: ![]() Prefix format lists a slash (/) followed by the number of binary 1s in the binary mask. This format takes advantage of the rule that the subnet mask starts with some number of 1s, and then the rest of the digits are 0s. For example, the two previous binary masks would convert to the following DDN subnet masks, because binary 11111111 converts to decimal 255, and binary 00000000 converts to decimal 0:Īlthough the DDN format has been around since the beginning of IPv4 addressing, the third mask format was added later, in the early 1990s: the prefix format. One format, dotted-decimal notation (DDN), converts each set of 8 bits into the decimal equivalent. Two alternative subnet mask formats exist so that we humans do not have to work with 32-bit binary numbers. The following two binary values meet the requirements, in that they have all 1s on the left, followed by all 0s, with no interleaving of 1s and 0s: The first is illegal because the value interleaves 0s and 1s, and the second is illegal because it lists 0s on the left and 1s on the right: The value must not interleave 1s and 0s.įor example, the following values would be illegal.In particular, the binary subnet mask must follow these rules: Subnet masks can be written as 32-bit binary numbers, but not just any binary number. In particular, it shows how to determine the three-part format of the IPv4 address and describes the facts about the subnetting design that are implied by the mask. ![]() The second section explains how to take an IP address and its subnet mask and analyze those values. The first focuses totally on the mask formats and the math used to convert between the three formats.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |