You are on page 1of 23

Problem 1

172.30.1.33

255.255.255.0

## Number of Subnet Bits

Number of Subnets

256

254

172.30.1.0

172.30.1.1

172.30.1.254

172.30.1.255

## Step : 1. Convert Host IP Address and Network Mask to Binary

172.30.1.33
= 10101100 00011110 00000001
255.255.255.0
= 11111111 11111111 11111111

00100001
00000000

List down the values of number
128

64

32

16

128

64

32

16

## Add the number `1 together : 128 + 32 + 8 + 4 + 1 = 172

2 Octet = 30 16 = 14 8 = 6 4 = 2 2 =0

128

64

32

16

3 Octet = 1 1 =0

128

64

32

16

## Add the number `1 together : 1

4 Octet = 33 32 = 1 1 = 0

128

64

32

16

## Add the number `1 together : 32 + 1 = 33

1 Octet = 255 128 = 127 64 = 63 32 = 31 16 = 15 8 =7 4 =3 2 =1 1
=0

128

64

32

16

## Add the number `1 together : 128 + 64 + 32 + 16 +8 +4 +2 +1 = 255

2 Octet = 255 128 = 127 64 = 63 32 = 31 16 = 15 8 =7 4 =3 2 =1 1
=0

128

64

32

16

## Add the number `1 together : 128 + 64 + 32 + 16 +8 +4 +2 +1 = 255

3 Octet = 255 128 = 127 64 = 63 32 = 31 16 = 15 8 =7 4 =3 2 =1 1
=0
128

64

32

16

4 Octet = 0
128

64

32

16

10101100

00011110

00000001

00100001

11111111

11111111

11111111

00000000

00011110

00000001

00000000

128

64

32

16

## 1 Octet = 128 + 32 + 8 + 4 = 172

2 Octet = 16 + 8 + 4 + 2 = 30
3 Octet = 1
4 Octet = 0

## Number of Subnet Bits

255.255.255.0 >> 8
11111111.11111111.11111111.00000000
Number of Host
28
Number of Host Bits per Subnet
28 >>256
Number of Usable Hosts per Subnet
256 2 = 254

Problem 2

172.30.1.33

255.255.255.252

## Number of Subnet Bits

14

Number of Subnets

16384

172.30.1.32

Subnet

172.30.1.33

Subnet

172.30.1.34

172.30.1.35

## Step : 1. Convert Host IP Address and Network Mask to Binary

172.30.1.33
= 10101100 00011110 00000001
255.255.255.252 = 11111111 11111111 11111111

00100001
11111100

List down the values of number
128

64

32

16

128

64

32

16

## Add the number `1 together : 128 + 32 + 8 + 4 + 1 = 172

2 Octet = 30 16 = 14 8 = 6 4 = 2 2 =0

128

64

32

16

3 Octet = 1 1 =0

128

64

32

16

## Add the number `1 together : 1

4 Octet = 33 32 = 1 1 = 0

128

64

32

16

## Add the number `1 together : 32 + 1 = 33

1 Octet = 255 128 = 127 64 = 63 32 = 31 16 = 15 8 =7 4 =3 2 =1 1
=0

128

64

32

16

## Add the number `1 together : 128 + 64 + 32 + 16 +8 +4 +2 +1 = 255

2 Octet = 255 128 = 127 64 = 63 32 = 31 16 = 15 8 =7 4 =3 2 =1 1
=0

128

64

32

16

## Add the number `1 together : 128 + 64 + 32 + 16 +8 +4 +2 +1 = 255

3 Octet = 255 128 = 127 64 = 63 32 = 31 16 = 15 8 =7 4 =3 2 =1 1
=0
128

64

32

16

## Add the number `1 together : 128 + 64 + 32 + 16 +8 +4 +2 +1 = 255

4 Octet = 252 128 = 124 64 = 60 16 = 12 8 = 4 4 =0
128

64

32

16

## Number of Subnet Bits

