Anda di halaman 1dari 10

ASSIGNMENT

PROBLEM 1

Host IP address 172.30.1.33


Subnet Mask 255.255.255.0

1 Number of Subnet Bits 8


2 Number of Subnet 28
3 Number of Host Bit Per Subnet 256
4 Number of usable host per subnet 254
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


Subnet mask = 255 . 255 . 255 . 0
Binary = 11111111.11111111.11111111.00000000 (semua bit ada lapan bit)
= 32 24 ( 32 mewakili jumlah semua bit manakala 24 mewakili 1 bit )
=8
2. Number of subnet
Formula = 2n
28 = 256 subnet (n adalah bilangan bit)
3. Number of host bit per subnet
Formula = 2n(0)
# dimana n adalah bilangan 0 pada oktek 3 dan 4 subnet mask
11111111.11111111.11111111.00000000
= 28 = 256
4. Number of host bit per subnet
Formula = 2n 2
= 28 - 2 = 256 2
= 254
5. Subnet address
IP address decimal = 172.30.1.33 [nak cari subnet address kena darab.
Darab dalam binary panggil
Subnet Mask Decimal = 255.255.255.0 LOGICAL AND. IP address (*) subnet mask]

IP address binary = 10101100 . 00011110 . 00000001 . 00100001


Subnet mask binary = 11111111 . 11111111 . 11111111 . 00000000
Subnet adress binary = 10101100 . 00011110 . 00000001 . 00000000
Subnet adress decimal = 172 . 30 . 1 . 0
6. IP address of first host
Nak cari first host kena tambah 1 tambah dalam binary panggil LOGICAL OR. Subnet Address
tambah dengan 1

Subnet adress decimal = 172.30.1.0


+ 1
First host decimal = 172.30.1.1

7.
IP address last host
Nak cari last host kena tambah dengan usable host. Subnet address tambah dengan usable
host.

Last host binary =10101100.00011110.00000001.11111110


Satu binary =00000000.00000000.00000000.00000001 (tukarkan no 1 kepada
kosong dan tukarkan no 0 kepada 1 utk no yg terakhir)
Broadcast binary =10101100.00011110.00000001.11111111
Broadcast decimal =172.30.1.255

8. Broadcast address
kena tambah 1 untuk pencarian broadcast dan last host kena tambah dengan
1.

Last host decimal = 172.30.1.254


+ 1
Broadcast decimal = 172.30.1.255
ASSIGNMENT
PROBLEM 2

Host IP address 172.30.1.33


Subnet Mask 255.255.255.252

1 Number of Subnet Bits 14


14
2 Number of Subnet 2 = 16384
3 Number of Host Bit Per Subnet 22 = 4
4 Number of usable host per subnet 42=2
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


Subnet mask = 255 . 255 . 255 . 252
Binary = 11111111.11111111.11111111.11111100
= 14 (kira bilangan angka 1 pada octet 3 hingga 4)

2. Number of subnet
Formula = 2n
214 = 16384 subnet (n adalah bilangan bit)
3. Number of host bit per subnet
Formula = 2n(0)
# dimana n adalah bilangan 0 pada 4 subnet mask
11111111.11111111.11111111.11111100
= 22 = 4
4. Number of host bit per subnet
Formula = 2n 2
=42
=2
5. Subnet address
IP address decimal = 172.30.1.33 [nak cari subnet address kena darab.
Darab dalam binary panggil
Subnet Mask Decimal = 255.255.255.0 LOGICAL AND. IP address (*) subnet mask]

IP address binary = 10101100 . 00011110 . 00000001 . 00100001


Subnet mask binary = 11111111 . 11111111 . 11111111 . 11111100
Subnet adress binary = 10101100 . 00011110 . 00000001 . 00100000
Subnet adress decimal = 172 . 30 . 1 . 32
6. IP address of first host
cari first host tambah 1 dalam binary panggil LOGICAL OR. Subnet Address tambah dengan
1

Subnet adress decimal = 172 . 30 . 1 . 32


Tambah 1

First host decimal = 172 . 30 . 1 . 33

7.
IP address last host
Last host haruslah ditambah dengan usable host

Last host binary = 172.30.1.32


+ 2 useble host
= 172.30.1.34

8. Broadcast address
kena tambah 1 untuk pencarian broadcast dan last host kena tambah dengan
1.

Last host decimal = 172.30.1.34


+ 1
Broadcast decimal = 172.30.1.35
ASSIGNMENT
PROBLEM 3

Host IP address 192.192.10.234


Subnet Mask 255.255.255.0

1 Number of Subnet Bits 8


8
2 Number of Subnet 2 =256
3 Number of Host Bit Per Subnet 256
4 Number of usable host per subnet 254
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


Subnet mask = 255 . 255 . 255 . 0
Binary = 11111111.11111111.11111111.00000000
= 32 24 ( 32 mewakili jumlah semua bit manakala 24 mewakili 1 bit )
=8
2. Number of subnet
Formula = 2n
28 = 256 subnet (n adalah bilangan bit)
3. Number of host bit per subnet
Formula = 2n(0)
# dimana n adalah bilangan 0 pada 4 subnet mask
11111111.11111111.11111111.00000000
= 28 = 256
4. Number of host bit per subnet
Formula = 2n 2
= 28 2 / 256 2
= 254
5. Subnet address
IP address decimal = 192.192.10.234 [nak cari subnet address kena darab.
Darab dalam binary panggil
Subnet Mask Decimal = 255.255.255.0 LOGICAL AND. IP address (*) subnet mask]

