1 00:00:00,540 --> 00:00:06,510 ‫Probably the most well-known network layer protocol is, of course, IP or Internet protocol. 2 00:00:07,500 --> 00:00:09,720 ‫As I mentioned in the beginning of the course. 3 00:00:10,730 --> 00:00:16,040 ‫The Internet protocol or IP is responsible for addressing hosts. 4 00:00:17,120 --> 00:00:24,020 ‫Encapsulating data into packet or data grams, including fragmentation and reassembly. 5 00:00:25,650 --> 00:00:32,730 ‫And routing packets from a source host to a destination host across one or more IP networks. 6 00:00:33,600 --> 00:00:40,140 ‫So like other layer three protocols, IP is connection less, which means it doesn't care whether the 7 00:00:40,140 --> 00:00:42,120 ‫packet has reached the destination or not. 8 00:00:42,900 --> 00:00:45,480 ‫That's what layer four is for. 9 00:00:46,400 --> 00:00:46,850 ‫All right. 10 00:00:47,330 --> 00:00:52,970 ‫So there are two versions of IP that currently co-exist within the global Internet. 11 00:00:53,360 --> 00:00:59,720 ‫IP version four or IPV four and IP versions six or IPV six. 12 00:01:00,620 --> 00:01:06,560 ‫IP addresses are made up of binary values and drive the routing of all data over the internet. 13 00:01:07,430 --> 00:01:13,970 ‫IPV four addresses are 32 bits long and IPV six addresses are 128 bits long. 14 00:01:15,530 --> 00:01:18,080 ‫Right now, we're going to see each of the versions in detail. 15 00:01:18,800 --> 00:01:23,000 ‫But before we move on, let's compare the main features of each version. 16 00:01:23,950 --> 00:01:30,220 ‫IPV four is a 32 bit address and IPV six is a 128 bit address. 17 00:01:30,940 --> 00:01:41,290 ‫Now, theoretically, you can address two to the power of 32 devices in IPv4, which is about 4.3 billion. 18 00:01:41,380 --> 00:01:41,770 ‫Right. 19 00:01:42,980 --> 00:01:44,240 ‫In IPV six. 20 00:01:44,240 --> 00:01:52,730 ‫On the other hand, you can address two to the power of 128 devices, which is Well, well, let's see, 21 00:01:52,730 --> 00:01:54,230 ‫why don't you just do the math on your own? 22 00:01:55,430 --> 00:02:02,000 ‫So IPv4 is represented by the decimal equivalent of four octets separated by dots. 23 00:02:02,840 --> 00:02:09,800 ‫The biggest number one can make with eight binary digits is two to the power of eight minus one, which 24 00:02:09,800 --> 00:02:11,740 ‫means 255. 25 00:02:12,200 --> 00:02:17,630 ‫So each octet can be any number from 0 to 2 five five. 26 00:02:18,110 --> 00:02:18,470 ‫Right. 27 00:02:19,930 --> 00:02:28,540 ‫Now 128 bit IPV six addresses are written using hexadecimal as opposed to dotted decimal in IPv4. 28 00:02:29,380 --> 00:02:37,900 ‫So because a hexadecimal number uses four bit, this means that an IPV six address consists of 32 hexadecimal 29 00:02:37,900 --> 00:02:38,410 ‫numbers. 30 00:02:39,220 --> 00:02:43,630 ‫These numbers are grouped in fours, giving eight groups or blocks. 31 00:02:44,720 --> 00:02:48,200 ‫The groups are written with a colon as a separator.