Alright, guys that's the lap. Time again as I, promised, to you I'm going to show you how we calculate, the network. IDs and how. We can find the first. And last IP addresses, that we can use, in network on the, wet board right now all right. I'm. Gonna make you an example. We. Have an IP address and, we, are gonna make our. Subnet. Mask - and that's, our some mask. Alright. As you can see that we have our. IP. Address and, subnet. Mask right now and the. Question is what, is our. Network. ID and. What's. The. First. And. Last. IP addresses. That I can use in this network. All right guys let's take a look to the how, we can accomplish this goal but, first. We, need to, remind. Something. Please. Reminder. Please, remember that, when. We are talking in the slides we told you that I told you that you. Need to. Logically. And. Your. IP. Address, with, your subnet. Mask. To. Get the. Network. ID, all. Right what, is logical and, as. You. Remember from our slides again, logical. And is, a process. What. You kill and is, just. One. For. The situation. That. Four, bits, are. Both. One. If. We're using both, one, and one, our. Logical, end result, will be one. On. The other scenarios. We, are not gonna have one we are gonna have. Whoops. I need two in here we. Are gonna have zero. Alright, let's, take a look to the mind IP address and subnet mask now and I'm. Gonna logically. End them and I'm, gonna get the. My. Network ID, for this idea, this while, using this. Semanas. Alright let's. Take a look to the whiteboard. Last, time I'm cleaning, it alright, cleaning, time. Okay. Guys. Is. Now, okay, I'm. Writing, my. IP. Address, now. 1041. 20. And. 25. It was like, that alright as you can see that we, have four. Portions in, our IP address. First. Second. Third and fourth, portions, as you, can see that we have in our i caress as you. Can see that our. IP address is in decimal. Format but, actually, it's, net. Okay. That's, for. Providing. Easily. Reading. But. Actually, our IP, address will. Be in, binary. Format. Which. Means binary, format is we. Just can use two, numbers they are 1. And 0. Just. Okay. As you, know that IP address, is. 32. Bits. We. Have taught this in our slides. And, as, you can see that we have four portions. Which. Means each portion gonna be eight, bits. All right, 8 bit means, 8, 0. Or, 8, ones. Each. Field. Going. To be 8. Bits. Ok. Let's. Calculate. The. Finer, format, of test. Numbers right, now okay. What I'm gonna do, is I'm gonna, calculate the, one, year format of 10:41. 20. And 2 and 5 by. Using 1. And, zeros. Okay, what. I'm gonna do is for simplicity. I'm. Gonna, write the powers. Of 2. Which. I'm using calculating. The binary. Format. Oh I, to. The power 0. 2. To the power 1, 2. To the power 2, 2. To the power 3. 4. 5. Until. 7, I'm writing this okay, why, aren't ill so my man come. On, we're.
Writing Until. 7. Because. Each. Portion. Consists. Of 8, bits, and I'm. Beginning, from 0 and I'm, gonna, end with this 7, which, means 1, 2 3 4 5 6 7 and 8. As you can see all, right, let's, calculate this 2. To the power 0, is 1. 2. To the power 1 is. 2. That's. 4, and. I'm. Writing the, oops. That's, going to be 8. 16. All. Right, I wrote. The powers, of two. To. Calculate, the. Binary. Value. Okay. Let's, do, a, calculation, now. As. You. Can remember what I said is I'm gonna use just, 0 and 1 and I. Need to get these. Numbers. I need to get term, first let's. Look. At how I can get the, 10, from, here. I'm. Gonna, use these numbers let. Me clean here you. Know how to calculate. This, anymore. Okay. How. I can, get. 10. Using. These, numbers, together. Okay. I'm, gonna add them, together add some, of them together and I, need to 1, 2010. Okay. To. Get 10, from here I. Can. Use. 8. &, 2. If, I, add 8, to 2 that's. Going to be 10, alright and. I'm. Making. One. To, the fields. That I use, -, okay. This. Is gonna be 1. This. Is gonna be 1 and. The. Other, portions. Gotta be, 0. 0 0. 0. 0. 0 and, 0. All. Right as, you. Can see that 8, plus. 2, is 10. And. This. Is the. Binary. Format, of 10. That's so easy as you can see let's, go I'm, writing this, zero zero zero zero one, zero one zero. All. Right, that's. My tent. Let. Me clean my tan. And. I. Need, to get the. 41. Now. How. We can get the 41 from here. It's. Again. So. Easy all. Right, let's. Choose. 32. And. 16. Okay. 32. Plus. 16. This is gonna be mmm. This is gonna be 48. Which. Is bigger, than our number, all. Right which. Means that I shouldn't. Use. This. Or this. Okay. How can I get easily. 241. Is if. I use. 32. 8. And. 1. What. Will it. Be, it's. Gonna be 41. Right. 1. Plus. 8, plus. 32. Is 41. Let's. Write it again all right, I'm writing, it. Zero. Zero bones you, do wrong, zero, zero, one. That's 41, great, and. Cleaning. And, I. Need. To. Any new. Let's. Take a look to the 20 now 20. Will. Be. Let's. Take a look to the and, it, what if I make these, portions. One let's. Calculate. 12. 14. 15. Not. A note if, I add this one to the. End. Result will be this time 31. Which. Bigger, than 20. Let's. Take a look to the, what. If I make. Here. Zero. And disguiser. 1/16, for one that. Means oh. No. It's, gonna be zero - I, thought. That it's we're calculating. 21. Okay 16. For. What's. The result 20. That's, so cool. Okay. I'm, gonna, use zero on the other fields. All. Right. Let's. Take a look to the, our. End, without now 0, 0 0 1 0. 0. 0 1 0. 1. 0. 0. 0, 1. 0 0. Okay. Clean. It and. We're 25. And that's gonna be, this. Test. Not. Test test. Test test. The. Less gonna be 0. You. Can calculate. Okay. You can add this together and check. If I'm doing right, or wrong all. Right I'm. Saying, that that's gonna be 0. 0 0 1 and 1. 0. 0. 1. All. Right let's, clean it. This. Is. My. Binary. Format. Of my. IPRs, alright, let's. Take. A look to the, my. Subnet mask if. You, remember my subnet mask is 2. 4 5 2 5 5 2, 5 and 0 and I'm. Saying that I'm. Gonna, use. 24. 1. Bits in my summer mask and 8, 0. Of it's okay. If. You. If. You add all these numbers. To. Each other. You're, gonna get the. 255. Which is the highest number that you can use, in the final, format, all right. Okay. Two, five five two five two five five zero will, be and, saying. That my. Subnet, mask. My. Southern mass wider, format gonna be like. This. Yeah. And. What. About the third. Portion, for. Portion, this, is going to be full zero okay. The. Zero means. We. Have a bit. Of. Zero. All. Right, I'm clearing. You do. Okay. This. Is. The action time right now I am. Logically. In my IP, and, subnet. Mask, and, remember. That and will. Be just, one, when. It's, for. Both. One. Okay, if I'm using just one, on one my, ends of the BD one but, on the other scenarios, it's not gonna be one it's gonna be zero. I can, use just two numbers in the binary, format, there, one, and zero. All right. I'm. Ending, 0 and 1 the. End result, will be. 0. As I said 0. And. 1. Second. It. It's. 0 2 0, 0. Oh. Caution. That is, one, on one what's. Gonna be the end result that's gonna be one okay.
One. Zero. Pay. Attention, that that's gonna be one to, one. And. Zero. All. Right, I got. My. Number. Please. Pay attention that. If. I'm, ending. A number. If I'm using logical. End. With. 1, 1 1 1 1 with who won 8, bits. Will. Be 1 I'm. Getting. The, same. Result. With. My. Pets. Ok I got, 0. 0 0 0 0, 0 0 0 & 1 0. 1. 0 that's, the same thing, as. You. Can see that the binary format, of 10 which. I got in here, ok. Let's. Take a look to the second portion that's, who, won again and I'm. Gonna write this. Portion. But. If you don't write, it directly, you, can calculate you know how to calculate okay the. Logic. Behind this is logical. And process. Just alright. I'm writing. 0. 0 1 0 1 0 0, 1. That's. The same thing with the forty-ones. Binary. Format, let's. Take a look at it third. Portion that's, gonna be the. Same. Again because that's cool, one, alright. I'm taking, a look. And writing, it. 0. 0 0 1 and 0 1 0, 0. Alright. Let's. Take a look to the last, portion what's, gonna be the. Last portion. The. Last portion gonna, be whoo 0. Ok. Because. If. We, need. To. Check you. Don't have any one. We. Have whole 0 we. Just need, at least one. One. Bit, to. Have, warm, from the logical, and process, and because. Of that that's gonna be zero. Alright, zero. Zero zero zero zero zero, zero and. Zero. All, right I got. My network. Idea, right naturally this, is my network ID I. Need. To convert, this one, to, the decimal. Format right now as you, can see that I. Have. Four portions again, the, first portion is zero zero zero zero one, zero one zero guys. You. Can. Write. The, powers, of two and calculate. The, decimal. Format of this one again but, please, keep in mind that please check 0. 0 0 0 1 0 1 0, 0. 0 0. 0 1, 0 1, oh my god they are the same valleys ok, as, you. Can see that please, pay attention if, you are. Using. The, 1, Momo Momo Momo movement. With, your subnet. Mask. If. You are logically. Ending. Your. IP address with who, once you. Get the same bully. Okay. That's. 10. And this, one is, 41. This one is, 20. What, about this, what. About the last one, the. Last one gonna be. 0. All. Right. Here. Is my network, ID. 1041. 20, is 0. Co. I'm. Cleaning. My bar. This. Is my network. ID. Okay. But. What, I need to show you is. The. First. IP. Address, that I can use in this network the. Last IP address that I can use and the, broadcasts. All right all. Right, my. Subnet mask, is. 255. 255. 255. Dot. 0. Okay, all. Right, and. We. Have a formula for this the, formula, is. To. The power and. Decrement, by 2, that. Gives, us the total. IP, address, space that, I can use, in, this network for, this. Subnet. Mask okay. So. What, is M stands. For M. Is. The total. Zero. Bits in my subnet. Mask, so. In. My subnet mask I have. Totally. Eight. Zero. Bits, right. Please. Keep in mind that IP, address, and subnet mask are. 32. Bits and they're. In. For, portion, and each. Portion, has. 8, bits so. I'm totally, have 8 zeros. For the scenario so. 2. To the power 8. And. 254. Is, the. End result. That means. I can use, 254. IP addresses. In this, network, ID with this, subnet. Mask, pretty. Cool so. What's, the first IP address, the, first IP address is I'm. Incrementing. The, IP. Network. ID by. 1 ok that's the first IP. Address, that we can use. 20. To. 1 that's. The first, I Pallister. Weekends. If. I can totally. 254. My. Last IP address will be. 20. That. 254. Right. I'm. Starting, with one finishing. With. 254. And that's going to be totally. 254. IP addresses, all, right pretty cool. The. Last thing I'm going to talk about is the broadcast. IP, broadcast. Address, is. To. Find the broadcast, IP address I'm, incrementing. The, last, IP address what. Okay. That, means my broadcast. Will. Be. 20. That. 255. If. I want to use a. Broadcast. If I want to send, a packet to everybody. In my work, in, this network ID I should. Use this. IP, address, that's. The. Broadcast. This. One is last. One, this. Is the first IP. Address, that. I'm using. For.
2020-06-16