You are on page 1of 15

Exercise :

Problem 1 :
Host IP Address 172.30.1.33
Subnet Mask 255.255.255.0

Find :
1) Number Of Subnet Bits 8 Bit
2) Number Of Subnets 28
3) Number Of Host Bits per Subnet 256 Host Bit
4) Number Of Usable Hosts per Subnet 254 Usable Host
5) Subnet Address For This IP Address 172 . 30 . 1 . 0
6) IP Address Of First Host On This Subnet 172 . 30 . 1 . 1
7) IP Address Of Last Host On This Subnet 172 . 30 . 1 . 254
8) Broadcast Address For This Subnet 172 . 30 . 1 . 255

1) Number of subnet bits


255.255.255.0
11111111 . 11111111 . 11111111 . 00000000

Dengan nilai 1 pada oktek yg ke 1 hingga ke 3 dan =


32 24 = 8 Bit
2) Number Of Subnets
2n
= 28
3) Number Of Host Bit Per Subnet
28 = 256 Host Bit
4) Number Of Usable Host Per Subnet
11111111 . 11111111 . 11111111 . 00000000

Dengan nilai 0 pada oktek 4 dan =


28 - 2
= 256 2
= 254 Usable Host

5) Subnet Address For This IP Address


172 . 30 . 1 . 33
=10101100 . 00011110 . 00000001 . 00100001

255 . 255 . 255 . 0


=11111111 . 11111111 . 11111111 . 00000000

10101100 . 00011110 . 00000001 . 00100001


11111111 . 11111111 . 11111111 . 00000000 use logic AND
= 10101100 . 00011110 . 00000001 . 00000000

10101100 . 00011110 . 00000001 . 00000000


= 172 . 30 . 1 . 0 This answer for Subnet Address
6) IP Address Of First Host On This Subnet
must add +1
172 . 30 . 1 . 0
+ 1
= 172 . 30 . 1 . 1

7) IP Address Of Last Host On This Subnet


must add Usable Host and Subnet Address
172 . 30 . 1 . 0
+ 254 usable host
172 . 30 . 1 . 254

8) Broadcast Address For This Subnet


must add +1

172 . 30 . 1 . 254
+ 1
= 172 . 30 . 1 . 255
Problem 2 :
Host IP Address 172.30.1.33
Subnet Mask 255.255.255.252

Find :
1) Number Of Subnet Bits 14 Bit
2) Number Of Subnets 214
3) Number Of Host Bits per Subnet 16,384 Host Bit
4) Number Of Usable Hosts per Subnet 2 Usable Host
5) Subnet Address For This IP Address 172 . 30 . 1 . 32
6) IP Address Of First Host On This Subnet 172 . 30 . 1 . 33
7) IP Address Of Last Host On This Subnet 172 . 30 . 1 . 34
8) Broadcast Address For This Subnet 172 . 30 . 1 . 35

1) Number Of Subnet Bits


255. 255. 255 .252
11111111.11111111.11111111.11111100

Dengan menambah nilai 1 pada oktek yg ke 3 dan =


8 + 6 = 14 Bit

2) Number Of Subnets
2n
= 214

3) Number Of Host Bit Per Subnet


214 = 16,384 Host Bit
4) Number Of Usable Host Per Subnet
11111111.11111111.11111111.11111100

Dengan nilai 0 pada oktek 4 dan =


22 =4-2
= 2 Usable Host

5) Subnet Address For This IP Address


172 . 30 . 1 . 33
10101100 . 00011110 . 00000001 . 00100001
255 . 255 . 255 . 252
11111111 . 11111111 . 11111111 . 11111100

10101100 . 00011110 . 00000001 . 00100001


11111111 . 11111111 . 11111111 . 11111100 Use L ogic AND

= 10101100 . 00011110 . 00000001 . 00100000

10101100 . 00011110 . 00000001 . 00100000


= 172 . 30 . 1 . 32 This answer for Subnet Address
6) IP Address Of First Host On This Subnet
must Add + 1
172 . 30 . 1. 32
+ 1
= 172 . 30 . 1 . 33

7) IP Address Of Last Host On This Subnet


must add usable host and subnet address
172 . 30 . 1 . 32
+ 2 usable host
172 . 30 . 1 . 34

8) Broadcast Address For This Subnet


must add +1
172 . 30 . 1 . 34
+ 1
172 . 30 . 1 . 35
Problem 3
Host IP Address 192.192.10.234
Subnet Mask 255.255.255.0

Find :
1) Number Of Subnet Bits 8 Bit
2) Number Of Subnets 28
3) Number Of Host Bits per Subnet 256 Host Bit
4) Number Of Usable Hosts per Subnet 254 Usable Host
5) Subnet Address For This IP Address 192 . 192 . 10 . 0
6) IP Address Of First Host On This 192 . 192 . 10 . 1
Subnet
7) IP Address Of Last Host On This 192 . 192 . 10 . 254
Subnet
8) Broadcast Address For This Subnet 192 . 192 . 10 . 255

1) Number Of Subnet Bits


255 . 255 . 255 . 0
11111111 . 11111111 . 11111111 . 00000000

Dengan nilai 1 pada oktek yg ke 1 hingga ke 3 dan =


32 24 = 8 Bit

2) Number Of Subnets
2n
=
28
3) Number Of Host Bits Per Subnet
28
= 256 Host Bit
4) Number Of Usable Host Per Subnet
11111111 . 11111111 . 11111111 . 00000000

