1 00:00:00,960 --> 00:00:04,380 In this video, we're going to look at IP version for addressing. 2 00:00:04,710 --> 00:00:10,290 I'm going to give you an overview of IP version for addresses and explain the basics of IP version for 3 00:00:10,290 --> 00:00:11,090 addressing. 4 00:00:11,130 --> 00:00:18,570 From now on, I'm going to refer to IP addresses, but be aware, please, that I'm discussing IP version 5 00:00:18,570 --> 00:00:22,830 for addresses in this video and not IP version six addresses. 6 00:00:23,010 --> 00:00:29,460 We're going to look at an overview of IP addresses, what they look like and how they function. 7 00:00:29,460 --> 00:00:34,470 I'm going to explain the various address classes that you get, an IP version four. 8 00:00:34,470 --> 00:00:39,900 In other words, class A, class B, class C, clause D and class E. 9 00:00:39,930 --> 00:00:45,840 We'll also talk about CIDR or CIDR and how that changes the address classes. 10 00:00:45,960 --> 00:00:52,350 But as a foundation, it's important that you understand the five address classes, ABC, D and E. 11 00:00:52,650 --> 00:00:58,620 We'll look at special IP addresses, including the loopback address, the local broadcast address and 12 00:00:58,620 --> 00:01:00,060 other special addresses. 13 00:01:00,060 --> 00:01:06,450 And lastly, I'm going to explain what network mosques do and why they are important with regards to 14 00:01:06,450 --> 00:01:07,410 IP addressing. 15 00:01:07,590 --> 00:01:10,200 So what is an IP address? 16 00:01:10,200 --> 00:01:15,540 An IP address is a layer three logical address assigned by an administrator. 17 00:01:15,570 --> 00:01:22,500 Unlike MAC addresses, which are hard coded or burnt into network interface cards by the manufacturer, 18 00:01:22,500 --> 00:01:25,230 an IP address is configured by an administrator. 19 00:01:25,260 --> 00:01:28,890 The IP address may change within a subnet. 20 00:01:28,890 --> 00:01:36,090 For example, when using DHCP or dynamic host configuration protocol, an IP address resides at a layer 21 00:01:36,090 --> 00:01:37,950 three in the OCI model. 22 00:01:37,980 --> 00:01:43,200 Please refer to the OCI videos for more details on how the OCI model works. 23 00:01:43,410 --> 00:01:50,280 An IP address is used to uniquely identify a device on the network and is used by routers to determine 24 00:01:50,280 --> 00:01:52,500 where that device is. 25 00:01:52,500 --> 00:02:01,440 So a router routes traffic to a destination IP address based on a hierarchy of network and host, which 26 00:02:01,440 --> 00:02:02,910 we'll talk about in a moment. 27 00:02:03,240 --> 00:02:11,130 So once again, the IP address uniquely identifies a device in a network in a similar way to how houses 28 00:02:11,160 --> 00:02:13,470 are uniquely identified in a street. 29 00:02:13,770 --> 00:02:17,070 Houses in the street have a unique address. 30 00:02:17,070 --> 00:02:25,530 So, for example, ten Oxford Street, in the same way, a host in a network has a unique identifier 31 00:02:25,560 --> 00:02:28,350 on that network being its IP address. 32 00:02:28,380 --> 00:02:31,830 I'm going to expand on that analogy in the next few minutes. 33 00:02:31,830 --> 00:02:39,420 Every device on the Internet has a unique IP address, so there are millions of IP addresses out there 34 00:02:39,570 --> 00:02:44,610 and no two devices can have the same IP address for communication on the Internet. 35 00:02:44,610 --> 00:02:52,590 Every device needs a unique IP address and hence the move to IP version six these days because of IP 36 00:02:52,590 --> 00:02:54,510 version for address exhaustion. 37 00:02:54,510 --> 00:03:02,160 So for example, you cannot have a device 10.1, 1.1 communicating with another device with the same 38 00:03:02,160 --> 00:03:05,730 IP address that's going to cause a conflict in the network. 39 00:03:05,730 --> 00:03:13,200 Every device on the Internet has its own unique IP address and requires a unique IP address for communication. 40 00:03:13,200 --> 00:03:22,170 Now I will be talking about RFC 1918 addresses in a moment in that RFC private IP addresses are explained. 41 00:03:22,170 --> 00:03:30,510 So ten .1.1.1 is an example of a private IP address as specified in RFC 1918. 42 00:03:30,840 --> 00:03:37,020 In a lot of organizations today, private IP addresses are used internally and then those addresses 43 00:03:37,020 --> 00:03:41,490 are netted or network address translated onto the internet. 44 00:03:41,640 --> 00:03:50,220 So when a device with IP address ten 111 is noted to a public IP address such as 12 at one point, 1.1, 45 00:03:50,220 --> 00:03:58,410 the public IP address in this case, 12 .1.1.1 needs to be unique on the internet for now. 46 00:03:58,410 --> 00:04:03,510 Just understand that IP addresses on the internet need to be unique from each other. 47 00:04:03,690 --> 00:04:09,120 Network address, translation or NAT once again is not covered in this video, but I will be discussing 48 00:04:09,120 --> 00:04:12,660 that in the set of CNA videos. 49 00:04:12,660 --> 00:04:21,060 So be aware that in the real world multiple companies may use IP address 10.1 1.1. 50 00:04:21,060 --> 00:04:27,780 But those addresses are netted to unique IP addresses when those devices send traffic onto the Internet. 51 00:04:28,920 --> 00:04:32,850 Now here's a quick demonstration of some IP addresses. 52 00:04:33,270 --> 00:04:41,690 If I ping w WW dot yahoo.com, notice that the domain name is translated to an IP address. 53 00:04:41,700 --> 00:04:50,820 So in this case, yahoo.com is translated by a protocol called DNS or domain name service to an IP address 54 00:04:50,820 --> 00:04:55,800 of 87.248 112.1 81. 55 00:04:56,280 --> 00:05:02,280 DNS is used to convert easy to read names to IP addresses. 56 00:05:02,310 --> 00:05:12,150 It's much easier to remember a simple name such as Yahoo.com or Cisco or BBC.co.uk, rather than having 57 00:05:12,150 --> 00:05:16,200 to remember the IP address of those domain names. 58 00:05:16,440 --> 00:05:23,460 As an analogy, this is similar to a phonebook where we are translating human friendly computer names 59 00:05:23,460 --> 00:05:24,930 to IP addresses. 60 00:05:25,050 --> 00:05:32,400 But what I'd like you to notice is that the IP address of Yahoo.com was resolved and we got an IP address 61 00:05:32,400 --> 00:05:36,090 of 80 7248112 181. 62 00:05:36,420 --> 00:05:39,830 I could ping another website such as abc.com. 63 00:05:39,840 --> 00:05:46,860 Notice the IP address is translated to 15 one 9245 139. 64 00:05:46,980 --> 00:05:54,760 Now a lot of websites don't permit pings, which uses ICMP, so the request times out. 65 00:05:54,780 --> 00:06:01,290 But notice that the DNS server did resolve App.com to a 15 address. 66 00:06:01,530 --> 00:06:05,070 Now in a moment, I'm going to explain what Class A addresses are. 67 00:06:05,100 --> 00:06:11,390 But for this example, HP own the 15 class a public address range. 68 00:06:11,400 --> 00:06:17,280 So anything that starts with 15 in the first octet belongs to HP. 69 00:06:17,310 --> 00:06:18,810 Here's another example. 70 00:06:18,840 --> 00:06:20,490 I'll ping google.com. 71 00:06:21,030 --> 00:06:25,800 Notice in this case it resolves to 74 125 to 3350.