Skip to main content

Networking

Part of the Blue Primer series, learn the basics of networking

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.

  1. How many categories of IPv4 addresses are there?

5

  1. Which type is for research? *Looking for a letter rather than a number here

E

  1. How many private address ranges are there?

3

  1. Which private range is typically used by businesses?

A

  1. There are two common default private ranges for home routers, what is the first one?

192.168.0.0

  1. How about the second common private home range?

192.168.1.0

  1. How many addresses make up a typical class C range? Specifically a /24

256

  1. Of these addresses two are reserved, what is the first addresses typically reserved as?

Network

  1. The very last address in a range is typically reserved as what address type?

Broadcast

  1. A third predominant address type is typically reserved for the router, what is the name of this address type?

Gateway

  1. Which address is reserved for testing on individual computers?

127.0.0.1

  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.

  1. 1001 0010

146

  1. 0111 0111

119

  1. 1111 1111

255

  1. 1100 0101

197

  1. 1111 0110

246

  1. 0001 0011

19

  1. 1000 0001

129

  1. 0011 0001

49

  1. 0111 1000

120

  1. 1111 0000

240

  1. 0011 1011

59

  1. 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.

  1. 238

11101110

  1. 34

00100010

  1. 123

01111011

  1. 50

00110010

  1. 255

11111111

  1. 200

11001000

  1. 10

00001010

  1. 138

10001010

  1. 1

00000001

  1. 13

00001101

  1. 250

11111010

  1. 114

01110010

Address Class Identification​

Using the table provided in the first task, identify which class each of the following addresses belongs to.

  1. 10.240.1.1

A

  1. 150.10.15.0

B

  1. 192.14.2.0

C

  1. 148.17.9.1

B

  1. 193.42.1.1

C

  1. 126.8.156.0

A

  1. 220.200.23.1

C

  1. 230.230.45.58

D

  1. 177.100.18.4

B

  1. 119.18.45.0

A

  1. 117.89.56.45

A

  1. 215.45.45.0

C