# Converting Decimal and Binary

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
or

Already have an account? Sign In »

Time
23 hours 18 minutes
Difficulty
Beginner
CEU/CPE
23
Video Transcription
00:00
Hello and welcome back to I C d one interconnecting Cisco networking devices. Part one This episode 4 to 3. Converting decimal binary
00:08
hydrating Terranova, instructor for this course. In the last video reviewed the classical networks. We went a little miller in depth. This sign of first did
00:16
this absurdly covering how to convert decimal binary. And how do we use it for submitting?
00:24
So again, we're gonna convert our dismal toe binary using her sudden mask,
00:29
we're gonna determine the cider notation from the binary,
00:34
as always. What is the cider notation for the Southern mask?
00:39
2 35 to 45. That 1 92.0 We'll see if you could for this out.
00:45
Um, you can't
00:47
just wait a second,
00:51
all right? It is the slash 18 and I will show you why in just a moment here,
00:59
it's quick review in a binary. Here we have our 32 bit address
01:03
with 4/10 of eight bits.
01:06
This is gonna be actually split between the network subbed and host bits.
01:11
So if we look at 1 92 that 1 68 65 1 to 65. Well, what does it look like? and binary.
01:19
So remember, we have
01:21
when
01:22
1 28
01:23
but 64 is 1 92 So just fill these in with zeros.
01:32
1 68 So 1 28 minus
01:36
1 68 minus 1 28 will leave us 40. So
01:40
won't work. This leaves us eight,
01:44
huh?
01:45
And fill the rest in.
01:48
Ah, one. Nope.
01:51
No, no, no, no, no, no. Yep.
01:55
In 65. Nope. Yes. So now we have one left, so
02:00
and killed in auto one. And there is our i p address,
02:06
so we'll go ahead. And now we're gonna move into converting the
02:10
to converting the subnet mask.
02:14
So that was when we looked at the 2 55 to 55 0.0.
02:20
Um, So here, don't you have your class full masks,
02:23
class a, Class B and classy, respectively.
02:27
Um,
02:30
those are
02:31
think of him as ones and zeros again. One's ears. Um, so you're the ones. Determine your network, and sudden it bits zeros determined your host bits.
02:42
So if we look at 2 35 0 to 0, we are
02:46
What? Her? Excuse me? One.
02:49
All these air filled in because that equals 2 55
02:53
and this is zero across the board
02:55
down here. So here is your slash eight.
03:01
And let's say we want to do the 2 55 here.
03:06
So this is 111
03:08
And this is 111 customer that this equals 2 35
03:14
Then this is zero down here
03:16
and same thing with this SOS to be 16. So same thing with the certified to try to find out. Zero.
03:23
That one will just have ones all the way down here
03:28
to be a slash 24 zeros
03:30
down this way
03:34
to determine the cider notation. We're going to add the network and sub net bits or count the ones in the network I d.
03:40
So let's say we have this.
03:44
I'm just gonna fill in a few of these.
03:51
I was a truck. She depends, Um, anyway, so if you count the
03:55
once 123456789 10 11
04:02
So this would be a slash 11
04:10
o. R. Remember this. So that way would look at sub net network
04:14
host
04:15
gonna be eight
04:17
three
04:20
and
04:23
oh, man, this is rough. 21
04:27
29 2 30 0 okay. Yeah.
04:30
It's like I said I'm not a mass thing. Um
04:34
all right, Someone clear those off. We're gonna do this one here.
04:39
So 11111111
04:44
2 35
04:46
And now we're going to 1 92 So 1 28 plus 64
04:51
and zeros down.
04:55
So this would leave us with a slash 18.
05:00
Um,
05:02
and we'll look at so 2 52
05:05
So I'm just gonna dio one
05:10
one
05:11
and 2 52
05:13
So 1 92 to 24 to 40 to 48
05:18
2 52
05:21
and zeros dough.
05:26
So this be 16 17 18 1920 2122 slash 22 would be the cider notation on that one.
05:34
So you want to go ahead real quick and figure out what 1 92 is? Where did that figure out? What to 24 to 40 would look like.
05:44
So I've written out how many sudden at busy she has, but
05:46
he needs that. You need to practice. Go ahead and write it on binary. Um,
05:50
it is what it actually comes down to when you're doing the practices that we've been doing
05:56
otherwise I'm gonna go ahead and push into the next module. Oh,
06:00
real quick.
06:01
Um, when you see,
06:04
let's say it was Take the
06:06
So let's take this to 41 here.
06:10
This will kind of actually tell you where the last number one is
06:14
or the last binary one. So 16.
06:17
So what? This says Israel. 111 wants to the 16 there.
06:23
Then we go. 0000 So let's count this 1 28 1 92
06:28
to 24 to 40.
06:30
Well, let's try it with 2 24 I guess. Let's see a 10 works.
06:34
Ah, our 2 36 minus
06:38
32.
06:40
So let's plug this one into here.
06:43
1 28 1 92 to 24.
06:46
Yeah, that works out
06:49
quick. Way to you know your binary to just know how many bits is gonna take Eventually, After doing this a lot, you'll you recognized the 1 28 11 92 to 24 to 42 48 etcetera. You'll be able to count in that kind of reverse,
07:06
you know, reverse way there.
07:10
So we move into the
07:12
practice here.
07:15
Let's go ahead and determine the binary for the sub net to 45 to 55 to 48. You don't need to actually write out all the ones for the 2 50 fives. You know that you can just write out
07:26
2 55 to 45 then do the ones and zeros for 2 48 then you guys do zero. Um,
07:33
as long as you understand that all the ones air filled in for 2 35
07:38
that's fine with me.
07:40
So go ahead, pause the video, trying to figure it out.
07:46
All rights to 48. Let's do so. We got 1 28
07:51
1 92 to 24
07:56
2 40
07:58
to 40. Eights
08:01
do so. 345678
08:09
0 to 55
08:11
2 55
08:13
Um,
08:15
bestie. Better equipment. So we think that is a We're borrowing five bits for the suit for
08:22
For that, this is 16
08:26
which would leave the host bits 2011 11. Uh,
08:33
and those bits. So I'm gonna go ahead. What would the sudden that mass be for a slash 23? So we'll do it in reverse way.
08:39
So if you want to positivity on, figured that one out,
08:45
all right
08:46
to slash 23
08:48
so we know it's gonna be too fortified to 55 is slash 16.
08:54
And we need to figure out that third act Ted again.
09:00
So let's go ahead and figure out. So we need to borrow seven host bits or seven network bets. 1234567
09:11
That last one would be this.
09:16
It would be a zero. So figure 1 28
09:18
1 92 to 24 to 40 to 48
09:26
2 52 to 53
09:31
at 2 54
09:33
No
09:35
murder that's not going to
09:39
this one will allow. Um,
09:43
borrowing seven bits like this is in a Class B is fine. You cannot borrow seven Bates in a Class C because, let's say
09:52
so. For it to be fired at 2 30 Fired at 25 to 5
09:58
and you gotta borrow seven beds. So you're at 2 54
10:03
So
10:03
there's only two I p's there.
10:05
All right, so move on to the post assessment here. How many host bits are left after for a slash 28 cider? Give a few seconds.
10:16
All right. Hopefully your brain in the complete mush by now, this one should be simple.
10:22
It's just 30
10:22
uh, 32
10:26
minus 28
10:30
with equal four.
10:31
That's what we got.
10:33
All right, So in the next module, we're gonna go into implementing I before we're actually gonna break out the routers. Now we're gonna be implementing rip a little bit. Um,
10:43
And if you guys are still rusty on that submitting, please use Todd label site to use you to use something to, um, to learn subheading.
10:54
And, as always, if you guys have questions, need help. Feel free to shoot me. Message. Otherwise, thank you for watching this module
11:01
and look forward to teaching the rest of you.
Up Next
CCNA ICND1

This course will enable students to understand virtualization and cloud services, and network programmability related to LAN, access and core segments.

Instructed By