You are on page 1of 33

IP ADDRESS CALCULATING

TASK

Problem 1

Host IP Address 172.30.1.33


Subnet Address 255.255.255.0

Find

1. Number Of Subnet Bits 8 bits


2. Number Of Subnet 28
3. Number Of Host Bit Per Subnet 28 = 256 host bit
4. Number Of Usable Host 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 bit

255 . 255 . 255 . 0

IIIIIIII . IIIIIIII . IIIIIIII . 00000000 semua bit ada lapan .

8 + 8 + 8 + 8 = 32 bit

32 bit 24 bit = 8 bits Bilangan bits

24 bits ialah nombor I Dan 32 bits keseluruhan bit .

2) Number of subnet

FORMULA = 2N
N ialah bilangan bits

= 28
3) Number of host bit per subnet

FORMULA = 2N(0)

28 = 256 host bits

4) Number of usable host per subnet

255 . 255 . 255 . 252


IIIIIIII . IIIIIIII . IIIIIIII . 00000000 semua bit ada lapan .

FORMULA = 2N - 2

28 = 256 2(host adalah kosong 0)

= 254 Usable host


5) Subnet address for this ip address

IP Address 172 . 30 . 1 . 33

10101100 . 00000011 . 00000001 . 00100001

Subnet mask - 255 . 255 . 255 . 0

11111111 . 11111111 . 11111111 .00000000

Nak cari subnet address kena darab IP Address dan subnet mask

10101100 . 00000011 . 00000001 . 00100001

11111111 . 11111111 . 11111111 . 00000000

subnet address binary - 10101100 . 00011110 . 00000001 . 00000000

172 . 30 . 1 . 0

Subnet address for IP address is = 172 . 30 . 1 . 0


6) IP Address Of First Host On This Subnet

Nak cari first host kena tambah 1 , dalam binary panggil LOGICAL
OR .

Subnet address binary 10101100.00011110.00000001.00000000

Satu binary 00000000.00000000.00000000.00000001

First host binary 10101100.00011110.00000001.00000001

IP Address

172 . 30 . 1 . 0
Subnet Address
+ 1 tambah dengan 1
172 . 30 . 1 . 1

IP Address for first host = 172 . 30 . 1 . 1


7) IP Address Of last Host On This Subnet

subnet binary address 10101100.00011110.00000001.00000000

usable host binary 00000000.00000000.00000000.11111110

last host binary 10101100.00011110.00000001.11111110

Nak cari last host kena tambah dengan usable host .

172 . 30 . 1 . 0

+ 254

172 . 30 . 1 . 254
Subnet address
tambah dengan
usable host

IP Address for last host = 172 . 30 . 1 . 254


8) Broadcast Address

Nak cari broadcast kena tambah 1 . last host kena tambah


dengan 1

Last host binary = 10101100.00011110.00000001.11111110

Satu binary = 00000000.00000000.00000000.00000001

Broadcast binary= 10101100.00011110.00000001.11111111

172 . 30 . 1 . 254

+ 1

172 . 30 . 1 . 255

Broadcast address for this subnet = 172 . 30 . 1 . 255


Problem 2

Host IP Address 172.30.1.33


Subnet Address 255.255.255.252

Find

1. Number Of Subnet Bits 14 bits


2. Number Of Subnet 214
3. Number Of Host Bit Per Subnet 214 = 16384 host bit
4. Number Of Usable Host 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 bit

255 . 255 . 255 . 252

IIIIIIII . IIIIIIII . IIIIIIII . IIIIII00 semua bit ada lapan .

8 + 8 + 8 + 8 = 32 bit

32 bit 24 bit = 8 bits

8 bits + 6 bits = 14 bits Bilangan bits

24 bits ialah nombor I Dan 32 bits keseluruhan bit .


2) Number of subnet

FORMULA = 2N
N ialah bilangan bits

= 214

3) Number of host bit per subnet

FORMULA = 2N(0)

