header bg

Scan QR code or get instant email to install app

Question:

You are configuring IPv4 addresses on a computer. The network number is 200.100.0.0 and the IP address is 200.100.1.10. What should the subnet mask be for this computer?

A 255.255.0.0
explanation

Converting the IP address and subnet mask to binary integers is the best technique to comprehend IPv4 addressing. When determining the network and host portions of an IP address, the operating system essentially looks at this. The computer interprets dotted decimal notation as four sets of eight binary bits (either a 1 or a 0). A binary 1 in the subnet mask indicates that the bit position is part of the network number, while a 0 indicates that it is part of the host number. Network numbers are always read sequentially from left to right, with no gaps. Because eight binary bits (11111111) equate to 255 in decimal, the maximum value of a subnet mask's octet is 255. The subnet masks 200.100.0.0 and 192.168.0.0 are erroneous because for a number to exist in the second octet from the left, the first octet must be all 1s, which equals decimal value 255. Option 0.0.255.255 is an invalid subnet mask since the ones representing the network number would be in the first octets, not the final, when reading from left to right. When we compare the IP address 200.100.1.10 to the subnet mask in option 255.255.0.0, we can see that the first two octets are network numbers and the last two are host numbers, resulting in the network number 200.100.0.0 for that IP address and subnet mask combination. The host computer is thus identified as 0.0.1.10.

Related Information