Previously on FUAQ, I spoke about how IP and MAC addresses are used to send data. On this installment, I will cover subnet masks, private address spaces, and network address translation.
First, let’s pick up where we left off with FUAQ Pt. 2: my computer talking to http://www.google.com.
Recap: My computer (18.104.22.168) wants to send something to http://www.google.com (22.214.171.124). My computer will make a letter to 126.96.36.199 and send it to the post office (router). To send something to the router, my computer (F4:5C:89:XX:XX:XX) will use the local address of the router (08:EA:44:XX:XX:XX). So my computer puts the letter to google in an envelope, writes google’s address on it. Then puts that envelope in a box and addresses the box to my router.
A big issue here is that my computer is using one address, and Google is using another. Why is that an issue? There are only 4 billion addresses available in IPv4! There are more than 4 billion devices in the world, though, so how do we handle this? Network Address Translation (NAT) allows multiple computers to use many private network addresses through one public network address.
Example: A grandmother wants to send a letter to her two grandkids that both live in the same house. When she addresses the letters, they are both sent to the same street address, same town, same state. But thanks to their mother’s intelligence, each letter makes it to the right person.
Continue reading “Frequently (Un)Asked Questions – Pt. 3”
Recently, I was teaching a class, and a student asked what 10.0.0.0/255.0.0.0 meant in a firewall policy. I then spent time explaining the tenets of subnets and IP addressing. This wasn’t the first time I have had a student look confused or ask a question on the subject. Therefore, today’s blog will discuss the ideas of IP addresses and MAC addresses.
Scenario: You want to send a letter to your friend in your town. What information do you need? Their street address? Their city? Their state? Their zip code? For something local, you could probably put the street address of your friend, and the post office will get it there.
Continue reading “Frequently (Un)Asked Questions – Pt. 2”
Last time, I talked about the need for IPv6. On this installment, I will explain what is included in IPv6 and how it solves the problems from IPv4. Let’s recap:
Internet Protocol version 4 came out in 1981. To identify hosts connected at layer three, IP addresses were used. IPv4’s addressing convention allows for a little over four billion addresses (what seemed like an un-reachable number). In 2011, the world ran out of IPv4 addresses (despite efforts to stall the issue). As such a new version of Internet Protocol was created – IPv6 (further reading: yes, I know it should be IPv5).
How does IPv6 solve this addressing problem? Continue reading “The Future of Network Addressing – IPv6”
Yesterday, my wife asked me about IPv6. “What are the benefits?” and “How is it different from IPv4?” Rather then send her to LMGTFY, like the snarky person I am, I decided to give her the run down on IPv6. Thus I was inspired to share my thoughts about IPv6 here, with you. This week, I will discuss how the need for a new version of Internet Protocol came about.
Let’s dive right in by defining the IPv4 address exhaustion problem. Consider the following:
You are making an address system to help in sending letters. At the time you make your system, there are about 10 houses in your city. As such, you very simply label the houses A, B, C, D, etc. You have used 10 letters of the 26 letter alphabet. This works fine, but eventually, people hear about the amazing landscape in your “town” and start moving in. Within a year, you get five new neighbors. Then five more next year. You can tell, that in two more years, you are going to run out of addresses for the houses in your neighborhood! What do you do?
Continue reading “Why do we need IPv6?”