214 = 16384 host bits


4) Number of usable host per subnet

255 . 255 . 255 . 252


IIIIIIII . IIIIIIII . IIIIIIII . IIIIII00 semua bit ada lapan .

FORMULA = 2N - 2

22 = 4 2(host adalah kosong 0)

= 2 Usable host
5) Subnet address for this ip address

IP Address 172 . 30 . 1 . 33

10101100 . 00000011 . 00000001 . 00100001

Subnet mask - 255 . 255 . 255 . 252

11111111 . 11111111 . 11111111 . 11111100

Nak cari subnet address kena darab IP Address dan subnet mask

10101100 . 00000011 . 00000001 . 00100001

11111111 . 11111111 . 11111111 . 11111100

subnet address binary - 10101100 . 00011110 . 00000001 . 00100000

172 . 30 . 1 . 32

Subnet address for IP address is = 172 . 30 . 1 . 32


6) IP Address Of First Host On This Subnet

Nak cari first host kena tambah 1 , dalam binary panggil LOGICAL
OR .

Subnet address binary 10101100.00011110.00000001.00100000

Satu binary 00000000.00000000.00000000.00000001

First host binary 10101100.00011110.00000001.00100001

IP Address

172 . 30 . 1 . 32
Subnet Address
+ 1 tambah dengan 1
172 . 30 . 1 . 33

IP Address for first host = 172 . 30 . 1 . 33


7) IP Address Of last Host On This Subnet

subnet binary address 10101100.00011110.00000001.00100000

usable host binary 00000000.00000000.00000000.00000010

last host binary 10101100.00011110.00000001.00100010

Nak cari last host kena tambah dengan usable host .

172 . 30 . 1 . 32

+ 2

172 . 30 . 1 . 34
Subnet address
tambah dengan
usable host

IP Address for last host = 172 . 30 . 1 . 34


8) Broadcast Address

Nak cari broadcast kena tambah 1 . last host kena tambah


dengan 1

Last host binary = 10101100.00011110.00000001.00100010

Satu binary = 00000000.00000000.00000000.00000001

Broadcast binary= 10101100.00011110.00000001.00100011

172 . 30 . 1 . 34 last host

+ 1 + dengan 1

172 . 30 . 1 . 35

Broadcast address for this subnet = 172 . 30 . 1 . 35


Problem 3

Host IP Address 192.192.10.234


Subnet Address 255.255.255.0

Find

1. Number Of Subnet Bits 8 bits


2. Number Of Subnet 28
3. Number Of Host Bit Per Subnet 28 = 256 host bit
4. Number Of Usable Host Per Subnet 254 usable host
5. Subnet Address For This IP Address 192.192.10.0
6. IP Address Of First Host On This Subnet 192.192.10.1
7. IP Address Of Last Host On This Subnet 192.192.10.254
8. Broadcast Address For This Subnet 192.192.10.255

1) Number of subnet bits

255 . 255 . 255 . 0

IIIIIIII . IIIIIIII . IIIIIIII . 00000000 semua bit ada lapan .

8 + 8 + 8 + 8 = 32 bit

32 bit 24 bit = 8 bits Bilangan bits

24 bits ialah nombor I Dan 32 bits keseluruhan bit .


2) Number of subnet

FORMULA = 2N N ialah bilangan bits

= 28

3) Number of host bit per subnet

FORMULA = 2N(0)

28 = 256 host bits

4) Number of usable host per subnet

255 . 255 . 255 . 252


IIIIIIII . IIIIIIII . IIIIIIII . 00000000 semua bit ada lapan .

FORMULA = 2N - 2

28 = 256 2(host adalah kosong 0)

= 254 Usable host


5) Subnet address for this ip address

IP Address 192 . 192 . 10 . 234

11000000 . 11000000 . 00001010 . 11101010

Subnet mask - 255 . 255 . 255 . 0

11111111 . 11111111 . 11111111 .00000000