IP address binary = 11000000 . 11000000 . 00001010 . 11101010


Subnet mask binary = 11111111 . 11111111 . 11111111 . 00000000
Subnet adress binary = 11000000 . 11000000 . 00001010 . 00000000
Subnet adress decimal = 192 . 192 . 10 . 0
6. IP address of first host
cari first host tambah 1 dalam binary panggil LOGICAL OR. Subnet Address tambah dengan
1

Subnet adress decimal = 192 . 192 . 10 . 0


Tambah 1

First host decimal = 192 . 192 . 10 . 1


7.
IP address last host
Last host haruslah ditambah dengan usable host
Last host binary = 192.192.10.0
+ 254 useble host
= 192.192.10.254

8. Broadcast address
kena tambah 1 untuk pencarian broadcast dan last host kena tambah dengan
1.

Last host decimal = 192.192.10.254


+ 1
Broadcast decimal = 192.192.10.255
ASSIGNMENT
PROBLEM 4

Host IP address 192.168.3.219


Subnet Mask 255.255.255.0

1 Number of Subnet Bits 8


8
2 Number of Subnet 2 =256
3 Number of Host Bit Per Subnet 256
4 Number of usable host per subnet 254
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


Subnet mask = 255 . 255 . 255 . 0
Binary = 11111111.11111111.11111111.00000000
= 32 24 ( 32 mewakili jumlah semua bit manakala 24 mewakili 1 bit )
=8
2. Number of subnet
Formula = 2n
28 = 256 subnet (n adalah bilangan bit)
3. Number of host bit per subnet
Formula = 2n(0)
# dimana n adalah bilangan 0 pada 4 subnet mask
11111111.11111111.11111111.00000000
= 28 = 256

4. Number of host bit per subnet


Formula = 2n 2
= 28 2 / 256 2
= 254
5. Subnet address
IP address decimal = 192.168.3.219 [nak cari subnet address kena darab.
Darab dalam binary panggil
Subnet Mask Decimal = 255.255.255.0 LOGICAL AND. IP address (*) subnet mask]

IP address binary = 11000000 . 10101000 . 00000011 . 11011011


Subnet mask binary = 11111111 . 11111111 . 11111111 . 00000000
Subnet adress binary = 11000000 . 10101000 . 00000011 . 00000000
Subnet adress decimal = 192 . 168 . 3 . 0
6. IP address of first host
cari first host tambah 1 dalam binary panggil LOGICAL OR. Subnet Address tambah dengan
1

Subnet adress decimal = 192 . 168 . 3 . 0


Tambah 1

First host decimal = 192 . 168 . 1 . 1


7.
IP address last host
Last host haruslah ditambah dengan usable host
Last host binary = 192.168.3.0
+ 254 useble host
= 192.168.3.254

8. Broadcast address
kena tambah 1 untuk pencarian broadcast dan last host kena tambah dengan
1.

Last host decimal = 192.168.3.254


+ 1
Broadcast decimal = 192.168.3.255
ASSIGNMENT
PROBLEM 5

Host IP address 192.168.3.219


Subnet Mask 255.255.255.252

1 Number of Subnet Bits 14


14
2 Number of Subnet 2 = 16384
3 Number of Host Bit Per Subnet 22 = 4
4 Number of usable host per subnet 42=2
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


Subnet mask = 255 . 255 . 255 . 252
Binary = 11111111.11111111.11111111.11111100
= 14 (kira bilangan angka 1 pada octet 3 hingga 4)

2. Number of subnet
Formula = 2n
22 = 4 subnet (n adalah bilangan bit)
3. Number of host bit per subnet
Formula = 2n(0)
# dimana n adalah bilangan 0 pada 4 subnet mask
11111111.11111111.11111111.11111100
= 22 = 4

4. Number of host bit per subnet


Formula = 2n 2
=42
=2
5. Subnet address
IP address decimal = 172.30.1.33 [nak cari subnet address kena darab.
Darab dalam binary panggil
Subnet Mask Decimal = 255.255.255.0 LOGICAL AND. IP address (*) subnet mask]

IP address binary = 11000000 . 10101000. 00000011 . 11011011


Subnet mask binary = 11111111 . 11111111 . 11111111 . 11111100
Subnet adress binary = 10101100 . 10101000 . 00000011 . 11011011
Subnet adress decimal = 192 . 168 . 3 . 216
6. IP address of first host
cari first host tambah 1 dalam binary panggil LOGICAL OR. Subnet Address tambah dengan
1

Subnet adress decimal = 192 . 168 . 3 . 216


Tambah 1

First host decimal = 192 . 168 . 3 . 217


7.
IP address last host
Last host haruslah ditambah dengan usable host
Last host binary = 192.168.3.216
+ 2 useble host
= 192.168.3.218

8. Broadcast address
kena tambah 1 untuk pencarian broadcast dan last host kena tambah dengan
1.

Last host decimal = 192.168.3.218


+ 1
Broadcast decimal = 192.168.3.219

Anda mungkin juga menyukai