Question:medium

Identify the correct IP address from the options given:

Show Hint

Always check each octet of an IP address is within 0–255 and has no negative values.
Updated On: Feb 16, 2026
  • FC:F8:AE:CE:7B:16
  • 192.168.256.178
  • 192.168.0.178
  • 192.168.0.-1
Show Solution

The Correct Option is C

Solution and Explanation

Step 1: IPv4 Address Validity Criteria.
- An IPv4 address consists of four octets, delimited by periods.
- Each octet must contain a numerical value between 0 and 255, inclusive.

Step 2: Evaluation of Each Candidate.
- Candidate 1: FC:F8:AE:CE:7B:16 → This string represents a MAC address, not an IP address. It is invalid.
- Candidate 2: 192.168.256.178 → The octet '256' exceeds the maximum allowed value of 255. This is invalid.
- Candidate 3: 192.168.0.178 → All octets (192, 168, 0, 178) fall within the acceptable range of 0–255. This is valid.
- Candidate 4: 192.168.0.-1 → The presence of a negative value ('-1') in an octet is not permitted. This is invalid.

Conclusion: \[\boxed{192.168.0.178}\]
Was this answer helpful?
0