1 hour 19 minutes
Hello and welcome back to cyber is create a sub net. Today we were going over the hex. Odessa won't conversions. I'll be your instructor, Trenton. Jiro, Let's go ahead and begin
today. We're gonna go over a quick explanation of hex decimal. We're gonna go ahead and convert Decimal two Hexi decimal.
And we're going over a brief explanation of how I P V six addresses roll into this and we're gonna convert an I P V six address to binary.
All right, so the isolation it is, if you remember the binary being a base to system being that there's two numbers is one and zero.
Hexi decimal is a base 66 16 system. Meaning you have the numbers essentially from 0 to 15 right? Eh? So if you look down here,
so if you look down the bottom here, you will see handy chart that shows what the equivalents are. So all the way from this end down, everything is equivalent zero through nine is the same. And that when you get to 10 that's when we start utilizing these numbers that you'll see,
right, So 10 equals a 12 equal see so forth, right? All the way up until you get to 15. So there's a total of 16 numbers. But remember, since we start from zero
and goes to 15
and here you'll see a just kind of a preview of an I P v six address.
Uh, this is And if you remember, Shortcut, you could just just represents that The intermediate, uh, little, I guess. Not a test with the groups. There
is just zeros, right?
So he checks a decimal digits equals four bits. So if you think about that, it makes sense, right? Because if you want to do 16 So if you want to get a total off, what would be, uh,
and binary you want do? 1248 Right.
That would give you 15
right. It would give you zero through 15 which would also be 16 total numbers.
And if you count, there are four beds here. Right?
So your actual hexi decimal
four bits. So if you want to take, you know, 13 you would just do, um, eight
ah, to one. Right.
This would be 13
right? Since it's pretty simple like that, we're gonna go ahead and move on here.
All right, so we're gonna go ahead and do some conversion to binary here
or two decimal. Excuse me. So a f So the first thing we're gonna d'oh.
So, hey, if you remember, is gonna be the first letters. That's first double decimal
number. So that would be 10.
15 right? We don't remember a handy chart or 10 a
11 B. I'll just write it out here, right? And remember, zero through nine is equivalent.
So this would be equivalent to just be 911
Same thing with this 2112 a b, c D. You see 10 11
12 and 13. Right?
it's relatively simple to convert. It looks a little messy because you'll see some of the numbers kind of jump together. If you're converting the decimal like this,
I'm going to clear the screen and we won't move on to the next slide here.
All right, so we're gonna go and begin here, So if you remember, I'm gonna go ahead. If you marry the chart. We have our decimals already here from last time. So 10.
What's going to convert Spider? We needed eight digit place. We don't need a four we needed to.
We don't need a one, so he would be 10
and then I get a 15. Remember? Is the max so that's just 1111
So here was convert. So we zero and then nine. We need an eight.
I don't need a Ford. Don't need a two with new need it one
and then one on one
for each of those. 2112
Hopefully you're understand this as we go along here, let's go ahead and convert along the way.
So, 10 we already have it to talk. They're so 1010
11 1011 12 1100
and 13. 1101
and just a kiss. You're curious. 14 would be 1110 And, of course, 15 is all of them.
All right, so the f B B six address it is the it's gonna be the successor through happy before. Everyone keeps saying it's gonna happen immediately. We're just gonna We're gonna flip the switch overnight, and all of a sudden we're going to use an ivy six. It's not gonna work like that we're gonna run. Dual stack systems were running I before, and I beauty six.
I know my router at home is running dual stack right now.
it's gonna be a gradual process. And the way I mean, if you look at the bit difference here, 32 bit versus a 1 28 bit,
on ITV formers i p v six there is a huge amount of i P addresses for HPV six.
but essentially, what it is you kind of call eight blocks of numbers is what you kind of you know, you call block like an octet. What you would say an I p before, right. Um,
because each one is each block is 16 bits because there's four hex character's
and each each thing, right,
So you figure four hex character's by eight blocks that there's 32 total hex character's possible crime.
So I realize there's a lot of half in that. So if you look at 16 bits by eight blocks is where you get your own 128 bits, right, there's 128 difference
binary pieces in this. So if you look at trying to convert
something like was down here into binary.
It would be Rosalie large here. We'll just do the 1st 2 blocks, so f would be 111
e would be one below. So 1110
eights would be one
one and then zero,
then a would be 10
so we would need it. Eight. We don't need a four. We do need it, too. Don't need that. And then from there, we're gonna add up to its right.
One ones. You're one for the D.
So, as you can see, this would take quite a few numbers, right? Talking 32 different. I guess you could say binary numbers, but you're talking 128 different actual
Because if you were to count all these up, you know, you would have a total of 128 different bits. That would be either one or zero,
Right? Cause really, you would set this as you know,
like that. Right?
So here, 16 of them. Right? Because you have four by four. Here. 16 16 16 16 16 16 16.
You see, you have eight total blocks.
Eight by 16 equals 1 28
All right, so if you were to actually been airing out each of these I p v six dresses it take a while. So we will avoid that for now.
We won't go ahead and move on
because it's not totally necessary to be able to convert these two binary. It's been skilled, Have
it was not necessary. So what I'm gonna ask is just convert like, the 1st 3 blocks here. Convert the 1st 2 blocks here just so that we get an understanding to make sure that you can pull.
You know this if you have to. If it helps, we can do this chart here. So we're going to a
B C g he
This is 10 11 12
13 14 15. And this would be 10101011110
Well, to mount one. Too many.
Backed it up. All right, So if you want to draw a chart out, uh, to help you kind of remember, remember f one of 11 e you look at the chart. 1110
81000 and zero is That's right.
So I took care of the 1st 1 for you. So you take these first, his next two blocks going posit, write it on some pencil or use us and paper.
And I got no, I'm positive
already. Hopefully you got this. We kind of already did this, a B C D. One here.
So we're gonna do 1010101111001101 Really is getting kind of small someone a drag this one out here.
yes, this was pretty easy as well.
Oh, that 01
and two year 010 Now, you don't necessarily need to have all these proceedings zeros, right? Um, I do it just for
sake of to know that that's you have your your four different binary bits there.
Because really, three would just need to be 112 would be 10 and so forth. Right?
You can always move down here, so let's just do 2001
It's easy enough to move on down to a
We need nine. So we gonna do? Eight plus one
and seven were gonna do four plus two plus one.
So 0111 writes, This is the fourth spot. This is to spot. This is the one spot.
And if you want more practice, if you're you know, if you can't just quickly go through these, feel free to go through the You know, this whole portion here in this whole portion.
It's not gonna hurt you to be able to do these very quickly.
All right, so quick quiz here at the end. How many bits are in a I P. V six address?
Give a few second spots. Video
already? Hopefully you got this right here. Help you got once. Well,
hope you got 1 28
Remember, 1 28 because there is eight blocks of 16 bits apiece
because that is four bits by four different hex of decimals.
Right. Which would go 1 28
already in today's lesson. We talked about the accidental conversion to decimal, and then finally to binary. We did a brief introduction at I p V six addressing, and we did a few small segments of I P V six addresses converted into binary, which essentially just hex decimal conversion of binary. Right? There's no difference. It's just
a lot of different numbers.
All right? I want to thank you for joining me and listen today, Uh, and I hope to see in the next one.