Different classes of IPv4 Addresses

12 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€96.05
List Price:  €134.47
You save:  €38.42
£78.28
List Price:  £109.60
You save:  £31.31
CA$143.28
List Price:  CA$200.59
You save:  CA$57.31
A$160.13
List Price:  A$224.20
You save:  A$64.06
S$135.03
List Price:  S$189.05
You save:  S$54.02
HK$777
List Price:  HK$1,087.84
You save:  HK$310.83
CHF 88.49
List Price:  CHF 123.89
You save:  CHF 35.40
NOK kr1,126.80
List Price:  NOK kr1,577.57
You save:  NOK kr450.76
DKK kr717.22
List Price:  DKK kr1,004.14
You save:  DKK kr286.92
NZ$176.87
List Price:  NZ$247.63
You save:  NZ$70.75
د.إ367.26
List Price:  د.إ514.17
You save:  د.إ146.91
৳11,929.84
List Price:  ৳16,702.26
You save:  ৳4,772.41
₹8,538.94
List Price:  ₹11,954.85
You save:  ₹3,415.91
RM448.65
List Price:  RM628.13
You save:  RM179.48
₦154,544.52
List Price:  ₦216,368.52
You save:  ₦61,823.99
₨27,792.76
List Price:  ₨38,910.97
You save:  ₨11,118.21
฿3,416.65
List Price:  ฿4,783.45
You save:  ฿1,366.80
₺3,519.17
List Price:  ₺4,926.99
You save:  ₺1,407.81
B$637.56
List Price:  B$892.61
You save:  B$255.05
R1,874.85
List Price:  R2,624.87
You save:  R750.01
Лв188
List Price:  Лв263.20
You save:  Лв75.20
₩145,711.39
List Price:  ₩204,001.77
You save:  ₩58,290.38
₪364.90
List Price:  ₪510.87
You save:  ₪145.97
₱5,865.41
List Price:  ₱8,211.81
You save:  ₱2,346.40
¥15,715.92
List Price:  ¥22,002.92
You save:  ¥6,286.99
MX$2,016.21
List Price:  MX$2,822.78
You save:  MX$806.56
QR363.08
List Price:  QR508.32
You save:  QR145.24
P1,386.50
List Price:  P1,941.15
You save:  P554.65
KSh12,902.70
List Price:  KSh18,064.30
You save:  KSh5,161.60
E£5,082.90
List Price:  E£7,116.27
You save:  E£2,033.36
ብር12,710.92
List Price:  ብር17,795.80
You save:  ብር5,084.87
Kz91,190.88
List Price:  Kz127,670.88
You save:  Kz36,480
CLP$98,919.10
List Price:  CLP$138,490.70
You save:  CLP$39,571.60
CN¥729.82
List Price:  CN¥1,021.78
You save:  CN¥291.96
RD$6,081.12
List Price:  RD$8,513.82
You save:  RD$2,432.69
DA13,508.78
List Price:  DA18,912.83
You save:  DA5,404.05
FJ$231.84
List Price:  FJ$324.58
You save:  FJ$92.74
Q768.97
List Price:  Q1,076.59
You save:  Q307.62
GY$20,886.35
List Price:  GY$29,241.72
You save:  GY$8,355.37
ISK kr13,953.60
List Price:  ISK kr19,535.60
You save:  ISK kr5,582
DH1,006.73
List Price:  DH1,409.47
You save:  DH402.73
L1,841.91
List Price:  L2,578.75
You save:  L736.83
ден5,908.74
List Price:  ден8,272.47
You save:  ден2,363.73
MOP$798.63
List Price:  MOP$1,118.11
You save:  MOP$319.48
N$1,856.28
List Price:  N$2,598.86
You save:  N$742.58
C$3,673.45
List Price:  C$5,142.98
You save:  C$1,469.52
रु13,596.38
List Price:  रु19,035.48
You save:  रु5,439.09
S/371.74
List Price:  S/520.45
You save:  S/148.71
K405.18
List Price:  K567.27
You save:  K162.09
SAR375.47
List Price:  SAR525.68
You save:  SAR150.20
ZK2,762.82
List Price:  ZK3,868.06
You save:  ZK1,105.23
L478.38
List Price:  L669.75
You save:  L191.37
Kč2,417.95
List Price:  Kč3,385.23
You save:  Kč967.27
Ft39,478.73
List Price:  Ft55,271.81
You save:  Ft15,793.07
SEK kr1,088.11
List Price:  SEK kr1,523.40
You save:  SEK kr435.29
ARS$102,698.50
List Price:  ARS$143,782.01
You save:  ARS$41,083.50
Bs689.84
List Price:  Bs965.80
You save:  Bs275.96
COP$441,236.66
List Price:  COP$617,748.98
You save:  COP$176,512.31
₡50,688.88
List Price:  ₡70,966.47
You save:  ₡20,277.58
L2,536.46
List Price:  L3,551.14
You save:  L1,014.68
₲778,577.57
List Price:  ₲1,090,039.75
You save:  ₲311,462.17
$U4,443.67
List Price:  $U6,221.32
You save:  $U1,777.64
zł409.39
List Price:  zł573.17
You save:  zł163.77
Already have an account? Log In

