Jumat, 01 Mei 2020

Menghitung Jumlah Network& Host


Hitunglah jumlah Network dan Host yang akan terbentuk dari alamat IP Address dibawah ini :

1. 192.168.10.1/30
2. 172.168.10.1/16
3. 172.168.10/22
4. 10.168.5.1/8
5. 10.168.5.1/17

Jawaban

1.
Netmask = 255.255.255.252
In binary = 11111111. 11111111. 11111111.11111100
Used to calculate = 11111100

Network = 2^n
= 2^6
= 64 Network

Host = 2^h-2
     = 2^2-2
     = 2 Host

2.
Netmask = 255.255.0.0
In Binary = 11111111.11111111.00000000.00000000
Used to calculate = 00000000.00000000

Network = 2^n
        = 2^0
        = 1 Network

Host    = 2^h-2
= 2^16-2
65534 Host

3.
Netmask : 255.255.252.0
In Binary : 11111111.11111111.11111100.00000000
Used to calculate = 11111100.00000000

Network = 2^n
        = 2^6
        = 64 Network

Host    = 2^h-2
= 2^10-2
= 1022 Host

4.
Netmask   : 255.0.0.0 
In Binary : 11111111.00000000.00000000.00000000
Used to calculate = 00000000.00000000.00000000

Network = 2^n
        = 2^0
        = 1 Network

Host    = 2^h-2
= 2^24-2
167772614 Host

5.
Netmask : 255.255.128.0
In Binary : 11111111.11111111.10000000.00000000
Used to calculate = 11111111.10000000.00000000

Network = 2^n
        = 2^9
        = 512 Network

Host    = 2^h-2
= 2^15-2
32766 Host

Tidak ada komentar:

Posting Komentar