Which of the following is private IP address?
By BYJU'S Exam Prep
Updated on: September 25th, 2023
Which of the following is private IP address?
- 12.0.0.1
- 168.172.19.39
- 172.15.14.36
- 192.168.24.43
Answer: D. 192.168.24.43
Table of content
192.168.24.43 is a private IP address.
Solution
The range of different classes in the classful IP addressing is as follows:
Classes of IP address |
Range |
Private address range |
Class A |
1 – 126 |
10.0.0.0 — 10.255.255.255 |
Class B |
128 – 191 |
172.16.0.0 — 172.31.255.255 |
Class C |
192 – 223 |
192.168.0.0 — 192.168.255.255 |
Class D |
224 – 239 |
– |
Class E |
240 – 255 |
– |
According to the above table, check the options
A. 12.0.0.1
The given IP address is of class A. This is not in the range of a private IP address as it starts from 10, but the given IP address starts from 12, so it is the public IP address.
B. 168.172.19.39
The given IP address is of class B. This is not in the range of a private IP address as it starts from 172, but the given IP address starts from 168, so it is the public IP address.
C. 172.15.14.36
The given IP address is of class B. This is not in the range of a private IP address as its first octet is 172 and the second octet of IP address 15, but the private IP address range of class B is 172.16.0.0 — 172.31.255.255, so it is the public IP address.
D. 192.168.24.43
The given IP address is of class C. This is in the range of a private IP address as it starts from 192, and the given IP address starts from 192, so it is the private IP address.
☛ Related Questions: