Hello and welcome back. This is the part Toot for I p version six basics. It was getting a little long, so I figured I would give you guys a break and we will continue on with the rest of the episode.
So what we want to do is if we look at an address, we want to add leading zeros two blocks that do not have four hex character's.
So if you look at the f E 80 below six, we would add three zeros
leading right. We would leave with for three zeros to make that full four hex character's in that block
from there. We're gonna go ahead and count the number of blocks that we currently have if we have the double corn. And then we said we were gonna fill up the,
uh, Phillips until we have eight blocks,
we would continue to fill it up until you have a block suited to count them.
Add a zero blocks,
so I'm gonna go ahead, have kind of walked through that 1st 1 already.
So you go toe head and we've added
are six addresses here. Alright, Zeros. Editor zeroes here.
We added 10 here. 56 maybe stays the same.
78 Fox releases saying Delta nine got two leading zeros and 56
eight to get one leading zero.
So this one is just the leading zeros. This one is your double Cohen, and this one will have both.
So give me a few seconds deposit video and see if you can figure the zone.
hopefully figured it out. I'm gonna go to this 1st 1 here.
So first thing we add the zeros under here. We had 10 on the fox, 32. And remember, we gotta have 10 here because it's so me.
One block. So we fill it up with zeros. The 56 f needs 10
98. Delta Alfa stays the same for three. D zero stays the same, and the number two gets three leading zeros.
All right, so from here
we are just going to expand this out. So we have one too.
So that just says we need to add four blocks zeros. So now we have one, too.
So just fill in those blocks with zeros.
So this last one. Hopefully didn't trip you guys up. So what I'm gonna do, the way I do it is I will fill in the
zeros last, just so it's easier to look at.
So we look here. This is a full four. This is a full four. So the three is going to require
zeros. And CD, too
is require 10 as well. From there
we have one active one,
234 So we just fill in four again. So one,
All right, you guys caught that?
We're gonna move on to the I P version six prefix.
So the prefix you can think of as it's the same ideas a sub, that idea, and I conversion for what it is you'll see a prefix at the end of an address that will be like a look like a cider notation slash 64 slash 48 slash 96. Something of the sort like that kind of tells you what? That
what the network portion is of that address.
Like I said, it is noted with that slash number. The number is the prefix length. So what we're gonna do here is we're gonna calculate the prefix length.
And if you want to, the quick way to do this is if that number, if this prefix right here
is divisible by four,
then you can count the number of bits. So we know that I'm just going to quit maths. We do 16 because four times four
is each one of these is four. And then we have forced 16
30 to 48
64. So right here
it is our prefix.
So from there, what we're gonna do.
Like I said, we have it from down here as well. Same thing.
What was we're gonna do is here. We're gonna change these remaining bits. Two zeros
so you can read it out like this. Or we could just do the double colon with slash 64.
It's a simple Is that
All right? So now we're gonna get to the prefix practice here.
I'm gonna go ahead and help you with the 1st 1 here. So the first thing I like to do with this is make sure that I'm for me. It's just easiest to make sure I'm gonna expanded format. It's easier for you to look at it. I don't miss things because the needle accidentally group up,
you know, blocks when it's not a full block. You know, you don't actually do that, so it's easier to count for me. It's just how I like to do it.
I'm gonna go through. We have 16.
30 to 48
and we have a 64 again.
So what we do? Cut this off and we're gonna make this a
These are all gonna be zeros,
so we can D'oh! You could just do 16.
zero Alfa Bravo, Delta
nine. *** Charlie Delta and able to do a double Cullen
64 Problem. I won't write out to arrest him like this just because my handwriting is atrocious. Um,
but that we can finish that prefix tomorrow. Just the dotted dust or the double Collins for and with the slash.
So I'm gonna so remember. Each hex is four
four bits. This is the total number off bits that is prefixed length.
So it's divisible by four,
which I did all of them easy. They're all divisible by four.
So just figure out where it splits the way I like to do it. Like I said as I expanded out first and then I figured out. So I'll pause the video, give you a few seconds to figure it out.
Hopefully, you got
I want to go through this 1st 1 here.
All right. Hopefully you got this,
and we're gonna go through here. So I got it all expanded outs and I dont know, 64 but 41234
And cut the soft and was gonna convert it into
So are 64.
So we can just replace that with a double corn
move on to the next one here.
So I expanded it all the way out. So we gotta slash 48. So for you, 16.
48 will cut it off there
and were replaced with double colon slash 48.
So again, this would look like 26. 32
36 echo Alfa
Colon colon slash 48. This would be the prefix I d or the What would be known That kind of like the sub net of i d of vipers four.
So we're going to the next one here.
We have it all expanded out. We're on a slash 96 this time. So let's get to the closest 32
So we can do the double Colin there. Looks like an eight and a double colon slash 96. So you say OK, what do we do with these? Maybe that tripped you up
so we can still write that. We would basically write this as we would write these four blocks slash 96 because everyone could figure out that you would write in these next two zeros like that would be part of the prefix.
So you do f e 80
and we could just do it. Zero in there.
Be D D
63 tell to see
Colon, even though this has the same number of full blocks. Is this one up here?
We can still do the slash 96 because if you expanded that out, you could figure out that the next two blocks of zeros would be that prefix I d.
So hopefully this last one didn't trip you up. Too bad.
We're gonna go over that now.
So I've gone ahead and fully expanded this here So let's do our thing. 16. 30 to 48
And so I know 80 is gonna be passed 76. So from here we go 68
70 to 76. So we're gonna cut this off
and will change out this d with a zero
and then just do the double Colin
the way this would look, we have 3200
elf dealt Ah, Bravo four.
And this would you could do zero, Remember?
Because there would be more are blocks of zeros down here.
We would have to do just a double zero here
three. And remember this one Normal has a d, but we're going to do a zero
and do a double corn for the rest slash 76.
That realized I said I wasn't gonna write dress. He's out because my android so she is.
But I did. Anyway,
um, hopefully this helped solidify this for you guys. I really hope you D'oh! I'm gonna include more practice questions and the guides. Please go back through and we're them.
So quick Post isn't here. Which of these be the shortest way to represent that address? I'll give you a few seconds to think about it here, Make sure not remember the rules that we have, Remember? No.
All right. Hopefully you guys guts. If the 80 36 a b zero
because you get to pen out again, we'll want to dio We want to remove these leading zeroes. You just get rid of those first
and we look for blocks off two or more, and that's gonna one. So we replaced that with Double Colon
and where moves leading zeros there. But we had to leave one.
So cf the 80 36 a b zero Colin Cohen F C zero,
too. Okay, That's right, Mary. This one has two blocks of Collins.
This one could be shortened up more because of the two bucks of cones. This cannot work because there's only
one block of zeros
and this one removed the trailing zero right here. All right. In the next episode, we're gonna look at the difference I p v six addresses.
And as always, if you guys have questions, need help. Feel free to shoot me. Message. Otherwise, thank you for watching this lesson for the senior s. Um