La la ~ Hello everyone! I am a Legend: No one hurts, no one loves, and the blind man sees the fast little naughty man ~ (Hey hey ~ Thank you very much ~ Shushan yaoke! Without you, little naughty may not appear again)
◆ This article is written by Xiao naughty, who can only type like Xiao naughty ~
Dear masters, you can pick them out ~ Pai_^
〓
What is an IP address used for? I believe everyone knows it better than naughty ones.
Make it clear ~ ^_^ ''''''')
Xi ~ I suggest you try again ~ Each IP address is divided into 4 segments... (= _ = 0 (OH ~ Who is hitting me ~)
-_-!
The following is the topic:
218.0.0.196 -- I believe everyone knows this is an IP address *_*
11011010.00000001.00000001.11000100-what is this ~ Pai_^
Oh, huh ~ It's actually an IP address! It means the above 218.0.0.196
Haha ~
.....
The following is a little naughty guy who will tell you how to understand this ~ = _ +
(A wise person knows that this is a binary conversion)
Everyone knows:
0 of 2 = 1
1 of 2 = 2
2 times of 2 = 4
3 times of 2 = 8
4 times of 2 = 16
5 times of 2 = 32
6 times of 2 = 64
7 times of 2 = 128
Hey ~ Now that we know this, we can ~
Let's first calculate: How is 11011010 equivalent to 218 ~
OK! Column tables
128
64
32
16
8
4
2
1
1
1
0
1
1
0
1
0
Ladies and gentlemen, can you understand this form ~
Next, we only need to add the numbers corresponding to 1: 128 + 64 + 16 + 8 + 2 =?
Haha ~ 218
Right ~
Haha. We have figured out the IP address of the first segment!
As for the following, we don't need to show you how to use it ~ ^_^!
La la ~ We will convert from 11011010 to 218 ~ In turn, 218 is converted to 11011010 ~ Hey!
In fact, converting 218 to 11011010 is also very easy ....
You just need to subtract it ....
Subtract 218 from 128 in the Table. ^_^
1 is enough, and 0 is enough ~
Haha...
In this case, I don't know if you understand it. = _ =!
BY: taotao