Probably the most well-known network layer protocol is, of course, IP or Internet protocol.
As I mentioned in the beginning of the course.
The Internet protocol, or IP, is responsible for addressing hosts.
Encapsulating data into packets or data grims, including fragmentation and reassembly.
And routing packets from a source host to a destination host across one or more IP networks.
So like other layer three protocols, IP is connection less, which means it doesn't care whether the
packet has reached the destination or not.
That's what Layer four is for.
All right, so there are two versions of IP that currently coexist within a global Internet IP version
four or IP four and IP Version six or IPV six, IP addresses are made up of binary values and drive
the routing of all data over the Internet IPV for addresses or 32 bits long and IPV six addresses are
128 bits long.
Right now, we're going to see each of the versions in detail, but before we move on, let's compare
the main features of each version.
IPV four is a 32 bit address and IPV six is a 128 bit address.
Now, theoretically, you can address two to the power of 32 devices in IPV four, which is about four
point three billion.
Right.
In IPV six, on the other hand, you can address two to the power of one hundred twenty eight devices,
which is well well let's see, why don't you just do the math on your own.
So IPV four is represented by the decimal equivalent of four octets separated by dots, the biggest
number one can make with eight binary digits is two to the power of eight minus one, which means two
hundred and fifty five.
So each octet can be any number from zero to two.
Five five.
Right.
Now, 128 bit IPV six addresses are written using hexadecimal as opposed to dotted decimal in IPV four
because a hexadecimal number uses Forbert, this means that an IPv6 address consists of 32 hexadecimal
numbers.
These numbers are grouped in fours, giving eight groups or bloks.
The groups are written with a colon as a separator.