Nak cari subnet address kena darab IP Address dan subnet mask

11000000 . 11000000 . 00001010 . 11101010

11111111 . 11111111 . 11111111 . 00000000

subnet address binary - 11000000 . 11000000 . 00001010 . 00000000

192 . 192 . 10 . 0

Subnet address for IP address is = 192 . 192. 10 . 0


6) IP Address of first host on this subnet

Nak cari first host kena tambah 1 , dalam binary panggil LOGICAL
OR .

Subnet address binary 11000000.11000000.00001010.00000000

Satu binary 00000000.00000000.00000000.00000001

First host binary 11000000.11000000.00001010.00000001

IP Address

192 . 192 . 10 . 0
Subnet Address
+ 1 tambah dengan 1
192 . 192 . 10 . 1

IP Address for first host = 192 . 192 . 10 . 1


7) IP Address Of last Host On This Subnet

subnet binary address 11000000.11000000.00001010.00000000

usable host binary 00000000.00000000.00000000.11111110

last host binary 11000000.11000000.00001010.11111110

Nak cari last host kena tambah dengan usable host .

192 . 192 . 10 . 0

+ 254

192 . 192 . 10 . 254


Subnet address
tambah dengan
usable host

IP Address for last host = 192 . 192 . 10 . 254


8) Broadcast address for this subnet

Nak cari broadcast kena tambah 1 . last host kena tambah


dengan 1

Last host binary = 11000000.11000000.00001010.11111110

Satu binary = 00000000.00000000.00000000.00000001

Broadcast binary= 11000000.11000000.00001010.11111111

192 . 192 . 10 . 254 Last host


+ 1 + 1
192 . 192 . 10 . 255

Broadcast address for this subnet = 192 . 192 . 10 . 255


Problem 4

Host IP Address 192.168.3.219


Subnet Address 255.255.255.0

Find

1. Number Of Subnet Bits 8 bits


2. Number Of Subnet 28
3. Number Of Host Bit Per Subnet 28 = 256 host bit
4. Number Of Usable Host 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

IIIIIIII . IIIIIIII . IIIIIIII . 00000000 semua bit ada lapan .

8 + 8 + 8 + 8 = 32 bit

32 bit 24 bit = 8 bits Bilangan bits

24 bits ialah nombor I Dan 32 bits keseluruhan bit .


2) Number of subnet

FORMULA = 2N N ialah bilangan bits

= 28
3) Number of host bit per subnet

FORMULA = 2N(0)

8
2 = 256 host bits
4) Number of usable host per subnet

255 . 255 . 255 . 252


IIIIIIII . IIIIIIII . IIIIIIII . 00000000 semua bit ada lapan .

FORMULA = 2N - 2

28 = 256 2(host adalah kosong 0)

= 254 Usable host


5) Subnet address for this ip address

IP Address 192 . 168 . 3 . 219

11000000 . 10101000 . 00000011 . 11011011

Subnet mask - 255 . 255 . 255 . 0

11111111 . 11111111 . 11111111 .00000000

Nak cari subnet address kena darab IP Address dan subnet mask

11000000 . 10101000 . 00000011 . 11011011

11111111 . 11111111 . 11111111 . 00000000

subnet address binary - 11000000 . 10101000 . 00000011 . 00000000

192 . 168 . 3 . 0

Subnet address for IP address is = 192 . 168 . 3 . 0


6) IP Address of first host on this subnet

Nak cari first host kena tambah 1 , dalam binary panggil LOGICAL
OR .

Subnet address binary 11000000.10101000.00000011.00000000

Satu binary 00000000.00000000.00000000.00000001

First host binary 11000000.10101000.00000011.00000001

IP Address

192 . 168 . 3 . 0
Subnet Address
+ 1 tambah dengan 1
192 . 168 . 3 . 1

IP Address for first host = 192 . 168 . 3 . 1


7) IP Address Of last Host On This Subnet

subnet binary address 11000000.10101000.00000011.00000000

