The IP addresses used for Internet networks consist of four 8-bit binary numbers
ID: 2292250 • Letter: T
Question
The IP addresses used for Internet networks consist of four 8-bit binary numbers separated by periods. A valid IPis, for example, 149.43.164.45, where the displayed numbers are in decimal. In Internet networks, the MSB of the left-most number has a special meaning. If it is a 0, the IP address is from a Class A (large) network like one of a major international company or a government. If the MSB is 1 and the binary digit next to it is a 0, then it is a Class B (medium) network, like one of a university campus. If the binary number starts with 110, then it is a Class C (small) network, such as one of a small business. Convert the IP address given earlier to hexadecimal and state what type of network it corresponds to.Explanation / Answer
Given IP address:149.43.164.45
converting decimal 149 to hex we get:95.Conversion is done by dividing the number in decimal with 16.
converting decimal 43 to hex we get:2b
converting decimal 164 to hex:a4
converting decimal 45 to hex:2d
Therefore the given IP number in hex can be written as : 95.2b.a4.2d
Now converting 95 into binary we get:10010101.Since the MSB is 1 and the binary digit next to it is 0,the network type is ClassB(medium).
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.