Transcript

Alrighty, so many different classes of ipv4 addresses, right? You have an idea already, how to solve it, right? We had that host address, the subnet mask. And then we figured out the range. So we know more or less that concept of drawing the line or have you finding what we increment buys, we can figure out where do you Hey, where do you fall in what range what network, which broadcasts, right? So here, it was easy, because it was classy.

Here, you want to have a class A, this will be your starting point. And then we'll do the same thing for all them, but just on different classes. Okay, we need 3000 hosts for mass with us. That's a legit question. You can see on exam, you can send an interview. And what's really cool though, you'll go Oh, you need how many 300,000 house Okay.

Oh yeah, you need this helmet. You need this mess. You blow their mind. Okay, because that's seriously, I'm serious. It's not serious. You can do this in your fingers.

I am not kidding. Okay? I'll be going on the interview, just write it down. We'll make him feel that bad. All right, because then they won't hire you because you don't wanna. Ah, then we're gonna do a Class B, or you need 400 host.

That's easier to count to the six by 12. Done. Go 23 Well, see how quick that's how you got to be. That's how you got to be. There's got to be a bit value in your mind right there. Yeah, just forget about the ruler.

You gotta have a bit value thing. 128 6432 60 you gotta have it. And also you can find you can find these addresses. Okay, quick, quick, quick, quick. classy. Really?

30 Host watch. I said fingers. I waited for the last one because I know it's alright. 248 1632 as soon as 30, there's 35. I'm five bits that are off three bits that are on the 27 for two to four. I know that bit table, but it doesn't.

You see? That's it. That's how I want you to get. I know you guys can do that. I know, I know. We have calculators out there, but believe me, a real world scenario.

You guys have spreadsheets, but and they're writing things down and they have calculators and all that, but it's so easy to just do it. You know, I can see you're doing ipv6. Yeah, man. There's so many freaking numbers in that thing. Okay. But for ipv4, come on.

Alright, so anyway, let's stop talking. Let's go ahead and figure these questions out CSI. Alrighty, welcome back. So now like I said, we're going to do different classes, or IP addresses, right. So we're inside the lab. Now we've talked about this a little bit.

So again, we got to follow the concepts that we learned in the previous lecture. Okay? So okay, we have a class A address here says 1016 is our starting point, right are 1016 00 12 you need 3000 holes, what mass would you use? Okay. So let's break this down into binary. Well, we know the X has eight bits in there.

So that's completely on, right? Because what is this, we learned that in conversions, to five, five, right, that's a bit, we need four more bits, right? For 12 910 1112. Okay, so that's 249 00. Okay. That's what that 12 represents.

Okay, so that means that we're working on the second octet, and we have 1234 bits on and we're going to draw a line right there. Okay. And then we have the other bits are off 1234 dot 12341234. That was 12341234 All right, so there are four octets, right one, octet, two octets, three and four. Okay? But we're focusing on the second octet.

Now remember your bid values and said no, here's we got some space one. Now, one 148 6432 16 a four to one, right? So 128 so we got 120 864 3216. Haha 16. Okay, we're incrementing by 16. Okay, and Okay, big deal.