usable host binary 00000000.00000000.00000000.11111110

last host binary 11000000.10101000.00000011.11111110

Nak cari last host kena tambah dengan usable host .

192 . 168 . 3 . 0

+ 254

192 . 168 . 3 . 254


Subnet address
tambah dengan
usable host

IP Address for last host = 192 . 168 . 3 . 254


8) Broadcast address for this subnet

Nak cari broadcast kena tambah 1 . last host kena tambah


dengan 1

Last host binary = 11000000.10101000.00000011.11111110

Satu binary = 00000000.00000000.00000000.00000001

Broadcast binary= 11000000.10101000.00000011.11111111

192 . 168 . 3 . 254 Last host


+ 1 + 1
192 . 168 . 3 . 255

Broadcast address for this subnet = 192 . 168 . 3 . 255


Problem 5

Host IP Address 192.168.3.219


Subnet Address 255.255.255.252

Find

1. Number Of Subnet Bits 14 bits


2. Number Of Subnet
214
3. Number Of Host Bit Per Subnet 214 =16384 host bits
4. Number Of Usable Host 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 bit

255 . 255 . 255 . 252

IIIIIIII . IIIIIIII . IIIIIIII . IIIIII00 semua bit ada lapan .

8 + 8 + 8 + 8 = 32 bit

32 bit 24 bit = 8 bits

8 bits + 6 bits = 14 bits Bilangan bits

24 bits ialah nombor I Dan 32 bits keseluruhan bit .


2) Number of subnet

FORMULA = 2N
N ialah bilangan bits

= 214

3) Number of host bit per subnet

FORMULA = 2N(0)

214 = 16384 host bits


4) Number of usable host per subnet

255 . 255 . 255 . 252


IIIIIIII . IIIIIIII . IIIIIIII . IIIIII00 semua bit ada lapan .

FORMULA = 2N - 2

22 = 4 2(host adalah kosong 0)

= 2 Usable host
5) Subnet address for this ip address

IP Address 192 . 168 . 3 . 219

11000000 . 10101000 . 00000011 . 11011011

Subnet mask - 255 . 255 . 255 . 252

11111111 . 11111111 . 11111111 . 11111100

Nak cari subnet address kena darab IP Address dan subnet mask

11000000 . 10101000 . 00000011 . 11011011

11111111 . 11111111 . 11111111 . 11111100

subnet address binary - 11000000 . 10101000 . 00000011. 11011000

192 . 168 . 3 . 216

Subnet address for IP address is = 192 . 168 . 3 . 216


6) IP Address Of First Host On This Subnet

Nak cari first host kena tambah 1 , dalam binary panggil LOGICAL
OR .

Subnet address binary 11000000.10101000.00000011.11011000

Satu binary 00000000.00000000.00000000.00000001

First host binary 11000000.10101000.00000011.11011001

IP Address

192 . 168 . 3 . 216


Subnet Address
+ 1 tambah dengan 1
192 . 168 . 3 . 217

IP Address for first host = 192 . 168 . 3 . 217


7) IP Address Of last Host On This Subnet

subnet binary address 11000000.10101000.00000011.11011000

usable host binary 00000000.00000000.00000000.00000010

last host binary 11000000.10101000.00000011.11011010

Nak cari last host kena tambah dengan usable host .

192 . 168 . 3 216

+ 2

192 . 168 . 3 . 218


Subnet address
tambah dengan
usable host

IP Address for last host = 192 . 168 . 3 . 218


8) Broadcast Address

Nak cari broadcast kena tambah 1 . last host kena tambah


dengan 1

Last host binary = 11000000.10101000.00000011.11011010

Satu binary = 00000000.00000000.00000000.00000001

Broadcast binary= 10101100.00011110.00000001.11011011

192 . 168 . 3 . 218 last host

+ 1 + dengan 1

192 . 168 . 3 . 219

Broadcast address for this subnet = 192 . 168 . 3 . 219

You might also like