Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The IP addresses used for Internet networks consist of four 8-bit binary numbers

ID: 3810785 • Letter: T

Question

The IP addresses used for Internet networks consist of four 8-bit binary numbers separated by periods. A valid IP is, 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

(149)10 = (10010101)2

(43)10 = (101011)2

(164)10 = (10100100)2

(45)10 = (101101)2

So   10010101 101011 10100100 101101

So making pair of 4 to convert the binary number to hexadecimal

Converting the above decimal number to hexadecimal is equivalent to

0x952BA42D

it represent the medium class B netwrok since the MSB is 1 and the binary digit next to it is 0

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote