The next topic of discussion
is Internet Protocol version six or I. P v six.
Ah, lot of people are intimidated by PB six because it is written in hex a decimal.
If you remember, our hex numbers
29123456789 and then a through F, which is a B C D E f.
So instead of saying 10
the number 10 is represented by an A because it comes right after nine inaccessible, so in hacks. If I were to write them out, you go from one through nine and then, eh
for the number 10. Since it comes right after nine, the number 10 is represented by an A in hex, a decibel.
Now people are intimidated by PB six, I assure you, it is nothing to be afraid off except for the tedious typing required to type out of lengthy or address.
And we will simplify it.
And I B B six address is
128 bit address, written in eight fields of 16 bits, each separated by a colon.
What does that mean? Over Let's write down an I P V C six address.
Cole And let's make this easy on us by picking zero's a lot of zeroes.
0000 So eight fields of 16 bits
each. So I need eight of these fields, which are separated by a colon,
colon. 0000 colon 0000 So 123456
So this represents an I P. V six address, and it looks really long and it looks really complicated, but it's it's really not.
remember that each hex character
so each hex character represents reach. Hex number or letter represents four bits.
So if each fields have four has four of these characters, you get a total
If you add up 16 times eight you yet
now would you have to type or right in this hole
mess of numbers and letters every time.
There are rules to shortening
I P v six addresses rules for shortening i p v six addresses. The first rule is leading. Zeros may be omitted so you can leave out the leading zeros
ah, field 2nd 1 says successive. Feels off. All zeros may be represented
by a double colon, but only once leading zeros maybe omitted and successive fields of all zeros may be represented by a double colon.
But only once. Let's see what happens to this address I have written down. Once I applied these rules
becomes a lot easier.
I have 2002 then I have two successive fields of zeroes here.
into a double Colin? Just represent them by a double colon. Of course I can
So these two fields are taken. Care off now.
leading zeros maybe omitted. These 1st 3 zeros can be considered leading zeros,
so I can admit them.
And I can simply say
Now I have four zeros in a row.
I have three successive fields of zeros. Cannot turn these into a double colon.
Well, the rules, said successive feels off. All zeros may be represented by a double colon, but only once. And I've already used up a double colon, so I can't use the double Colin again.
is this a leading zero? Yes, it is for this one. This a leading zero? Yes, it is. For this zero is this is leading to know. Yes, it is for this zero. This last year was not a leading zero because it does not have a zero to the right off it.
So the 1st 3 zeros are leading zeros. So I can omit the 1st 3 and right zero on colon
again for the 1st 3 zeros because they're leading zero
again. Omit the 1st 3 zeros because they're leading again just to a zero last zero off each of these fields I wrote down here,
then zero want to be. I can write us one to be after admitting the leading zero.
I can also shorten this address as
This time I'm gonna use the double Colin hair instead of hair.
So I'm gonna just omit the 1st 3 leading zeros. Say colon zero.
Then again, omit the 1st 3 leading zero said colon
Then you admit the 1st 3 leading zero in front of the eh? So Sekula
then these three fields
And then the last field. I can see
one to be after meeting the first leading zero.
Now, both of these are valid shortenings for this I p v six address.
Both of these are valid shortenings for this I p v six address.
Now can I tell where how many fields of zeroes are gonna be
where these double Coghlan's recite? Well, I have a total of 123456 fields, which means
these two these this double colon represents two fields of zeros to give me a total of eight fields
or looking at the bottom 112345 I have five field, which means these two double Collins represent three additional fields of double off successive zeros.
are valid shortenings for this I p v six address. Now
we have seen how to short and I p v six addresses.
How about the I P V six sub net mask? Well, I p v six sub net mask works exactly like the I P Fi four sub net Master
But instead of written out in hacks, thank God it is on Lee represented
the slash format or the cider notation.
So let's say that this address has a slash 64 mask, which means the 1st 4 fields 16 plus 16 16 16 or 64 bits
If I were to write out the network address and the network and dress just the network address
in I. P. V six is called the prefix,
or the sub net Mask is called the Prefix, which equates to the network address because it tells you how many bits in the I P V six address belongs to the network.
And remember, it works exactly the same as an I. P V four sub net mask.
This network address would translate to
Now I can't use a Colin Colin here
because if you look at a night PV four address 1 51 01 45.10 And let's say this was a slash 24.
If I asked you for the network address, what did you do? 1 51 01 45.0 slash 24. You set all the network bits through zero
in the same way. If I'm going to set all the network bits to zero after a all these four field. 00000000000001 to be field are to be set to zero, then I cannot use the double Colin hair, for it has to be used
or my host portion off my TV six address.
Colin zero commit the 1st 3 zeros, the leading zeros again. Zero I omitted the 1st 3 leading zeros
and Colin A, then Coghlan Coghlan,
setting the host portion of the I. P. V six address to zero
Next, we're going to explore the I P V six
you I address format.