Networking - Write-up - TryHackMe

Information

Room#

  • Name: Networking
  • Profile: tryhackme.com
  • Difficulty: Easy
  • Description: Part of the Blue Primer series, learn the basics of networking

Networking

Write-up

Overview#

Install tools used in this WU on BlackArch Linux:

1
pikaur -S radare2

Disclaimer: The answer essentially requires to search for options in the man page so it doesn't need a detailed write-up.

[Task 1] Kinda like a street address, just cooler.#

#1

How many categories of IPv4 addresses are there?

Answer: 5

#2

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

Answer: E

#3

How many private address ranges are there?

Answer: 3

#4

Which private range is typically used by businesses?

Answer: A

#5

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

Answer: 192.168.0.0

#6

How about the second common private home range?

Answer: 192.168.1.0

#7

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

Answer: 256

#8

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

Answer: network

#9

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

Answer: broadcast

#10

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

Answer: gateway

#11

Which address is reserved for testing on individual computers?

Answer: 127.0.0.1

#12

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.

Answer: 0.0.0.0

[Task 2] Binary to Decimal#

#1

1001 0010

Answer: 146

1
2
$ rax2 10010010d
146

#2

0111 0111

Answer: 119

1
2
$ rax2 01110111d
119

#3

1111 1111

Answer: 255

1
2
$ rax2 11111111d
255

#4

1100 0101

Answer: 197

1
2
$ rax2 11000101d
197

#5

1111 0110

Answer: 246

1
2
$ rax2 11110110d
246

#6

0001 0011

Answer: 19

1
2
$ rax2 00010011d
19

#7

1000 0001

Answer: 129

1
2
$ rax2 10000001d
129

#8

0011 0001

Answer: 49

1
2
rax2 00110001d
49

#9

0111 1000

Answer: 120

1
2
$ rax2 01111000d
120

#10

1111 0000

Answer: 240

1
2
$ rax2 11110000d
240

#11

0011 1011

Answer: 59

1
2
$ rax2 00111011d
59

#12

0000 0111

Answer: 7

1
2
$ rax2 00000111d
7

[Task 3] Decimal to Binary#

#1

238

Answer: 11101110

1
2
$ rax2 b238
11101110b

#2

34

Answer: 00100010

1
2
$ rax2 b34
100010b

#3

123

Answer: 01111011

1
2
$ rax2 b123
1111011b

#4

50

Answer: 00110010

1
2
$ rax2 b50
110010b

#5

255

Answer: 11111111

1
2
$ rax2 b255
11111111b

#6

200

Answer: 11001000

1
2
$ rax2 b200
11001000b

#7

10

Answer: 00001010

1
2
$ rax2 b10
1010b

#8

138

Answer: 10001010

1
2
$ rax2 b138
10001010b

#9

1

Answer: 00000001

#10

13

Answer: 00001101

1
2
$ rax2 b13 
1101b

#11

250

Answer: 11111010

1
2
$ rax2 b250
11111010b

#12

114

Answer: 01110010

1
2
$ rax2 b114
1110010b

[Task 4] Address Class Identification#

#1

10.240.1.1

Answer: a

#2

150.10.15.0

Answer: b

#3

192.14.2.0

Answer: c

#4

148.17.9.1

Answer: b

#5

193.42.1.1

Answer: c

#6

126.8.156.0

Answer: a

#7

220.200.23.1

Answer: c

#8

230.230.45.58

Answer: d

#9

177.100.18.4

Answer: b

#10

119.18.45.0

Answer: a

#11

117.89.56.45

Answer: a

#12

215.45.45.0

Answer: c

Share