255.255.255.254 >> 14
11111111.11111111.11111111.11111100
Number of Host
214
Number of Host Bits per Subnet
214 >>16384
Number of Usable Hosts per Subnet
22 >>4
Number of Usable Hosts per Subnet
42=2

10101100

00011110

00000001

00100001

11111111

11111111

11111111

11111100

00011110

00000001

00100000

128

64

32

16

## 1 Octet = 128 + 32 + 8 + 4 = 172

2 Octet = 16 + 8 + 4 + 2 = 30
3 Octet = 1
4 Octet = 32

Problem 3

192.192.10.234

255.255.255.0

## Number of Subnet Bits

Number of Subnets

256

256

254

192.192.10.0

Subnet

192.192.10.1

Subnet

192.192.10.254

192.192.10.256

## Step : 1. Convert Host IP Address and Network Mask to Binary

192.192.10.234 = 11000000 11000000 00001010
255.255.255.0
= 11111111 11111111 11111111

11101010
00000000

List down the values of number
128

64

32

16

128

64

32

16

## Add the number `1 together : 128 + 64 = 192

2 Octet = 192 128 = 64 64 = 0
128

64

32

16

## Add the number `1 together : 128 + 64 = 192

3 Octet = 10 8 = 2 2 = 0
128

64

32

16

## Add the number `1 together : 8 + 2 = 10

4 Octet = 234 128 = 106 64 = 42 32 = 10 8 = 2 2 = 0
128

64

32

16

## Add the number `1 together : 128 + 64 + 32 + 8 +2 = 234

1 Octet = 255 128 = 127 64 = 63 32 = 31 16 = 15 8 =7 4 =3 2 =1 1
=0
128

64

32

16

## Add the number `1 together : 128 + 64 + 32 + 16 +8 +4 +2 +1 = 255

2 Octet = 255 128 = 127 64 = 63 32 = 31 16 = 15 8 =7 4 =3 2 =1 1
=0
128

64

32

16

## Add the number `1 together : 128 + 64 + 32 + 16 +8 +4 +2 +1 = 255

3 Octet = 255 128 = 127 64 = 63 32 = 31 16 = 15 8 =7 4 =3 2 =1 1
=0
128

64

32

16

4 Octet = 0
128

64

32

16

## Number of Subnet Bits

255.255.255.0 >> 8
11111111.11111111.11111111.00000000
Number of Host
28
Number of Host Bits per Subnet
28 >>256
Number of Usable Hosts per Subnet
256 2 = 254

11000000

11000000

00001010

11101010

11111111

11111111

11111111

00000000

11000000

00001010

00000000

128

64

32

16

## 1 Octet = 128 + 64 = 192

2 Octet = 128 + 64 = 192
3 Octet = 8 + 2 = 10
4 Octet = 0

Problem 4

172.17.99.71

255.255.0.0

## Number of Subnet Bits

Number of Subnets

20

65536

65534

172.17.0.0

Subnet

172.17.0.1

## IP Address of Last Host on this

Subnet

172.17.0.254

172.17.0.255

172.17.99.71
= 10101100 00010001 01100011
255.255.0.0
= 11111111 11111111 00000000

01000111
00000000

List down the values of number
128

64

32

16

128

64

32

16

## Add the number `1 together : 128 + 32 + + 8 +1 = 172

2 Octet = 17 16 = 1 1 0
128

64

32

16

## Add the number `1 together : 16 + 1 = 17

3 Octet = 99 64 = 35 32 = 3 2 = 1 1 = 0
128

64

32

16

## Add the number `1 together : 64 +32 + 2 + 1 = 99

4 Octet = 71 64 = 7 4 = 3 2 = 1- 1 0
128

64

32

16

## Add the number `1 together : 64 + 4 + 2 + 1 = 71

1 Octet = 255 128 = 127 64 = 63 32 = 31 16 = 15 8 =7 4 =3 2 =1 1
=0
128

64

32

16

## Add the number `1 together : 128 + 64 + 32 + 16 +8 +4 +2 +1 = 255

