1 00:00:04,960 --> 00:00:10,590 In this video, we're going to discuss binary. Binary is a fundamental building block in networks today. 2 00:00:10,600 --> 00:00:14,560 You need to understand binary if you want to be able to work with networks. 3 00:00:14,590 --> 00:00:16,329 It's used in multiple places. 4 00:00:16,700 --> 00:00:19,300 Now, don't worry if you don't know what this means. 5 00:00:19,330 --> 00:00:20,860 We'll explain it later in the course. 6 00:00:21,160 --> 00:00:26,260 But just be aware that you need to know binary to work with access lists or access control lists that 7 00:00:26,260 --> 00:00:29,530 allow you to permit or deny traffic based on an IP address. 8 00:00:29,860 --> 00:00:36,520 When you configure devices in your network with various IP addresses, you may want to permit one device 9 00:00:36,520 --> 00:00:42,400 to talk to another device, but then deny a third device from talking to that second device. 10 00:00:42,700 --> 00:00:48,220 Now, to do that, you permit or deny traffic based on a IP address, whether that's a source IP address 11 00:00:48,220 --> 00:00:49,660 or a destination IP address. 12 00:00:50,440 --> 00:00:56,890 You're going to match specific IP addresses based on a binary representation. 13 00:00:57,580 --> 00:01:02,020 Computers, networking devices and machines use binary. 14 00:01:02,320 --> 00:01:03,850 That's what they understand. 15 00:01:04,180 --> 00:01:07,610 We may use English or another language to communicate. 16 00:01:07,900 --> 00:01:09,400 But machines use binary. 17 00:01:09,700 --> 00:01:15,130 And for you to implement things like access control lists in a network or something like a subnet mask. 18 00:01:15,190 --> 00:01:19,990 So determining what a subnet mask is for a specific network, you need to understand binary. 19 00:01:20,350 --> 00:01:23,200 So make sure that you don't skip this section. 20 00:01:23,230 --> 00:01:25,720 If you don't know the answer to this question. 21 00:01:26,470 --> 00:01:28,620 I've seen this printed on many t shirts. 22 00:01:28,720 --> 00:01:32,740 So if you don't know the answer to this question, then don't skip this section. 23 00:01:33,310 --> 00:01:39,250 There are only one zero types of people in the world, those that understand binary and those that don't. 24 00:01:40,000 --> 00:01:41,200 How would you read that? 25 00:01:41,290 --> 00:01:45,300 Would you read that number as 1 0 as in 10? 26 00:01:45,400 --> 00:01:48,910 Or would you read it as two if you understand this joke? 27 00:01:49,000 --> 00:01:54,760 You probably want to skip this video, the section and go to the next section, but make sure that you 28 00:01:54,760 --> 00:01:58,680 know how to convert IP addresses as in dotted decimal 29 00:01:58,720 --> 00:01:59,980 IP addresses to binary. 30 00:02:00,430 --> 00:02:03,010 If you're not sure what I'm talking about, you don't understand this joke. 31 00:02:03,040 --> 00:02:07,240 Don't worry that 1 0 means two in binary. 32 00:02:07,510 --> 00:02:12,640 So the joke is there are only two types of people in the world, those that understand binary and those 33 00:02:12,640 --> 00:02:13,090 that don't. 34 00:02:13,570 --> 00:02:14,510 If you didn't get the joke. 35 00:02:14,530 --> 00:02:15,070 Don't worry. 36 00:02:15,100 --> 00:02:20,590 By the end of this video, you'll understand this joke and understand where the 1 0 comes from. 37 00:02:21,100 --> 00:02:27,400 Now, as an analogy, to help us understand binary, let's use the analogy of electricity, because 38 00:02:27,610 --> 00:02:33,460 computers, let's be honest, they have chips in them routers and switches, have specific types of 39 00:02:33,460 --> 00:02:37,150 chips known as ASICs or Application Specific Integrated Circuits 40 00:02:37,570 --> 00:02:38,920 It's basically a circuit. 41 00:02:39,160 --> 00:02:42,100 So computers have circuits and they run on electricity. 42 00:02:42,730 --> 00:02:43,540 In electricity. 43 00:02:43,540 --> 00:02:44,980 We either have two states. 44 00:02:45,070 --> 00:02:50,170 Something is on as in this current or power to the device or it's off. 45 00:02:51,010 --> 00:02:56,530 So as an analogy, notice that big like there, that's an old antique lamp. 46 00:02:56,800 --> 00:02:59,460 But I've put a hue bulb in that lamp. 47 00:03:00,040 --> 00:03:01,810 So that's on. 48 00:03:03,120 --> 00:03:05,150 That's off no power. 49 00:03:06,970 --> 00:03:08,440 On those power. 50 00:03:10,250 --> 00:03:12,140 That's of no power. 51 00:03:14,010 --> 00:03:15,840 That's on, on means 52 00:03:15,870 --> 00:03:24,840 current is applied, off means current is removed, so a computer basically only has two states, current 53 00:03:24,990 --> 00:03:27,110 or no current, on a circuit that 54 00:03:27,360 --> 00:03:29,010 however, let me turn that back on again. 55 00:03:29,430 --> 00:03:31,650 That, however, gives us two states. 56 00:03:31,710 --> 00:03:34,320 So one cable gives us two states. 57 00:03:34,860 --> 00:03:35,820 So remember this. 58 00:03:36,270 --> 00:03:41,190 All computers function by using a system of switches that can either be on or off. 59 00:03:41,670 --> 00:03:42,960 Off equals 0. 60 00:03:43,350 --> 00:03:47,520 On equals 1 are binary values or either 0 or 1. 61 00:03:47,820 --> 00:03:49,380 So once again, our analogy. 62 00:03:49,590 --> 00:03:50,370 That's 1. 63 00:03:50,820 --> 00:03:53,940 That's 0. 1 0 64 00:03:54,480 --> 00:03:55,920 I won't bore you too much during that. 65 00:03:56,190 --> 00:04:01,430 The moral of the story is make sure you understand that binary consists of two states or two values. 66 00:04:01,470 --> 00:04:02,180 0 1 67 00:04:02,730 --> 00:04:06,630 That becomes really important now as we scale this analogy.