What is the network address for IP 10.5.12.130 with subnet mask 255.255.255.0?

Study for the Internet Protocol Version 4 Test. Use flashcards and multiple-choice questions, each with hints and explanations. Master the exam with confidence!

Multiple Choice

What is the network address for IP 10.5.12.130 with subnet mask 255.255.255.0?

Explanation:
The network address is found by applying the subnet mask to the IP, effectively keeping the network bits and zeroing the host bits. With 10.5.12.130 and a mask of 255.255.255.0, the first three octets (10.5.12) define the network, and the last octet is the host portion set to 0. Bitwise ANDing 10.5.12.130 with 255.255.255.0 gives 10.5.12.0, which is the network address. Why the others don’t fit: 10.5.12.130 is the actual host address, not the network. A /16 mask would yield 10.5.0.0 as the network, and a /8 mask would yield 10.0.0.0, which are different networks.

The network address is found by applying the subnet mask to the IP, effectively keeping the network bits and zeroing the host bits. With 10.5.12.130 and a mask of 255.255.255.0, the first three octets (10.5.12) define the network, and the last octet is the host portion set to 0. Bitwise ANDing 10.5.12.130 with 255.255.255.0 gives 10.5.12.0, which is the network address.

Why the others don’t fit: 10.5.12.130 is the actual host address, not the network. A /16 mask would yield 10.5.0.0 as the network, and a /8 mask would yield 10.0.0.0, which are different networks.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy