From the course: Introduction to Network Routing

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

IPv4 structure

IPv4 structure

- [Instructor] In order to help us understand routing, we need to understand TCP/IP and in this case, IPv4. So we need to count in binary. You can see our key here, we count from right to left and it starts with the value of one and goes all the way to 128. IPv4 is a 32 bit number, it's broken into four sections called octets. An octet of course equals eight and four times eight equals 32. So that's how we get to two to the 32nd power. And when we add all that up, it adds up to over 4 billion IP addresses. Now let's do some counting in binary. We'll use our key off to the right hand side to help us out. If we add up all the different eight positions in our octet, we get 255. If I wanted to just use the first position, it would just have a value of one. So that's pretty easy. After that, we can choose a value of three by using the first two positions on the right-hand side of our octet. We can get up to six by using…

Contents