For this essay, I wanted to examine the mathematics in a workplace environment. I do not have very much work experience, so I could not rely on my on experiences in the work place. The next logical person to turn to, of course, was my fiancÚ. I asked Curtis, "Do you use math at work?" I knew the answer would be yes because I have actually had to help him with some of it! He works with computers, and he did not understand base-2 arithmetic until I explained it to him. :-)
Since I knew that Curtis uses base-2 arithmetic at work, I decided to ask him what he uses it for.
In the staging department, which is the department that Curtis manages, a main topic is IP addressing. IP addresses consist of four decimal numbers that are separated by a "dot". For example, if you are using a Windows computer and go to Start --> Run, and then type in winipcfg, you will see the IP address of your computer (if you are connected to the internet). The IP address of the computer that I am using right now, for example, is 10.1.0.2.
Each of these four numbers (10, 1, 0, 2) are called octets. This comes from the fact they the computer reads them in binary notation. In binary notation, this IP address is written as
0 0 0 0 1 0 1 0 . 0 0 0 0 0 0 0 1 . 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 1 0
The decimal point divides these numbers into four bytes. Each byte consists of eight binary digits, so they are called octets. The largest octet possible contains all 1's, so it would be 255.
When a network is designed, each device on the network is given an IP address. Each device is called a host, and a group of hosts make up a subnet. A subset of the subnet makes up a network, and devices can only "talk to each other" if they are part of the same network. Part of Curtis's job is to determine if two hosts can talk to each other. He is given their IP addresses and the size of the networks, and he must determine if they are in the same network. Here is an example.
A full subnet has the address 255.255.255.255. Suppose the subnet mask for a particular subnet is 255.255.255.240. To determine the size of the networks, subtract these two numbers
This last octet, 15, gives the size of the network. Thus, the networks have the following ranges for their last octets:
Suppose we are given the following IP addresses and asked if the devices with these addresses can talk to each other:
If we look at the above table, we see that one network has a range of 64-79 for its last octet, and another network has a range of 80-95 for its last octet. Therefore, 22.214.171.124 and 126.96.36.199 are on the same network, and 188.8.131.52 is on a different network. The first two devices can talk to each other, but the third one cannot.
1. Curtis does not use binary number system on a regular basis, but he does use it to explain the concept of IP addressing to his employees. Click here for an introduction to the binary number system.
2. When Curtis is given a subnet mask, it is not given to him as 255.255.255.240. It is given to him as /28. Click here to find out how he figures out that /28 is 255.255.255.240.