# IPv4 Addresses, Rules, Classes, and Subnets

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

Time
23 hours 18 minutes
Difficulty
Beginner
CEU/CPE
23
Video Transcription
00:01
Hello and welcome back to I see and you've won Interconnecting Cisco networking devices Part What?
00:05
This episode 143 I pee before addressing rules, classes and subjects I'm trending Daryl and I will be your instructor for this course.
00:14
In the last video, we went a little bit over the I P V for routing. Just overview over it. We'll go into it a little bit later in the next lesson.
00:22
This episode, though, we're going to come in the i p before addressing rules, said different classes. There in, we'll finish off with a quick, brief explanation of sub nets.
00:34
So learning objectives for this we're gonna be looking. I pee before class ranges RFC 1918
00:40
sub nuts and then a little bit of binary math.
00:43
There's gonna be a lot of numbers in this lesson. There's gonna be a lot of hands on learning. So grab a note pad, grab a pen, feel free to positive video or re washed. If you need Thio
00:53
and a quick reassessment question here.
00:56
What class network do you think 1921681.50 is a few secs to pause the video.
01:04
All right, Hopefully you've got a Class C address,
01:08
all right into its i p before address breaking out.
01:12
So when you see the you know 17 to 16 to 54.1, that is a dotted decibel notation or ddn.
01:21
And if you break down I p address into binary, it is 32 bits or four bites because one bite equals a bits
01:30
and it realizes God and each of these air separated into there's four octet ce into a normal I pee before I p address.
01:40
So I knocked. It is eight bits. So if you look there,
01:45
here is you have one bites or eight bits
01:49
and there is four of these
01:53
01:55
there's eight bits. So you eight times for his 32
02:00
go on to the next world. So I p p four classes. So Class A
02:06
is for you, Nick kissed.
02:07
There is 126 networks,
02:10
so over 16 million hosts per network
02:15
and the 1 27
02:19
000
02:20
So 1 27 00 through 1 27 to 35 to 45 to 55. Is there a reserved range? So that's off limits can't be used.
02:30
So a lot of times you see 1 27
02:34
0.0 dot zero. That one that is a local host address. So your own host, if you so keeping that should come back.
02:42
Class B is gonna have just are 16,000 networks with 65,000 hosts for network. But again, that's a unit cast
02:51
02:52
and a classy is gonna have just over two million networks with 254 host for a network that is also unit cast.
03:00
So you knew, CASS what that is you're taking here. That is a 1 to 1 address. So you say I want a ping.
03:06
You know, 1 91 681 That one
03:08
that's going wanna one right? It's It's only one device for each address,
03:15
so you'll see a Class D is a multi cast address. So what that is is that is one too many. So that is used for routing protocols. So essentially, you can kind of think of it as devices tune into these multi cast address, right?
03:29
You can also use it for streaming on a network. So if what's they call these routers are
03:35
tuning in for this multi cast address there, only there, listening for this address to be pushed out as a destination.
03:40
So that way ruined rounding up days comes through.
03:43
They can listen to it, and only they receive as to a broadcast is a one to also everyone on that broadcast domain is getting that message, and having to process it
03:53
so classy is reserved right now. It used to be formally Eriks Experimental
04:00
and RFC 1918. That is your private I p address range. So Class A Range is going to be 10.0 through
04:11
10. 55 35 35 slash
04:17
You should see slash eight.
04:21
I apologize,
04:24
and the Class B range is 172.16 00 through 17 to 31 to 35 to 35.
04:31
It is a slash 12. We'll go over here just a minute. What's he slashes mean?
04:36
And this Class C range for the private I P is 192168.192168 to 55 to 45. So someone you usually see in home networks is the 1 91 succeed?
04:48
Um, I'm not entirely sure why you never see it in a business network. You almost always see the 10 dot to being used.
04:56
Uh,
04:57
it's not like it doesn't work. It'll work perfectly fine for that.
05:00
Well, for some reason, you never see it. I don't
05:02
truly understand that,
05:05
Um, so that these addresses are only for internal use on a land right
05:13
land.
05:14
All right. So I s p should actually a firewall rules blocking these addresses from ever reaching out to the Internet.
05:19
So these are not Internet redoubtable addresses.
05:25
All right, So sudden, it's this chart right here. Kind of Ignore it for now. What is a class C sub net mass chart?
05:31
It's kind of crazy looking. The 1st 90 look, addicts. There's just numbers everywhere.
05:35
So cider is classless. Inner domain routing. So what, this is you see your slash Aged, slashed, well slash 16. Like we saw in the previous one.
05:44
I think of that is your That is what? How many bits are being used for your network? Right. So if you have 32 bits, eight of them are reserved for network.
05:54
So meaning if it's a slash ate that first octet
05:58
is used for networking.
06:00
So if we have 10.1 dot 23
06:04
slash eight,
06:08
this first portion here is the network.
06:11
This portion here is the host bits,
06:15
right? It's kind of little crazy, but
06:17
I think of it like that. So we're gonna only gonna do the big classes like this For now. We're going to more advanced sub mating later on. You'll actually utilize this chart a little bit.
06:28
Um, just know that you're borrowing bits, but that's We'll get into that later.
06:35
All right, so we're gonna do some binary Matthew. Right?
06:40
So I've did. Did this top one for you already? The 1 91 681.0 Okay,
06:46
So what we're gonna do, we're gonna go over this next one together. We're gonna go over 1 17 172 does 16 00
06:54
It's the easiest way I always remember this here.
06:58
It's gonna take 172
07:00
so we can fit that into here. So put a one. Somebody got to do
07:02
172 minus 1 28 So that leaves us 44. So you can't have is 64 44 But you can't have a 32.
07:12
So do 44 minus 32 which gives us 12. So you can't do 16
07:17
but you can do eight. So 12 minus eight
07:21
equals four so you can have a foreign that leases with zero.
07:26
So we'll just go ahead and fill these in.
07:29
So I showed you the same thing here,
07:31
if you wanna quickly look at that. So 172 months 1 28
07:35
44 minus 32 because we can't 64 doesn't fit in there.
07:42
And then 32.
07:45
So then you have 12.
07:46
You have eight and four, which makes it up.
07:48
And then 16 will just have the 16 bay here,
07:54
So that will be
07:56
I was feeling the rest here real quick.
07:59
And
08:01
this is 17
08:03
two. This is 16.
08:09
So if you have to write down this chart if you you usually you should get a white board and a pen or a marker during the exam. If you have to write down that chart, absolutely.
08:20
It's not gonna hurt. But binary is one thing that you're gonna have to be able to do for sudden knighting.
08:26
It's absolutely necessary. You can kind of remember the charts, but it's just easier to know how to do it.
08:31
So if you want to get, really invest with it can't hurt. So the way that these work is to the powers to race of the power of the bed.
08:39
So two to the power zero believe you. 12 to the power to levy to
08:46
four,
08:46
222 times two equals four times to it was eight.
08:52
And
08:54
to raise to 4 16 tourism 5 32 So on so on.
09:00
So you're gonna go farther. But if you're only looking at eight bits, that's the lengthy looking at here.
09:05
Let's go on to the post assessment here. So this one, you're gonna want to use that pen and paper here.
09:13
So, what would the sudden that mass be for a slash 24?
09:18
Give me a few seconds to think of it.
09:22
All right. Hopefully you've got this answer to 2 35 to 35 to 35 so slash 24 member will do 32 minus 24.
09:33
Is this eight?
09:35
So slash 24 meaning the
09:37
so 24 bids are being used for network so that is
09:41
so x dot Exe
09:43
x
09:46
that access. So it's his host
09:48
and this is a network.
09:52
So if you think each one is eight
09:54
so eight
09:56
eights,
09:58
eight bits in the last eight bits.
10:01
So this 24
10:05
is used for the network
10:07
and as 24 is used for the host,
10:11
all right.
10:16
And
10:18
in our pre assessment. So this one, you're really going to depend on me before
10:20
s. So what is the binary version of 1 99?
10:24
So merry. Go with it the way that we did before. If it helps, that's the way I learned it openly, a lot. It made a lot of sense is write out that chart one, you know, 1 28 64 30 to 16 84 to 1
10:39
and then think about do 1 99 minus 1 28 and then so on and so on. For each these numbers, I realize it takes a minute kind of tedious,
10:48
but eventually it will kind of click, and you kind of get it and it'll start working much faster. So give you a few seconds deposit video
10:54
and go ahead and try and figure this out.
10:58
All right. Hopefully you got this.
11:03
You didn't let me know. We can always go over it later.
11:05
And the next episode is the final one. In this lesson, we're gonna be looking at the I P. Routing tables and protocols and art.
11:13
11:18
bring up command brought type in round print, Dash four for I p before
11:24
and that will print out your actual routing table
11:28
and which interface to go out for that to reach those routes.
11:33
Of course, we'll go over the actual Cisco Way later lesson.
11:37
And as always, if you guys have questions, if you need some help, feel free to shoot me. Message. Otherwise, thank you for viewing this course, and I look forward to seeing you in the last lesson.
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