1 00:00:00,420 --> 00:00:06,810 ‫Up to now, all the networks that we mentioned were assumed to be a public network and all of the IP 2 00:00:06,810 --> 00:00:09,360 ‫addresses were public IP addresses, right? 3 00:00:10,570 --> 00:00:16,120 ‫In the internet, addressing architecture, a private network is a network that uses private IP address 4 00:00:16,120 --> 00:00:16,570 ‫space. 5 00:00:17,300 --> 00:00:18,090 ‫Wait, wait, wait. 6 00:00:19,000 --> 00:00:21,790 ‫I'll try to explain an unknown with another one. 7 00:00:22,510 --> 00:00:26,620 ‫But first, I should explain what the private IP address space is. 8 00:00:27,430 --> 00:00:27,940 ‫Tell you what? 9 00:00:27,970 --> 00:00:35,320 ‫Let's take a break here, and I'll talk about the special use IP addresses, including the private IP 10 00:00:35,320 --> 00:00:36,100 ‫address space. 11 00:00:37,450 --> 00:00:45,280 ‫So the authorities, IETF and AIA, Anna, please don't ask you can Google it if you really want to 12 00:00:45,280 --> 00:00:45,910 ‫know who they are. 13 00:00:46,510 --> 00:00:53,230 ‫But they've restricted from general use various reserved IP addresses for special purposes. 14 00:00:53,650 --> 00:01:00,010 ‫So that means you cannot use any IP address in these reserved blocks as the public IP addresses of your 15 00:01:00,010 --> 00:01:00,550 ‫devices. 16 00:01:01,890 --> 00:01:05,130 ‫So here we have some of these reserve blocks. 17 00:01:06,410 --> 00:01:12,050 ‫Now, these are the most important blocks for us to know, because pretty much anybody who's not familiar 18 00:01:12,050 --> 00:01:17,750 ‫with the networking concept gets confused about the difference between public and private IP addresses. 19 00:01:17,990 --> 00:01:22,340 ‫So these IP blocks are reserved for private networks. 20 00:01:23,390 --> 00:01:28,490 ‫They're commonly used for home office and enterprise, local area networks or land. 21 00:01:29,840 --> 00:01:37,940 ‫Private IP address spaces were originally defined in an effort to delay IPv4 address exhaustion, but 22 00:01:38,180 --> 00:01:43,070 ‫they're also a feature of IPv6, where exhaustion is not an issue. 23 00:01:44,160 --> 00:01:44,910 ‫Bear with me. 24 00:01:46,280 --> 00:01:53,090 ‫Packets addresses in these ranges are not readable in the public internet because they are ignored by 25 00:01:53,090 --> 00:01:54,200 ‫all public routers. 26 00:01:54,410 --> 00:02:02,630 ‫Therefore, private hosts cannot directly communicate with public networks but require network address 27 00:02:02,630 --> 00:02:06,710 ‫translation or NAT at a routing gateway for this purpose. 28 00:02:07,460 --> 00:02:08,090 ‫But no worries. 29 00:02:08,090 --> 00:02:09,770 ‫We'll talk about that coming up next. 30 00:02:11,080 --> 00:02:19,630 ‫So without getting too deep, the only thing about the loopback is that 127.0.0.1 is the most common 31 00:02:19,630 --> 00:02:22,720 ‫IPv4 address, which is mapped to the local host. 32 00:02:23,410 --> 00:02:24,490 ‫So let me give you an example. 33 00:02:25,120 --> 00:02:32,050 ‫The IP address of your host machine is one seven two one six nine nine two two two, and a web application 34 00:02:32,050 --> 00:02:33,790 ‫is served in your host. 35 00:02:34,240 --> 00:02:36,730 ‫Now in that machine, you can use a web address. 36 00:02:36,950 --> 00:02:43,060 ‫H h p colon slash slash 127.0.0.1. 37 00:02:43,330 --> 00:02:52,000 ‫To access the web app, as well as a call and slash one seven two eight one six nine nine two two two 38 00:02:52,810 --> 00:02:57,010 ‫both IP addresses going to the same machine, which is your host. 39 00:02:58,940 --> 00:03:05,210 ‫Generally, an IP address, it starts with one, six nine means that your computer wasn't able to obtain 40 00:03:05,360 --> 00:03:08,030 ‫an IP address from your server. 41 00:03:08,890 --> 00:03:15,370 ‫Usually that means that your router is wedged and needs to be rebooted or that your Wi-Fi isn't working 42 00:03:15,370 --> 00:03:15,730 ‫at all. 43 00:03:16,960 --> 00:03:20,410 ‫So now let's have a look at the private IP address blocks closely. 44 00:03:21,380 --> 00:03:26,600 ‫As I mentioned a few minutes ago, a private network is a network that uses private IP address space. 45 00:03:27,760 --> 00:03:35,170 ‫Administrators of private networks can assign networks and subnet from the above ranges if an administrator 46 00:03:35,170 --> 00:03:43,240 ‫decides to use the IP range one nine two one six eight zero zero slash 16 and then decide you have a 47 00:03:43,240 --> 00:03:49,150 ‫single sub network, assigning 255 down to 55 dot 0.0 as a subnet mask. 48 00:03:49,870 --> 00:03:57,220 ‫Then he or she will have a subnet where a max of 65000 536 devices. 49 00:03:58,350 --> 00:03:58,890 ‫Makes sense.