What's the question? You need 3000 hosts? Oh, okay. Well, we have a lot more than 3000 hosts here, don't we? So right here we are cs 5136. So I'm actually gonna keep calling this way.

So it's okay, we need me 3000 holds Let's count by two and double as you go. from right to left 248 1632 64 128 256-512-1024 2048 wall comes after 2048 was a 24 841 8641 96. So we need to be there is rolling there. So our new mask, if that's what they're asking what mask would you use? Okay? The mask that I would use is 255 dot 255 because all that octet is on, none the third octet I have five bits on and five minutes on is what to 48 oops.

Zero. Did you see what I did? Okay, let's, let's go over again. This is my starting point right here. Okay, I just broke it into binary just to see whether I was okay. The question though, the question, I need 3000 hosts, you know, you got more than that with this mask that they're giving us.

Okay? So we start counting from right to left. So you know, you got to here was 256-512-1024 2048 and then we have 4192. Okay, so that's where we draw the line. Okay. And this would be the mass.

Now you would use this for your answer. caps. Okay, that will be the answer that would that you use. Okay. That's as simple as that. It's all it is doesn't matter.

They don't go insane. Answer the question, they'll start doing all sorts of craziness, will will have these many holes and then have these mini networks and the wall mass will be this and bla bla. No, no, no, no, no, no, no, they're not asking for none of that all they're asking you is it using this particular? These particular numbers, this IP address? What mass would you use? Okay, we'll use this mass.

All right, cool. Let's say you've answered the question. Let's go to a class B and A Class B. Okay, so once I do 2016, same thing. Oh, now we have x dot x. All right, that's where you have the default Class B there so 1-234-567-8123 45678.

So as many 400 holes, well, we know this is 256 right here, we just counted it. We're going one by 12. Well, there you go. That's really awareness. I counted by twos right to four 816 32 641 128 256 512 I have plenty, plenty but for answering the question, plenty. So what will be your new math?

The new mass will be 255 dot 2552254 dot zero. Because you're right there you're in the third octet, right in the third octet. that will be the answer. I can spell answer all right, simple answer the question. Okay. So here we go.

We got an Allen says you have a classy Oh, cool. All right. So x x x 12345678. Okay, but in 30 holes, okay to four 816 32 For certification or answering some professors question, this would be what you would use in a real scenario. If you have 30 host don't use this math. Obviously, you would use like the default Class II or something, because you always want to leave room to grow.

Okay? But in a test, you answer exactly what they want. So 30 holes, well, there you go. Yeah. 30 hosts Exactly. 248 1632 minus two is 30 exactly what they need.

Okay. What is my new mask? 255255255 dot two to four. That's that table. That's that table that I told you. We need to remember.

Okay, you need to know this is why it comes in handy. All right, this might come in handy. But again, once you have this line, what's your income in right here? 32 That's the big value was your increment right here, too. So we increment by two. Okay?

So we can grow by two all the way down. So we get to 254. Because guess what these numbers right here. This is the last network. This is the last network. So you will need to increment by whatever it is like in this case, here.

What would it be? Well, this is 120 864 3216 and an eight. So you increment by eight to get to 248. Okay, this is where multiplying comes in handy, right? That's all there is. You see the magical line gives you everything.

That's what they're calling it now. All right, that's what it gives you everything. All right. This will tell you how many networks you have available. This will tell you how many hosts you have available. Okay, and it gives you a whole bunch of other stuff too.

But again, well, you'll see it when we get there. But you see different classes of addresses. Just make sure that you are working in the octet. You need to be in. And don't forget, you have other artists meaning if you're in the second octet, your third and fourth, I mean the third octet, you have a fourth, if you're in the first octet, and that's just being a jerk, giving you a question like that, you have to do second, third and fourth octet. Okay.

But again, straightforward questions like this, you won't see I'll probably give example, towards the end of the section, that of more likely what you will see, okay, now what you will see but something similar, that will disguise an actual question is really an IP question. That's what they're testing your skills on. Okay, so that's it. We saw similar errors. Again, it's in the book in my book, the IP book on Amazon. Because the other books really, they take more of a mathematical approach where you need six whiteboards, annual 20 different talks, to figure it out.

No, no, you got 10 fingers. That's two extra. All you have is a bit you can figure it out. All right, I'll see you in the next One

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.