A 4 byte ip address consists of __________
A | Only network address |
B | Only host address |
C | Network address & host address |
D | Network address & MAC address |
The correct answer is :C
Explanation :
- In the case of IPv4 (Internet Protocol version 4), the most commonly used IP version, an IP address is made up of 32 bits, which are divided into four 8-bit bytes. Each of the four bytes is separated by a dot, and represents a decimal value ranging from 0 to 255.
- The 32-bit IPv4 address is divided into two parts: the network portion and the host portion. The size of these two parts depends on the address class. In classful IP addressing, there are five classes of IP addresses: A, B, C, D, and E.
- The network portion of the IP address identifies the network to which the device is connected, while the host portion identifies the specific device within that network. The size of the host address and network address depends upon the class of the address. For example, in Class A, the network portion is represented by the first byte, while in Class B, it is represented by the first two bytes.