1
00:00:00,320 --> 00:00:06,440
Up to now, all the networks that we mentioned were assumed to be a public network, and all of the

2
00:00:06,440 --> 00:00:08,930
IP addresses were public IP addresses.

3
00:00:08,930 --> 00:00:09,500
Right?

4
00:00:10,400 --> 00:00:12,590
In the Internet addressing architecture.

5
00:00:12,620 --> 00:00:16,790
A private network is a network that uses private IP address space.

6
00:00:17,040 --> 00:00:18,380
Whoa, whoa, whoa, whoa, whoa, whoa, wait.

7
00:00:18,920 --> 00:00:22,010
I'll try to explain an unknown with another one.

8
00:00:22,220 --> 00:00:26,900
But first, I should explain what the private IP address space is.

9
00:00:27,140 --> 00:00:27,890
Tell you what.

10
00:00:27,890 --> 00:00:35,240
Let's take a break here and I'll talk about the special use IP addresses, including the private IP

11
00:00:35,240 --> 00:00:36,320
address space.

12
00:00:37,280 --> 00:00:43,540
So the authorities, IETF and Iana, please don't ask.

13
00:00:43,550 --> 00:00:46,130
You can google it if you really want to know who they are.

14
00:00:46,190 --> 00:00:53,390
But they've restricted from general use various reserved IP addresses for special purposes.

15
00:00:53,390 --> 00:00:59,930
So that means you cannot use any IP address in these reserved blocks as the public IP addresses of your

16
00:00:59,930 --> 00:01:00,740
devices.

17
00:01:01,660 --> 00:01:05,319
So here we have some of these reserved blocks.

18
00:01:06,270 --> 00:01:11,970
Now, these are the most important blocks for us to know because pretty much anybody who's not familiar

19
00:01:11,970 --> 00:01:17,790
with the networking concept gets confused about the difference between public and private IP addresses.

20
00:01:17,790 --> 00:01:22,560
So these IP blocks are reserved for private networks.

21
00:01:23,150 --> 00:01:28,670
They're commonly used for home office and Enterprise, local Area Networks or LANs.

22
00:01:29,670 --> 00:01:30,810
Private IP address.

23
00:01:30,810 --> 00:01:36,930
Spaces were originally defined in an effort to delay IPv4 address exhaustion.

24
00:01:37,020 --> 00:01:43,260
But there are also a feature of IPv6 where exhaustion is not an issue.

25
00:01:44,110 --> 00:01:45,070
Bear with me.

26
00:01:46,170 --> 00:01:46,710
Packets.

27
00:01:46,710 --> 00:01:53,520
Addresses in these ranges are not routable in the public internet because they are ignored by all public

28
00:01:53,520 --> 00:01:54,210
routers.

29
00:01:54,240 --> 00:02:02,580
Therefore, private hosts cannot directly communicate with public networks but require network address,

30
00:02:02,580 --> 00:02:06,900
translation or Nat at a routing gateway for this purpose.

31
00:02:07,140 --> 00:02:08,039
But no worries.

32
00:02:08,039 --> 00:02:09,960
We'll talk about Nat coming up next.

33
00:02:10,820 --> 00:02:19,580
So without getting too deep, the only thing about the loopback is that 127.0.0.1 is the most common

34
00:02:19,580 --> 00:02:22,970
IPv4 address which is mapped to the local host.

35
00:02:23,060 --> 00:02:24,710
So let me give you an example.

36
00:02:24,890 --> 00:02:27,200
The IP address of your host machine is.

37
00:02:27,200 --> 00:02:33,980
172.16.99.222 and a web application is served in your host.

38
00:02:34,010 --> 00:02:36,860
Now in that machine you can use the web address.

39
00:02:36,990 --> 00:02:48,140
HP Colon slash slash 127.0.0.1 to access the web app as well as Http colon slash slash.

40
00:02:48,140 --> 00:02:52,220
172.16.99.222.

41
00:02:52,490 --> 00:02:57,170
Both IP addresses point to the same machine, which is your host.

42
00:02:58,740 --> 00:03:06,240
Generally an IP address that starts with 169 means that your computer wasn't able to obtain an IP address

43
00:03:06,240 --> 00:03:08,280
from your Dhcp server.

44
00:03:08,580 --> 00:03:15,300
Usually that means that your router is wedged and needs to be rebooted or that your Wi-Fi isn't working

45
00:03:15,300 --> 00:03:15,900
at all.

46
00:03:16,750 --> 00:03:20,560
So now let's have a look at the private IP address blocks closely.

47
00:03:21,230 --> 00:03:26,780
As I mentioned a few minutes ago, a private network is a network that uses private IP address space.

48
00:03:27,650 --> 00:03:33,990
Administrators of private networks can assign networks and subnets from the above ranges.

49
00:03:34,010 --> 00:03:36,950
If an administrator decides to use the IP range.

50
00:03:36,950 --> 00:03:48,680
192.168.0.0 slash 16 and then decides to have a single subnetwork assigning 255.255.0.0 as a subnet

51
00:03:48,680 --> 00:03:49,340
mask.

52
00:03:49,550 --> 00:03:57,410
Then he or she will have a subnet with a max of 65,536 devices.

53
00:03:58,200 --> 00:03:59,070
Make sense.

