You are on page 1of 23

Task 2

Problem 1
Host IP Address

172.30.1.33

Subnet Mask

255.255.255.0

Number of Subnet Bits

Number of Subnets

256

Number of Host Bits per Subnet

Number of Usable Hosts per Subnet

254

Subnet Address for this IP Address

172.30.1.0

IP Address of First Host on this Subnet

172.30.1.1

IP Address of Last Host on this Subnet

172.30.1.254

Broadcast Address for this Subnet

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

Host IP Address
List down the values of number
128

64

32

16

1 Octet = 172 128 = 44 32 = 12 8 = 4 4 =0

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

Add the number `1 together : 16 + 8 + 4 +2 = 30

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

Subnet Mask
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 = 0
128

64

32

16

Automaticlly 0 because no subtract number


Subnet Address

IP Address =

10101100

00011110

00000001

00100001

Subnet Mask =

11111111

11111111

11111111

00000000

Subnet Address = 10101100

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
Subnet Address is = 172.30.1.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
Host IP Address

172.30.1.33

Subnet Mask

255.255.255.252

Number of Subnet Bits

14

Number of Subnets

16384

Number of Host Bits per Subnet

Number of Usable Hosts per Subnet

Subnet Address for this IP Address

172.30.1.32

IP Address of First Host on this


Subnet

172.30.1.33

IP Address of Last Host on this


Subnet

172.30.1.34

Broadcast Address for this Subnet

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

Host IP Address
List down the values of number
128

64

32

16

1 Octet = 172 128 = 44 32 = 12 8 = 4 4 =0

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

Add the number `1 together : 16 + 8 + 4 +2 = 30

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

Subnet Mask
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

Add the number `1 together : 128 + 64 + 32 + 16 +8 +4 = 252

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

Subnet Address
IP Address =

10101100

00011110

00000001

00100001

Subnet Mask =

11111111

11111111

11111111

11111100

Subnet Address = 10101100

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
Subnet Address is = 172.30.1.32

Problem 3
Host IP Address

192.192.10.234

Subnet Mask

255.255.255.0

Number of Subnet Bits

Number of Subnets

256

Number of Host Bits per Subnet

256

Number of Usable Hosts per Subnet

254

Subnet Address for this IP Address

192.192.10.0

IP Address of First Host on this


Subnet

192.192.10.1

IP Address of Last Host on this


Subnet

192.192.10.254

Broadcast Address for this Subnet

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

Host IP Address
List down the values of number
128

64

32

16

1 Octet = 192 128 = 64 64 = 0


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

Subnet Mask
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 = 0
128

64

32

16

Automaticlly 0 because no subtract number

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
Subnet Address
IP Address =

11000000

11000000

00001010

11101010

Subnet Mask =

11111111

11111111

11111111

00000000

Subnet Address = 11000000

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
Subnet Address is = 192.192.10.0

Problem 4
Host IP Address

172.17.99.71

Subnet Mask

255.255.0.0

Number of Subnet Bits

Number of Subnets

20

Number of Host Bits per Subnet

65536

Number of Usable Hosts per Subnet

65534

Subnet Address for this IP Address

172.17.0.0

IP Address of First Host on this


Subnet

172.17.0.1

IP Address of Last Host on this


Subnet

172.17.0.254

Broadcast Address for this Subnet

172.17.0.255

1. Convert Host IP Address and Network Mask to Binary


172.17.99.71
= 10101100 00010001 01100011
255.255.0.0
= 11111111 11111111 00000000

01000111
00000000

Host IP Address
List down the values of number
128

64

32

16

1 Octet = 172 128 = 44 32 = 12 8 = 4 4 =0


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

Subnet Mask
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 = 0
128

64

32

16

Automaticlly 0 because no subtract number


4 Octet = 0
128

64

32

16

Automaticlly 0 because no subtract number

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
Subnet Address
IP Address =

10101100

00010001

01100011

01000111

Subnet Mask =

11111111

11111111

00000000

00000000

Subnet Address = 11000000

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
Subnet Address is = 172.17.0.0

Problem 5
Host IP Address

192.168.3.219

Subnet Mask

255.255.255.0

Number of Subnet Bits

Number of Subnets

28

Number of Host Bits per Subnet

256

Number of Usable Hosts per Subnet

254

Subnet Address for this IP Address

192.168.3.0

IP Address of First Host on this


Subnet

192.168.3.1

IP Address of Last Host on this


Subnet

192.168.3.254

Broadcast Address for this Subnet

192.168.3255

1. Convert Host IP Address and Network Mask to Binary


192.168.3.219
= 11000000 10101000 00000011
255.255.255.0
= 11111111 11111111 11111111

11011011
00000000

Host IP Address
List down the values of number
128

64

32

16

1 Octet = 192 128 = 0


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

Subnet Mask
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 = 0
128

64

32

16

Automaticlly 0 because no subtract number

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
Subnet Address
IP Address =

11000000

10101000

00000011

11011011

Subnet Mask =

11111111

11111111

11111111

00000000

Subnet Address = 11000000

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
Subnet Address is = 192.168.3.0

Problem 6
Host IP Address

192.168.3.219

Subnet Mask

255.255.255.0

Number of Subnet Bits

14

Number of Subnets

214

Number of Host Bits per Subnet

Number of Usable Hosts per Subnet

Subnet Address for this IP Address

192.168.3.216

IP Address of First Host on this


Subnet

192.168.3.217

IP Address of Last Host on this


Subnet

192.168.3.218

Broadcast Address for this Subnet

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
Subnet Address for this IP Address Convert Subnet mask & Host IP address to
binary, thenCopy all0from Subnet mask and subsisted into Host IP address
Subnet mask
11111111.11111111.11111111.11111100- 255.255.255.252
Host IP address
11000000.10101000.00000011.11011011 192.168. 3.219
Subnet Address
11000000.10101000.00000011.11011000 192.168. 3.216

IP address of First Host on this Subnet Use Subnet Address add 1 in


greenzero
192.168.3.216 >>> 192.168.3.217
IP Address of Last Host on This Subnet Use Subnet Address,add (Number of
Usable Host per Subnet) in greenzero
192.168.3.216 >>> 192.168.3.218
Broadcast Address for This Subnet Use IP Address of Last Host on This
Subnet,add 1 in greenzero

192.168.3.218>>> 192.168.3.219