1 00:00:05,140 --> 00:00:10,510 You need to know the difference between an ad hoc mode, wireless network and an infrastructure mode 2 00:00:10,510 --> 00:00:11,650 wireless network. 3 00:00:11,650 --> 00:00:16,930 In ad hoc mode, we have two devices as an example that talk directly to each other. 4 00:00:17,050 --> 00:00:23,350 So in this example, I've got two Windows laptops and I'm going to show you how to set them up using 5 00:00:23,350 --> 00:00:29,380 ad hoc mode so that we can set them up to talk to each other directly without an access point. 6 00:00:29,830 --> 00:00:35,800 Typically these days we use infrastructure mode where we have a wireless access point or wireless router, 7 00:00:35,800 --> 00:00:40,450 and communication from device to device is via the access point. 8 00:00:40,450 --> 00:00:42,970 So they don't talk directly to each other. 9 00:00:42,970 --> 00:00:47,050 They talk to each other through or via the access point. 10 00:00:47,290 --> 00:00:47,590 Okay. 11 00:00:47,590 --> 00:00:49,780 A little bit of theory by design. 12 00:00:49,780 --> 00:00:52,120 ADA 2.11 Networks of Flexible. 13 00:00:52,240 --> 00:00:55,770 ADA 2.11 is the triple E standard for wi fi. 14 00:00:55,780 --> 00:01:05,140 So we have examples such as ADA 2.11 AX That's wi fi six or 82.11 AC That's a wi fi five. 15 00:01:05,140 --> 00:01:06,670 We have other examples. 16 00:01:06,670 --> 00:01:09,910 ADA 2.11 A, B, G and N. 17 00:01:09,910 --> 00:01:13,360 As an example, there are three types of topologies. 18 00:01:13,360 --> 00:01:17,640 We have what is called independent basic service sets, or IBC. 19 00:01:18,070 --> 00:01:20,230 That's basically an ad hoc network. 20 00:01:20,260 --> 00:01:22,180 That's what we covering in this video. 21 00:01:22,480 --> 00:01:25,930 We've got basic service set and extended service set. 22 00:01:26,290 --> 00:01:28,390 These use infrastructure mode. 23 00:01:28,570 --> 00:01:32,290 A service set is basically a logical grouping of devices. 24 00:01:32,740 --> 00:01:39,430 In this example, I'm using wi fi Explorer Pro to see which networks are being advertised and which 25 00:01:39,430 --> 00:01:39,970 networks. 26 00:01:39,970 --> 00:01:47,260 My MacBook can see there's a free version of this that you can download for Mac if you've got a Windows 27 00:01:47,260 --> 00:01:48,130 computer. 28 00:01:49,480 --> 00:01:54,070 I would suggest that you download WiFi analyzer. 29 00:01:54,100 --> 00:01:59,620 This is a free application that you can get from the Windows store and this gives you similar kind of 30 00:01:59,620 --> 00:02:00,470 information. 31 00:02:00,490 --> 00:02:05,770 Not as detailed, but it'll allow me to see which networks are being broadcast. 32 00:02:05,830 --> 00:02:07,150 We can see the power. 33 00:02:07,780 --> 00:02:10,630 We can see which encryption modes are being used. 34 00:02:10,960 --> 00:02:12,520 Which standard is being used? 35 00:02:12,520 --> 00:02:15,400 So this is 82.11 AC as an example. 36 00:02:15,730 --> 00:02:17,170 Scrolling down. 37 00:02:18,860 --> 00:02:25,640 We can see that the Netgear 75 supports 82.11 a x so wi fi six. 38 00:02:26,030 --> 00:02:31,100 We can see similar information in wi fi explorer pro in this example. 39 00:02:31,100 --> 00:02:34,280 It's showing that wi fi five is used by that. 40 00:02:34,280 --> 00:02:41,690 Netgear does actually support wi fi six, but we can see other information such as which channels are 41 00:02:41,690 --> 00:02:47,960 being used by various access points for both 2.4 gigahertz as well as five gigahertz. 42 00:02:49,370 --> 00:02:56,240 So as an example, in the 2.4 gigahertz range, the Netgear is using all of these channels. 43 00:02:56,240 --> 00:03:02,390 It's using a wide channel width of 40 megahertz in the five gigahertz range. 44 00:03:02,390 --> 00:03:05,390 It's using a channel width of 160 megahertz. 45 00:03:05,690 --> 00:03:11,720 So it's using a wide range of channels to basically allow me to get better throughput. 46 00:03:12,050 --> 00:03:12,400 Okay. 47 00:03:12,440 --> 00:03:20,630 But going back to the theory, the one that we interested in is OC mode, also known as independent 48 00:03:20,630 --> 00:03:21,770 basic service set. 49 00:03:21,800 --> 00:03:24,740 This is where we connect to the clients without an access point. 50 00:03:25,190 --> 00:03:31,610 So I'm going to connect those two laptops directly to one another without the use of an access point. 51 00:03:31,730 --> 00:03:36,930 But you need to make sure that the network interface card supports this capability. 52 00:03:36,950 --> 00:03:40,460 So I'll show you how to determine that on both these laptops. 53 00:03:40,970 --> 00:03:43,940 In infrastructure mode, we have an access point. 54 00:03:44,150 --> 00:03:46,200 An access point could be something like this. 55 00:03:46,220 --> 00:03:48,520 This is a Cisco access point. 56 00:03:48,530 --> 00:03:51,460 This access point supports Wi-Fi six. 57 00:03:51,470 --> 00:03:53,360 Quite an expensive access point. 58 00:03:53,390 --> 00:03:58,120 You need to typically configure this with a wireless controller. 59 00:03:58,130 --> 00:04:01,190 So this is not the only device that's used. 60 00:04:01,310 --> 00:04:07,460 Access points from Cisco, such as the support either lightweight mode where they are controlled by 61 00:04:07,460 --> 00:04:12,170 an external controller, or they can be autonomous access points where they do everything themselves. 62 00:04:12,320 --> 00:04:14,480 That depends on the access point. 63 00:04:14,510 --> 00:04:17,899 Here's an example of a home router. 64 00:04:17,930 --> 00:04:19,850 This is a tp-link router. 65 00:04:19,880 --> 00:04:22,400 Notice it has wireless antennas. 66 00:04:22,520 --> 00:04:26,300 This acts as a router as well as an access point. 67 00:04:26,330 --> 00:04:29,960 This is a dedicated access point. 68 00:04:30,290 --> 00:04:36,740 Okay, so when we using infrastructure mode, the access point is connected to a physical network such 69 00:04:36,740 --> 00:04:37,620 as a switch. 70 00:04:37,640 --> 00:04:42,050 So the access point is connected to physical infrastructure. 71 00:04:42,050 --> 00:04:44,000 But we've only got one access point. 72 00:04:44,030 --> 00:04:50,660 I mean, for your home Internet router as an example, this router has Ethernet ports and an Internet 73 00:04:50,660 --> 00:04:53,960 port, so it's not just going to be there by itself. 74 00:04:53,990 --> 00:04:57,890 You are connecting this device to a physical infrastructure. 75 00:04:57,890 --> 00:05:03,920 So as an example, you may have a printer that doesn't support WiFi, so you would connect it to the 76 00:05:03,920 --> 00:05:10,820 physical network using Ethernet cables, and then you'd be able to print to that printer through wi 77 00:05:10,820 --> 00:05:13,850 fi onto the physical Ethernet network. 78 00:05:13,940 --> 00:05:19,070 But I mean, the most common example is that you want to connect to the Internet, either via cable 79 00:05:19,070 --> 00:05:23,130 or DSL or some other type of technology, fibre to home, maybe. 80 00:05:23,150 --> 00:05:27,650 So this connection allows me to connect through wi fi onto the internet. 81 00:05:27,800 --> 00:05:30,250 So hence the term infrastructure mode. 82 00:05:30,260 --> 00:05:34,040 We are connecting to some type of infrastructure. 83 00:05:34,430 --> 00:05:40,010 So the access point may be connected to a switch, which may be connected to a router, which may be 84 00:05:40,010 --> 00:05:43,250 connected to the Internet as an example. 85 00:05:43,550 --> 00:05:49,040 Now, in a extended service set, we have multiple access points. 86 00:05:49,280 --> 00:05:54,530 Now, this may be fine for your home network, but it's not going to work if you've got a large campus 87 00:05:54,530 --> 00:05:57,360 or a large university environment. 88 00:05:57,380 --> 00:06:00,320 In that case, you need multiple access points. 89 00:06:00,350 --> 00:06:04,500 You wouldn't run an entire university on one access point. 90 00:06:04,520 --> 00:06:06,020 It's not going to work very well. 91 00:06:06,980 --> 00:06:07,820 There are many reasons. 92 00:06:07,820 --> 00:06:09,410 Obviously, one of them is distance. 93 00:06:09,410 --> 00:06:13,720 The power from this access point can only broadcast the signal a certain distance. 94 00:06:13,730 --> 00:06:16,310 It won't cover the entire university campus. 95 00:06:16,310 --> 00:06:19,610 And obviously you don't want thousands of people connected to one access point. 96 00:06:19,610 --> 00:06:22,110 The Internet throughput would be terrible. 97 00:06:22,130 --> 00:06:26,930 They wouldn't be able to browse the Internet or do very much if everyone's connecting to a single access 98 00:06:26,930 --> 00:06:27,390 point. 99 00:06:27,410 --> 00:06:35,180 So the idea is, is that you have two or more basic service sets to give you an extended service set. 100 00:06:35,180 --> 00:06:37,250 So we have multiple access points. 101 00:06:37,460 --> 00:06:40,930 In this example, we've got two access points connecting to a single switch. 102 00:06:40,940 --> 00:06:45,560 Obviously, in a large campus environment or large university environment, you're going to have many 103 00:06:45,560 --> 00:06:51,260 access points, many switches, many devices to give you the scale to handle thousands of students or 104 00:06:51,530 --> 00:06:52,940 thousands of employees. 105 00:06:53,240 --> 00:06:59,210 So this switch may, as an example, connect to a router which again can access to the Internet. 106 00:06:59,840 --> 00:07:06,020 It's connected via a common distribution system, in other words, a common physical network that allows 107 00:07:06,020 --> 00:07:11,870 multiple users to connect to the wi fi network and then get to the Internet or get to servers and other 108 00:07:11,870 --> 00:07:14,390 systems on the physical network. 109 00:07:14,960 --> 00:07:18,050 So these are the steps to configure an ad hoc network. 110 00:07:18,470 --> 00:07:19,900 On a Windows computer. 111 00:07:20,300 --> 00:07:22,760 First thing we need to do is open a command prompt. 112 00:07:22,760 --> 00:07:28,010 As an administrator, you need to make sure that your card supports this feature. 113 00:07:28,070 --> 00:07:33,170 I'll show you two examples that Windows ten Laptop doesn't support the feature. 114 00:07:33,170 --> 00:07:34,880 Windows eight laptop does. 115 00:07:35,210 --> 00:07:39,230 Next thing we need to do is set up a ad hoc wifi network. 116 00:07:39,230 --> 00:07:49,130 So we're going to use this command and set up a side and SSID is a service set identifier that's basically 117 00:07:49,130 --> 00:07:52,640 a name for a network, a human readable name. 118 00:07:52,850 --> 00:07:55,190 So going back to my Windows computer. 119 00:07:55,220 --> 00:08:04,370 Notice ABC one five gigahertz is the SSID for this network, but there is the MAC address of the network. 120 00:08:04,580 --> 00:08:08,570 On WiFi Explorer it shows you that a little bit better. 121 00:08:08,660 --> 00:08:14,350 So as an example, here are the basic service set identifiers. 122 00:08:14,360 --> 00:08:17,120 In other words, the MAC addresses of the access points. 123 00:08:17,120 --> 00:08:20,900 And then we've got the network name SSIDs or these. 124 00:08:20,960 --> 00:08:25,040 Notice she has a hidden network, but that doesn't stop me finding it. 125 00:08:25,160 --> 00:08:32,120 So even if you don't broadcast and ssid very easy to find networks out there using applications like 126 00:08:32,120 --> 00:08:32,570 this. 127 00:08:32,960 --> 00:08:35,900 So here are different networks. 128 00:08:36,500 --> 00:08:42,679 This is IDs and they basic service set identifiers, which is essentially the MAC address. 129 00:08:42,690 --> 00:08:50,060 So basically the basic service set identifier is the MAC address of the human name that's broadcast 130 00:08:50,060 --> 00:08:50,810 into the air. 131 00:08:51,200 --> 00:08:55,940 That's typically what you're going to see as an example when you. 132 00:08:56,770 --> 00:09:02,230 Look on your laptop and you look for all the networks that are being advertised so that you can connect 133 00:09:02,230 --> 00:09:04,210 to the correct network. 134 00:09:05,060 --> 00:09:10,910 You also need to specify the key, which is basically the password to connect to the wi fi network. 135 00:09:11,000 --> 00:09:14,400 And then the last step is to actually start the network. 136 00:09:14,420 --> 00:09:20,270 Once you've finished, you would type the command stop to stop that network from being broadcast. 137 00:09:20,270 --> 00:09:23,270 But initially, you've got to stop the network and advertise it.