2 Octet = 255 128 = 127 64 = 63 32 = 31 16 = 15 8 =7 4 =3 2 =1 1
=0
128

64

32

16

3 Octet = 0
128

64

32

16

4 Octet = 0
128

64

32

16

## Number of Subnet Bits

255.255.0.0 >> 8
11111111.11111111.00000000.00000000
Number of Host
216
Number of Host Bits per Subnet
216 >>65536
Number of Usable Hosts per Subnet
65536 2 = 65534

10101100

00010001

01100011

01000111

11111111

11111111

00000000

00000000

11000000

00001010

00000000

128

64

32

16

## 1 Octet = 128 + 32 + 8 + 4 = 172

2 Octet = 16 + 1 = 17
3 Octet = 0
4 Octet = 0

Problem 5

192.168.3.219

255.255.255.0

## Number of Subnet Bits

Number of Subnets

28

256

254

192.168.3.0

Subnet

192.168.3.1

## IP Address of Last Host on this

Subnet

192.168.3.254

192.168.3255

192.168.3.219
= 11000000 10101000 00000011
255.255.255.0
= 11111111 11111111 11111111

11011011
00000000

List down the values of number
128

64

32

16

128

64

32

16

## Add the number `1 together : 128 + 64= 192

2 Octet = 168 128 = 40 32 = 8 8 = 0
128

64

32

16

## Add the number `1 together : 128 + 32 + 1 = 168

3 Octet = 3 2 = 1 1 = 0
128

64

32

16

## Add the number `1 together : 2 + 1 = 0

4 Octet = 219 128 = 91 64 = 27 16 = 11 8 = 3 2 = 1 1 = 0
128

64

32

16

## Add the number `1 together : 128 + 64 +16 +8 + 2 +1 = 219

1 Octet = 255 128 = 127 64 = 63 32 = 31 16 = 15 8 =7 4 =3 2 =1 1
=0
128

64

32

16

## Add the number `1 together : 128 + 64 + 32 + 16 +8 +4 +2 +1 = 255

2 Octet = 255 128 = 127 64 = 63 32 = 31 16 = 15 8 =7 4 =3 2 =1 1
=0
128

64

32

16

## Add the number `1 together : 128 + 64 + 32 + 16 +8 +4 +2 +1 = 255

3 Octet = 255 128 = 127 64 = 63 32 = 31 16 = 15 8 =7 4 =3 2 =1 1
=0
128

64

32

16

4 Octet = 0
128

64

32

16

## Number of Subnet Bits

255.255.0.0 >> 8
11111111.11111111.00000000.00000000
Number of Host
28
Number of Host Bits per Subnet
28 >>256
Number of Usable Hosts per Subnet
256 2 = 254

11000000

10101000

00000011

11011011

11111111

11111111

11111111

00000000

11000000

00001010

00000000

128

64

32

16

## 1 Octet = 128 + 64 = 192

2 Octet = 128 + 32 + 8 = 168
3 Octet = 2 + 1 = 3
4 Octet = 0

Problem 6

192.168.3.219

255.255.255.0

## Number of Subnet Bits

14

Number of Subnets

214

192.168.3.216

Subnet

192.168.3.217

## IP Address of Last Host on this

Subnet

192.168.3.218

192.168.3.219

Number of subnet Bits change to binary, then count how many number
1 [RANGE HOST]
Ex : 255.255.255.252>>>14 11111111.11111111.11111111.11111100
Number of subnets use 2 the power of (Number of subnet Bits)
Ex : 214
Number of host Bit per Subnet change to binary, then count how many
number 0 [RANGE HOST],use 2 to the power of 2 then convert to decimal
Ex : 255.255.255.0>>>2>>> 4
11111111.11111111.11111111.11111100

Number of Usable Host per Subnet use Number of host Bit per Subnet then
substrate 2
Ex :4 2 = 2
11111111.11111111.11111111.11111100- 255.255.255.252
11000000.10101000.00000011.11011011 192.168. 3.219
11000000.10101000.00000011.11011000 192.168. 3.216