Networking
Part of the Blue Primer series, learn the basics of networking
💢 We will cover the topics​
- Networking
Kinda like a street address, just cooler.​
In a manner similar to streets and homes, computers and their respective communication networks must have a way to address their 'mail'. In the following set of questions, we'll investigate the various types of IPv4 addresses. Here's a reference guide for that various types of IP addresses:
IP Address Classes
Private Address Space
Room icon made by Freepik
Enjoy the room! For future rooms and write-ups, follow @darkstar7471 on Twitter.
- How many categories of IPv4 addresses are there?
5
- Which type is for research? *Looking for a letter rather than a number here
E
- How many private address ranges are there?
3
- Which private range is typically used by businesses?
A
- There are two common default private ranges for home routers, what is the first one?
192.168.0.0
- How about the second common private home range?
192.168.1.0
- How many addresses make up a typical class C range? Specifically a /24
256
- Of these addresses two are reserved, what is the first addresses typically reserved as?
Network
- The very last address in a range is typically reserved as what address type?
Broadcast
- A third predominant address type is typically reserved for the router, what is the name of this address type?
Gateway
- Which address is reserved for testing on individual computers?
127.0.0.1
- A particularly unique address is reserved for unroutable packets, what is that address? This can also refer to all IPv4 addresses on the local machine.
0.0.0.0
Binary to Decimal​
Binary conversion is essential to understand in order to properly manage computer networks. An IPv4 address consists of 32 bits split up into four sections of eight bits. For example, the address 192.168.1.12 translates to this:
11000000 10101000 00000001 00001100
When considering individual bit values, we can break down each octet further. For example, let's break down the second octet valuing 168:
This table provided above is useful to recreate when solving for decimal values. A blank variant has been provided below for copying:
Convert the following binary values into decimal. I suggest doing this by hand with a sheet of paper as it's essential to practice and retain properly. These have been split into two sections of four for readability, however, treat them as octets when solving for decimal values.
- 1001 0010
146
- 0111 0111
119
- 1111 1111
255
- 1100 0101
197
- 1111 0110
246
- 0001 0011
19
- 1000 0001
129
- 0011 0001
49
- 0111 1000
120
- 1111 0000
240
- 0011 1011
59
- 0000 0111
7
Decimal to Binary​
Using the table provided within the previous task convert the following values to binary. For the sake of preserving the full octet, pad the front of each answer with the appropriate amount of zeros.
- 238
11101110
- 34
00100010
- 123
01111011
- 50
00110010
- 255
11111111
- 200
11001000
- 10
00001010
- 138
10001010
- 1
00000001
- 13
00001101
- 250
11111010
- 114
01110010
Address Class Identification​
Using the table provided in the first task, identify which class each of the following addresses belongs to.
- 10.240.1.1
A
- 150.10.15.0
B
- 192.14.2.0
C
- 148.17.9.1
B
- 193.42.1.1
C
- 126.8.156.0
A
- 220.200.23.1
C
- 230.230.45.58
D
- 177.100.18.4
B
- 119.18.45.0
A
- 117.89.56.45
A
- 215.45.45.0
C