Time
1 hour 19 minutes
Difficulty
Beginner
CEU/CPE
2

Video Transcription

00:01
alone. Welcome back to Cy Berries. Create a sub met today. Really? Going over the binary conversion will be your instructor trending dear oh, and was going to get into it.
00:11
So today we're going to convert decimal to binary. Also, go go over how to break down an I P four decimal dress into a full 32 bit buying area dress.
00:22
All right, so as you've seen, I'm probably a few T shirts out in the wild. There are 10 types of people in the world. You learn how why that is relevant here in a moment.
00:33
So this is based on ah, based to system. They are only two numbers involved in binary, just one and zero.
00:40
This is our computers talk, really, It's It's only talking about the basic level
00:44
switches in a computer. It's ones and zeros. Like I said, that's the base to system. So it's two raised to the number of bits
00:51
and let's go ahead and do a quick example. So we're gonna convert 42 into binary. So the way that I like to think of this is think of the ones as a true statement and zero as a false statement. Right. Let me get my pen out here. Let's go ahead and go. This So we're gonna commit 42 sodas. 42 going to 1 28? No,
01:11
64? No. Yes, it goes into 32.
01:15
So let's do for it. But I stat let Liza was 10. Right?
01:19
So this would be a zero here. We would give us an eight.
01:23
I would not lose it before it would lose. So the two
01:27
used with zero, right? Because there should be eight. And then finally to
01:33
So essentially think of these as Hans. And off. So 42 into binary would be 1010
01:42
10 right?
01:45
Yes.
01:47
Okay, That would be binary of 42.
01:49
All right, cause you don't need to put in these proceeding zeros at all.
01:55
Those can stay out.
01:57
Um, and then here is where the 10 types of people in the world
02:05
he's right here, cause that would equal to right. The idea is there are two types of people in the world. Those who understand binary in those who don't
02:13
is the big kind of running joke behind it.
02:15
So let's go ahead and I'm gonna do one or a quick one here. Let's go ahead and just do. Let's do 154. Okay? Okay. So once when it goes into there
02:28
All right, that would leave us with 26
02:31
right? So you could skip on down here.
02:36
Good one. So, 16.
02:38
It was a minus sign. So we know we're doing here. Leave us 10
02:42
So eighths and two,
02:46
So 154 b 10011
02:51
010
02:54
So that was one thing I did in my C c N a was one thing I drew immediately upon it. Getting my
03:01
whiteboard thing was, I drew out this little chart.
03:06
Uh, because it just helps you remember the different place values grow quickly. Right.
03:13
So here you have to raise the one
03:15
to raise to two
03:17
to raise 23 to raise a four. And so right.
03:22
All right, so here, we're gonna go over notes, Amore. Quick practice here. I'm going to give you a second to try and write these down and figure it out, and then we'll go over.
03:32
All right? Hopefully fruit out decimal eight here.
03:37
I'm just gonna go ahead and we have a one. The four would be a zero, but she would be a zero and the one would be a zero.
03:45
Right?
03:46
So let's do this for this one. Hopefully, you've got that because, remember, you don't need to add in these proceedings zeros right?
03:53
Those do not need to be there.
03:55
So it's to be one too through. You know, it's a four
04:02
8 16 32 64 right?
04:10
And 1 27 Right? So the biggest number that will really be just above that would be 1 28 So it's 64. You could just add everything up to it, right? 64 30 to 16
04:23
eights for 21
04:27
Yeah,
04:28
because essentially, this would be the 1 28 And then to get the 1 28 would just move everything over for
04:35
78
04:40
Wants money,
04:41
right? This would be 1 28 right here.
04:47
It's not there.
04:50
All right, hopefully got all those. Otherwise, we will have some practice questions to cyber very well there where you can use the Todd Lamb all sudden anything. All right? And let's continue on here. So it's a little bit more explanations here. We're gonna actually get into the I p four addressing
05:08
s o. If you look at I p before, right, you have four different ock tests,
05:13
and I accept being the eight bits. That's the number. Could be, you know, um,
05:18
to do 345678 rights. You have 88 bits. These air known as bits
05:28
eight bits. He calls one bite.
05:33
All right,
05:34
so
05:36
you talk about a four button 32 bit address
05:41
for an I p. Before right of four different octet, it's you're gonna have, you know, 0 to 255 4 times
05:49
again. Octet range. Who? 0 to 35
05:55
which would give you 256 addresses. Prock tat.
05:59
Um,
06:01
because the range you know, you can start at zero and go to 35.
06:05
So let's go ahead and convert this right here. So first things first, we want 1 72 I'm gonna go ahead and just draw out my chart here. All right? So one is only two. It goes into 1 28
06:17
it. So let's do the math on the air in 1 28
06:24
which would leave us 44.
06:29
So why should I give us this? Would give us a 32.
06:33
Should give us 12
06:38
zero
06:39
one.
06:41
So eights would leave us afore
06:45
There's your 172 Right.
06:47
So
06:50
172 equals 10101100
06:57
It's eight numbers, right?
07:00
Yeah.
07:00
All right. So, 16. That should be relatively easy.
07:05
Should be a 16. Hate for 21
07:11
on zero. Really? Is that you can just draw zero for that if you want.
07:16
56. All right, let's get into it. I'm gonna do use the bottom down here.
07:23
So 56 we're gonna go on a 32.
07:27
I'm gonna use this space up here.
07:30
That's 32. It was 24.
07:34
Give us one of these
07:38
16 which would give us eight
07:44
here on throwing a zero to fill it in.
07:47
So 123123 Right.
07:51
So here is your
07:55
mine. Every I p address for that. There.
07:59
Hopefully I didn't lose you along the way. I remember. You don't need to put in these proceedings Zeros. Just make sure you do. You do need these trailing zeros. Oh, right.
08:07
Those have to be there. Otherwise you have no reference of what the numbers actually mean, right?
08:16
All right, it's clear the screen and let's move on.
08:20
All right, I'll give you one quick quiz. There's your chart. I'm gonna give you a few seconds, positivity and well, we will go through it
08:30
already.
08:33
Let's go through the 1st 11 90 to 1 68 1 So 1 92 right,
08:39
1 28 goes into it, which gives us 64
08:46
and that just clears it out. Right?
08:48
So if you could just fill in the rest of this
08:52
was zeros.
08:54
Right?
08:56
So when I got here, clear the screen.
09:00
1 92 equals 11
09:05
1234 and 1 68 to the next one.
09:11
So you can hit here
09:15
minus 1 20 eights.
09:18
She gives me 40.
09:22
So, zero, that's the one.
09:24
Quick mass will give you an age.
09:30
So 1 68 10101000
09:37
across belt
09:39
and 11 and should be really easy.
09:43
Who?
09:45
It should just be one.
09:46
That's it, right? You just put a one in there.
09:50
That would be so. Hopefully this is the answer that you got
09:56
for that question,
10:00
right?
10:01
Let's go ahead and move on to the video summary. So today we went over very quickly How to convert decimal to binary.
10:07
Uh, and we talked about why we have a Max I, Ted of the I P before address of 2 55 Being that it starts at zero, go to 255
10:16
because you're Max addresses. Are you, Max? Used your max I p's per octet because it has eight bits is to 56.
10:24
And then we also did quite a bit of converting. I could, before addresses to binary.
10:30
And as always, if you need help, consult YouTube, consult Google. And if all feels,
10:35
I won't be upset. If you shoot me a message and I can try and help explain it to you better try and help out as much as I can.
10:43
And as always, I appreciate you watch the video and I look forward to seeing you in next war

Up Next

Create a Subnet

This course will enable students to refresh on basic IPv4 and IPv6 concepts and to learn how to subnet an IP space in order to better provide network availability. We will dive into converting decimals to both binary and hexadecimal.

Instructed By

Instructor Profile Image
Trenton Darrow
Network Engineer at NCI Information Systems, Inc
Instructor