еще может такая система имеется там ввиду
To convert the more common ``dotted decimal'' IP address into its hex equivalent, convert each of the address' four groups of numbers into hex. If the resulting hex number is only one digit, add a leading zero to it. Then append all four hex numbers together. For example, take the IP address 10.0.2.254. Convert each set of four numbers into hex, and add a leading zero where necessary:
10 = A or 0A
0 = 0 or 00
2 = 2 or 02
254 = FE or FE
Therefore, the IP address 10.0.2.254 in hex is: 0A0002FE.
|