Dengan nilai 0 pada oktek 4 dan =


28 2
= 256 -2
= 254 Usable Host

5) Subnet Address For This IP Address


192 . 192 . 10 . 234
= 11000000 . 11000000 . 00001010 . 11101010
255 . 255 . 255 . 0
=11111111 . 11111111 . 11111111 . 00000000

11000000 . 11000000 . 00001010 . 11101010


11111111 . 11111111 . 11111111 . 00000000 Use Logic AND

= 11000000 . 11000000 . 00001010 . 00000000

11000000 . 11000000 . 00001010 . 00000000


= 192 . 192 . 10 . 0 This answer for Subnet Address
6) IP Address Of First Host On This Subnet
must add +1
192 . 192 . 10 . 0
+ 1
192 . 192 . 10 . 1

7) IP Address Of Last Host On This Subnet


must add Usable Host and Subnet Address
192 . 192 . 10 . 0
+ 254 usable host
192 . 192 . 10 . 254

8) Broadcast Address For This Subnet


must add + 1

192 . 192 . 10 . 254


+ 1
192 . 192 . 10 . 255
Problem 4

Host IP Address 192.168.3.219


Subnet Mask 255.255.255.0

Find :
1) Number Of Subnet Bits 8 Bit
2) Number Of Subnets 28
3) Number Of Host Bits per Subnet 256 Host Bit
4) Number Of Usable Hosts per Subnet 254 Usable Host
5) Subnet Address For This IP Address 192 . 168 . 3 . 0
6) IP Address Of First Host On This Subnet 192 . 168 . 3 . 1
7) IP Address Of Last Host On This Subnet 192 .168 . 3 . 254
8) Broadcast Address For This Subnet 192 . 168 . 3 . 255

1) Number of subnet bits


255 . 255 . 255 . 0
11111111 . 11111111 . 11111111 . 00000000

Dengan nilai 1 pada oktek yg ke 1 hingga ke 3 dan =


32 24 = 8 Bit
2) Number Of Subnets
2n
= 28

3) Number Of Host Bit Per Subnet


28 = 256 Host Bit
4) Number Of Usable Host Per Subnet
11111111 . 11111111 . 11111111 . 00000000

Dengan nilai 0 pada oktek 4 dan =


28 - 2
= 256 2
= 254 Usable Host

5) Subnet Address For This IP Address


192 . 168 . 3 .219
= 11000000 . 10101000 . 00000011 . 11011011
255 . 255 . 255 . 0
=11111111 . 11111111 . 11111111 . 00000000

11000000 . 10101000 . 00000011 . 11011011


11111111 . 11111111 . 11111111 . 00000000 use Logic AND

= 11000000 . 10101000 . 00000011 . 00000000

11000000 . 10101000 . 00000011 . 00000000


=192 . 168 . 3 . 0 This answer for Subnet Address
6) IP Address Of First Host On This Subnet
must add +1
192 . 168 . 3 . 0
+ 1
192 . 168 . 3 . 1

7) IP Address Of Last Host On This Subnet


must add Usable Host and Subnet Address
192 . 168 . 3 . 0
+ 254 usable host
192 .168 . 3 . 254

8) Broadcast Address For This Subnet


must add +1
192 .168 . 3 . 254
+ 1
192 . 168 . 3 . 255
Problem 5
Host IP Address 192.168.3.219
Subnet Mask 255.255.255.252

Find :
1) Number Of Subnet Bits 14 Bit
2) Number Of Subnets 214
3) Number Of Host Bits per Subnet 16,384 Host Bit
4) Number Of Usable Hosts per Subnet 2 Usable Host
5) Subnet Address For This IP Address 192 . 168 . 3 . 216
6) IP Address Of First Host On This Subnet 192 .168 . 3 . 217
7) IP Address Of Last Host On This Subnet 192 . 168 . 3 . 218
8) Broadcast Address For This Subnet 192 . 168 . 3 . 219

1) Number of subnet bits


255.255.255.252
11111111.11111111.11111111.11111100

Dengan menambah nilai 1 pada oktek yg ke 1 hingga ke 3 dan =


8 + 6 = 14 Bit

2) Number Of Subnets
2n
= 214
3) Number Of Host Bit Per Subnet
214 = 16,384 Host Bit
4) Number Of Usable Host Per Subnet
11111111.11111111.11111111.11111100
Dengan nilai 0 pada oktek 4 dan =
22 2
=4-2
= 2 Usable Host

5) Subnet Address For This IP Address


192 . 168 . 3 . 219
= 11000000 . 10101000 . 00000011 . 11011011
255 . 255 . 255 . 252
=11111111 . 11111111 . 11111111 . 11111100

11000000 . 10101000 . 00000011 . 11011011


11111111 . 11111111 . 11111111 . 11111100 use logic AND

= 11000000 . 10101000 . 00000011 . 11011000

11000000 . 10101000 . 00000011 . 11011000


=192 . 168 . 3 . 216 This answer for Subnet Address

6) IP Address Of First Host On This Subnet


must add +1
192 . 168 . 3 . 216
+ 1
192 .168 . 3 . 217
7) IP Address Of Last Host On This Subnet
must add usable host and subnet address
192 . 168 . 3 . 216
+ 2
192 . 168 . 3 . 218

8) Broadcast Address For This Subnet


must add +1
192 . 168 . 3 . 218
+ 1
192 . 168 . 3 . 219

You might also like