Which IP address is valid?
1. 255.255.255.0
2. 192.168.0.256
3. >>192.168.0.254
4. 255.255.0.0
Explanation : An IP address consists of four eight-digit binary numbers called octets, separated by periods, for a total of 32 bits. The IP address identifies the network and the host in a network uniquely on the Internet. Each decimal number in an IP address is typically a number in the range 1 through 254. The subnet mask determines which portion is the network number and which portion is the host. If a subnet mask contains 255 in a position, the corresponding part of the address is the network number.
Any IP address beginning with 127 refers to the local host address and is used for internal loopback testing.
Any octet with a number greater than 255 is invalid because 8 bits can only represent a maximum of 255.
255.255.255.0 and 255.255.0.0 are subnet masks, not IP addresses.