So our next top next topic that we have to discuss is something called Cider Now cider. It's not something that we drink in networking, but it stands for classless inter domain routing. C i. D e r.
Now we talked about class full routing with class full routing. We have class A Class B and classy I P addresses and there some that masks are default for those particular I P addresses. So in class, full route I p addressing
any I P addresses, which are in the Class A range, have the sub net mask of 2 55.0 dot 0.0
in the I P addresses in the Class B range have the I. P address of 2 55 to 55 0.0, and any I P addresses in our Class C range have the address of 2 55 to 55 to 55 0
Now there's another topic that we need to discuss again called cider, and what this does is it allows us to have variable lengths of net masks. So when we're using cider, it means that we have sub net masks which aren't in those standard classes now. This will come in especially useful when we're talking about sub netting and a little bit.
cider notation is seen as a slash and then a number, and that number corresponds with a sub net mass.
why do we use cider notation? Well, we use cider notation because sometimes our standards sub net masks aren't going toe work for us. We need to have some way of breaking our sub. Are breaking our I P addresses. Breaking up our network ranges into smaller sub nets
and we can't do the We can't do that with our standards. Seven. It masks with our standard class full addressing.
Now it's important to keep in mind that we need to understand the limitations of certain devices on our networks, such as routers, to understand if they can do this classless. Addressing
most of our com, most of our modern devices on our network we're going to see today are able to do this, but classless addressing allows us to break up our seven masks and work with our I P addresses so we can make the most use out of them. We talked about how our class a There's a large
difference between our class A Class B and classy networks
as far as how many networks versus how many hosts there could be on each network. And sometimes we need to be able to adjust that. And that's where cider comes in.
a slash, followed by a number.
Now this number can be anything from 1 to 31.
So what does this number mean? Well, this number
Now, what we mean by prefix is when we break our sub net mask into individual bits.
That number is the number of those bits starting from left to right that are ones.
Now, when we're talking about our sub net, masks are sub net. Masks have to be continuous. Ones are continuous ones from left to right. We can't have a break with zeros in it, and we can't go from right to left. Our sub net masks have to go
left to right, and there can be no, there cannot be zeroes in between one's. It just has to be straight ones until we stop.
So our sub net mask of slash 16 would mean that we have 16 in a row, straight ones.
So let's take a look at that in our binary. Now we know from our earlier lessons that an I. P address an I P Version four address is a 32 bit address, which means it has 32 ones or zeroes.
Those 32 ones, or zeroes, are broken into four groups of eight, called octet. It's four times eight equals 32
and those octet make up the numbers and our I P addresses or our sub net masks.
shown as 11111111.11111111
That's 16 straight ones. Now. Just because we have a slash 16 doesn't mean we can excuse are dots in between our OC tests, we don't write 16 straight ones and then a dot we still have to break up in tow ock tents. So we have eight ones and then
continue on with eight more ones and eight plus eight is 16. That's how we get our slash 16.
So we've talked about how we translate binary into our numbers before, but how do we translate this buyin ery again into our sub net mask
via standard numbers? Well, let's take a look.
So we drew out. Are buying. They're here
are 16 one's followed by 16 zeros because we have slashed 16 in the slash 16 refers to our 16 ones. They go left to right,
and we also drew out our chart.
Now, this chart corresponds which Egypt, With each of our OC tents, we've talked about how binary increments Bye bye. Increasing powers of
of two starting with 01248 16 32 64 1 28
Because a binary digit can either be can only be a one or a zero corresponding with an electrical signal of an on a one or off zero
and our computers at the very base language talk and electrical signals on and offs. So we have to translate those two. We have two trains like those two numbers so we can write applications and develop programs that can talk down to that.
how do we translate these ones and zeros into standard numbers? Well, again, we draw our chart
and we line up our chart with our octet
So we have our first octet here, and I can tell you right now that if you ever see an octet, that is all ones.
An octet with all zeros is zero.
But let's actually take this and dissected out in order to understand why an octet with all one's is 2 55
we have our chart, and in our first place, our first place indicates whether it's a value of zero or one. But again, our sudden it masks we're gonna go from left to right. First place will indicate a zero or one
a zero or 20 or 408 You get the idea 16 30 to 64 1 28
if you're doing if you're doing an exam, you're taking a test. Or maybe you're just trying to learn some netting better. It's, uh, it's a good idea to have this chart already written out for you. It's good if you can get like a little white board so that you don't have to constantly be erasing and scribbling out pencil or rewriting the chart and pen
and just get your white board and practice this over and over and over in order to
become very familiar with these numbers.
So we have our chart here, and we have all ones. So
now in binary or when we're doing our I P addresses and we're translating from binary to our standard numbers. We now take every place that has one in it
and add it together.
So we end up, we end up having 1 28
1 28 plus 64 which is going to give us 1 92
Then our 1 92 versus 32 which is going to give us our 2 24
to 24 plus 16 is going to give us 2 40
to 40 plus eight is to 48.
2 48 plus four is going to be 2 50
2 52 Sorry, that took longer than it should have.
2 52 plus two is going to be our 2 54
and 2 54 plus one is going to give us our 2 55
That's why our standard sub net masks the highest number that they can be and also in i p. Addressing the highest number a single octet can be is to 55. Because if all of those ones in the octet,
or if all of the bits in the octet are ones, the highest number that can add up to is to 55.
and then our second place again is all one. So it's also 2 55
dash 16 is just 2 55.2 55.0 if it was a class be addressed, this would be it standard sub net mask.
this was an easy one. This was an easy one to get started. If we see a dad, if we see our cider notation in dash increments of eight, then we know that because it's in an increment of eight, we're just going up the chain and adding additional 2 55
would be equivalent to a 2 55 to 55 0.0.
would only use this first octet and then have the rest zeros, so that would just be to 55.0 dot zero
would be to 55 to 55.2 55.0.
Now, we can't have a Dash 32 because as our sub net mask, because that's not gonna leave us any room for hosts. A Dash 32 would be to 55 to 55 to 55 to 55. And that would mean that our entire I p addresses the network I d. Thus giving us no room for hosts. So we're not going to see a Dash 32
cider notation for sub net mask.
Now those air easy. Those increments of eight are easy,
but they're a good place to get started at to understand how cider notation works. Let's do one that's a little bit more tricky. Let's take a look at Dash 12
so I have question marks there because we don't want to make it too easy for everybody.
So let's go ahead and a race. Our chart here,
our race, our chart right here
and move over to our other side of the board and see if we can dissect this out.
So we have a dash 12 cider notation prefix.
So what that is telling us is we have 12 ones in as our prefix for our sub net mass for translating. It's a binary. So we have 12 ones in a row. So it's going right. Everything out.
Then we have four more ones.
So we have 12345678.1234
Now, we don't just put another dot there. We have to finish out the zeros there.
So we have to finish out the octet. So we write four more zeros,
and then everything else is zero. Because we know that our first octet
is all ones. We automatically know that. Okay, on all one's in an octet is 2 55
So that's the easy one. We also know that all zeros equal zero,
so those are also very easy.
But what about this second octet here? How do we need to actually do our equation? And we need to break out our chart in order to figure out Okay, What is this second octet them? Let's go ahead and break out our chart. And we have our 1 28 place 64 30 to 16 8
if you know that 1 28 is gonna be your highest, you can just start with 1 28 and then go backwards, Toe one. That's just easier for me. But when you're first learning in your first creating these charts
putting the correct numbers are not putting enough. You may want to start with one and then increments your way up going to eight places. So instead of going backwards, our highest lowest like I did, you could go. 1248 16 32 64 1 28 Just by habit, I go from 1 28 down.
Now we take our second octet here
and we just simply filling our chart. So we have four ones. 1234 followed by four zeros. 1234 So now we just do our math and we figure out what number this is.
and that's going to give us 1 92
and that's going to give us our
2 30 Excuse me to 24.
So 1 90 plus 32 is gonna give us our 2 24
and our 2 24 plus our last one here 16
is now gonna give us 2 40
So we don't add any of the rest of our values in this octet because they're all zeros.
if we wanted to, we could ride out.
Plus zero plus zero plus zero plus zero. But it's the same is
just finishing at our 2 40
that's what our octet is now. If you were dissecting a standard I p address, then you would want to make sure you went all the way to the end because an I P address could have another one. In one of these additional places. Cider notation is on Lee ones from left to right. And then it'll stop. And then it'll be zeros
the same with our sub net masks because our cider notations represent our subnet masks.
is gonna be to 40. And yes, that is my final answer.
So our sub net mask a dash 12 prefix if we translated it into a standard form sub net mask would be to 55 to 40.0 dot zero.
why do we use cider notation? Why don't we just write out everything as 2 55 to 40.0
or whatever our cider imitation comes out to be?
cider notation gives us a little bit more.
It saves us a couple steps per se. Um,
let's say if we are writing out an I P address and we are modifying or adjusting the amount of bits in that sub net mask. So instead of writing it out as our standards of mathematics, we just write. It is Dash 12 that saves a network engineer. That saves us from having to say, Okay,
well, 2 55 to 40 0 does. Here, let me break out my chart and let me take my chart and,
um, I'll go in and I'll take
this and all translated back to the binary and count out with ones. And oh, that's a Dash 12 prefix. It's easier to work with cider imitation when we're working with sub nets. Which one? Which we'll talk about in a little bit because it tells us the exact number of bits right away.
It's sometimes easier to work with cider notation than it would be to work with our standard sub net mask in the actual number form.
Also, it gives us a way that we can write things shorthand we don't have to ride out
are. If we were writing out an I P address, we wouldn't have to write out. Okay, this I p addresses 1 92.1 68.1 dot 15 with a sub net mask of 2 55.2 55.0 dot zero. We could just right out
this isn't this I p address is 1 92.1 68 that 1.15
We'll be using insider notation or if we were using a standard subject mask for our Class three Class three address 1 92 A Dash 16 on this address would be doing some netting, which we'll talk about in our next module. But if we were using our standard Class three our Class C sub net mask
for 1 92.1 68 at 1 15
we would just be putting our Dash 24
and a Dash 24. If you understand cider notation, you say OK, 24 is an increment of 88 16 24 that equals 22 55.2 55.2 55.0.
And the more you work with cider notation, the more you work with networks and I p addresses, and sudden it masks, the more you'll come to identify those. So you see the Dash 12 and
this. Because this may have been the first time you've looked at it, you had to do the math. You had to break it down into your chart and say, OK, that means that means to 55 to 40.0 But after you see dash 12 20 different times,
then you immediately *** dash 12. That's 2 55 to 40.0 dot zero,
and you save yourself some writing by just writing it. Outsider notation.
cider notation we need to understand, because we're in Network Plus and we're working with networking, working with I P addressing, and it's very critical to understand how cider notation works, especially moving on into submitting