Tuesday, June 17, 2008

S/ash (slash) di IPv4 Addr yang membingungkan

Well, as we know it is a thing in IT Network that confused many people. But, please let me try to explain it as well as I know.

Slash in IP v4 in the subnetting system is described for witch network the IP is.
First I will discuss about common subnet we knew very well, it is; /8 or 255.0.0.0, /16 or 255.255.0.0, and /24 or 255.255.255.0. The detail is as writes below:

there are 4 column in IP subnet, and we use to see it as decimal (255.255.255.255)
Actually, each column contains binary number.

255 means 11111111 (eight 1)
255.255 means 11111111.11111111 (double eight 1 = 16 1)
255.255.255 means 11111111.11111111.11111111 (triple eight 1 = 24 1)
255.255.255.255 means 11111111.11111111.11111111.11111111 (quadruple eight 1 = 32 1)

So, we see IP Address like this: 192.168.10.5 / 26, what is the subnet in binary?
the answer is 26 1 or 11111111.11111111.11111111.11000000.
Great! But wait, it still has one more question left, what is the subnet in decimal?
Off course the answer is 255.255.255.192
If it so, then the IP Address is 192.168.10.5 255.255.255.192

Great!! it is very easy right?!

But how come it become 192? i will only give the clue, that you will need to convert it from binary to decimal :D. Yeah, that easy.

Well, it is only some part of IPv4 knowledge, thank's to Wa' Haji Onno W. Purbo, Oom Pandu Poluan and Mas Yohanes (CNAP Tutor), and to all IT source in Indonesia. Peace!

No comments: