1 00:00:00,000 --> 00:00:00,500 2 00:00:00,500 --> 00:00:02,360 Let's do one more exercise. 3 00:00:02,360 --> 00:00:04,580 Let's go ahead and change the Mask. 4 00:00:04,580 --> 00:00:10,500 We're going to make it 255.0.0.0 for our new Mask. 5 00:00:10,500 --> 00:00:12,830 So this is going to be a zero and a zero, 6 00:00:12,830 --> 00:00:16,260 and we're going to have all these zeroed out here as well. 7 00:00:16,260 --> 00:00:19,160 So now if this is what our computer showed us, 8 00:00:19,160 --> 00:00:23,120 now my question is what is the actual network address 9 00:00:23,120 --> 00:00:24,980 that this computer is on? 10 00:00:24,980 --> 00:00:26,340 How many bits is it? 11 00:00:26,340 --> 00:00:27,440 How long is it? 12 00:00:27,440 --> 00:00:30,500 And how many host bits are available? 13 00:00:30,500 --> 00:00:33,570 So go ahead and pause, make your decisions, 14 00:00:33,570 --> 00:00:36,189 and then let's compare notes after you resume. 15 00:00:36,189 --> 00:00:39,003 [MUSIC PLAYING] 16 00:00:39,003 --> 00:00:40,880 17 00:00:40,880 --> 00:00:42,510 Thanks for taking a moment to do that. 18 00:00:42,510 --> 00:00:44,510 So here's one way we can approach this. 19 00:00:44,510 --> 00:00:46,300 We simply look at the Mask first. 20 00:00:46,300 --> 00:00:48,770 That's the very first clue, and we're going to say, OK. 21 00:00:48,770 --> 00:00:50,900 This Mask says that the first eight 22 00:00:50,900 --> 00:00:52,820 bits are being used for the network, 23 00:00:52,820 --> 00:00:55,040 and if all the rest of the bits are zeros, 24 00:00:55,040 --> 00:00:56,360 that's the dividing line. 25 00:00:56,360 --> 00:00:59,570 And the cool thing is about a Mask, it won't jump. 26 00:00:59,570 --> 00:01:03,340 This network Mask or subnet Mask doesn't jump. 27 00:01:03,340 --> 00:01:07,740 They're going to be contiguous bits moving from left to right. 28 00:01:07,740 --> 00:01:11,360 So a Mask will never say 110111. 29 00:01:11,360 --> 00:01:12,980 It's going to be contiguous. 30 00:01:12,980 --> 00:01:15,140 So because the dividing line is right here, 31 00:01:15,140 --> 00:01:17,630 our very first octet is the network. 32 00:01:17,630 --> 00:01:20,690 Everything after that is zeroed out from the network address 33 00:01:20,690 --> 00:01:21,740 perspective. 34 00:01:21,740 --> 00:01:23,720 And that's eight, because it's the first 8 35 00:01:23,720 --> 00:01:25,730 bits representing the network. 36 00:01:25,730 --> 00:01:29,360 And now we have the remaining 24 bits 37 00:01:29,360 --> 00:01:32,810 of that IP address, which are now representing 38 00:01:32,810 --> 00:01:35,990 host addresses on network 192. 39 00:01:35,990 --> 00:01:39,420 So let's do one more example to help reinforce the concept. 40 00:01:39,420 --> 00:01:41,960 Let's say we have a Macintosh or a Linux 41 00:01:41,960 --> 00:01:44,320 or a Windows box sitting on a network, 42 00:01:44,320 --> 00:01:46,010 and it's a happy, happy computer. 43 00:01:46,010 --> 00:01:47,510 You want to know why it's so happy? 44 00:01:47,510 --> 00:01:49,220 Because it's got an IP address. 45 00:01:49,220 --> 00:01:54,650 It's got the IP address of 10.25.3.99. 46 00:01:54,650 --> 00:01:57,410 That's its IP address, and guess what it also has? 47 00:01:57,410 --> 00:01:58,550 It also has a Mask. 48 00:01:58,550 --> 00:02:05,330 That Mask in decimal is 255.255.0.0. 49 00:02:05,330 --> 00:02:08,270 What I would love for you to do right now is tell me 50 00:02:08,270 --> 00:02:12,500 what is the actual network that this computer is sitting on? 51 00:02:12,500 --> 00:02:16,940 What is the host address for this computer? 52 00:02:16,940 --> 00:02:20,630 And what is the number of bits that 53 00:02:20,630 --> 00:02:24,230 are currently being used by that network for network addressing? 54 00:02:24,230 --> 00:02:27,560 And how many bits are left over for host 55 00:02:27,560 --> 00:02:29,370 addressing on that network? 56 00:02:29,370 --> 00:02:30,260 So take a moment. 57 00:02:30,260 --> 00:02:31,970 Go ahead and pause me right now. 58 00:02:31,970 --> 00:02:33,720 Take as much time as you need. 59 00:02:33,720 --> 00:02:37,010 And once you've calculated what the actual network address is 60 00:02:37,010 --> 00:02:40,040 that this computer is sitting on, go ahead and resume me 61 00:02:40,040 --> 00:02:43,260 and then we'll compare notes. 62 00:02:43,260 --> 00:02:43,800 Awesome. 63 00:02:43,800 --> 00:02:44,740 Welcome back. 64 00:02:44,740 --> 00:02:47,880 So in this example of 10.25.3.99, 65 00:02:47,880 --> 00:02:49,860 the very first thing we're going to look at 66 00:02:49,860 --> 00:02:52,000 isn't the IP address at all. 67 00:02:52,000 --> 00:02:54,570 It's the Mask, because the Mask is controlling 68 00:02:54,570 --> 00:02:57,270 which portion of that IP address is the network 69 00:02:57,270 --> 00:02:59,820 and which portion is available for host addresses. 70 00:02:59,820 --> 00:03:01,750 And the Mask is saying, I'm consuming-- 71 00:03:01,750 --> 00:03:02,800 I'll use green for this-- 72 00:03:02,800 --> 00:03:05,290 I am consuming the first octet for network. 73 00:03:05,290 --> 00:03:08,490 So we know that the 10 is part of the network address 74 00:03:08,490 --> 00:03:10,080 that the computer is sitting on. 75 00:03:10,080 --> 00:03:13,740 We also know based on the Mask that this second octet is also 76 00:03:13,740 --> 00:03:16,530 consumed and being allocated for the purpose of network 77 00:03:16,530 --> 00:03:18,330 addressing, and that's it. 78 00:03:18,330 --> 00:03:21,490 The third and fourth octet, the Mask isn't taking anything. 79 00:03:21,490 --> 00:03:23,760 So we can draw our dividing line right there. 80 00:03:23,760 --> 00:03:27,540 This computer is sitting on network 10.25. 81 00:03:27,540 --> 00:03:29,280 And then we simply zero out the bits 82 00:03:29,280 --> 00:03:31,050 that host addresses are going to have, 83 00:03:31,050 --> 00:03:33,700 0.0 as we describe the network. 84 00:03:33,700 --> 00:03:37,080 And that is a total of 8 bits here and 8 bits here, 85 00:03:37,080 --> 00:03:41,460 a total of 16 bits being used for the network address. 86 00:03:41,460 --> 00:03:45,510 Now that also implies that we have 16 bits left over that 87 00:03:45,510 --> 00:03:48,390 are not being used for the network address portion 88 00:03:48,390 --> 00:03:50,820 that we can then use for individual host 89 00:03:50,820 --> 00:03:52,840 assignments on that network. 90 00:03:52,840 --> 00:03:57,330 So this computer with the IP address of 10.25.3.99, 91 00:03:57,330 --> 00:03:59,970 the first two numbers are the actual network right here, 92 00:03:59,970 --> 00:04:05,310 and the last two numbers of 3.99 represent the actual host 93 00:04:05,310 --> 00:04:08,550 portion or this guy's unique identifier 94 00:04:08,550 --> 00:04:11,420 on that network regarding IP addressing. 95 00:04:11,420 --> 00:04:13,020 And as we mentioned there are 16 bits 96 00:04:13,020 --> 00:04:15,480 being used for the network, and there's also 16 bits 97 00:04:15,480 --> 00:04:18,839 available for host addressing. 98 00:04:18,839 --> 00:04:21,029 I hope this has been informative for you, 99 00:04:21,029 --> 00:04:23,346 and I'd like to thank you for viewing. 100 00:04:23,346 --> 00:04:23,845