Which of the following is not a valid IP address?
Which of the following is not a valid IP address?
Solution
✅ Correct Option: 2
An IPv4 address has four octets, and each octet is an 8-bit number from 0 to 255. In 192.168.255.256 the last octet is 256, which needs 9 bits, so the address is invalid.
Option 3: 255 is the largest allowed value in an octet, so 192.168.189.255 is valid.
Related questions:
2026: 18 May Shift 2
2025: 14 May Shift 1
2026: 31 May Shift 1