Selasa, 21 Juni 2011

Pertemuan 6

1      1    1   1  1 1 1 1
128 64 32 16 8  4 2  1 = 255 byte
 27    26  25  24 23 222120
                                First byte
Class A
0
0-127
Class B
10
128-191
Class C
110
192-223
Class D
1110
224-239
Class E
1111
240-255

Total alamat host dalam sebuah network adalah 2N-2 (N jumlah alamat bit)

255
0
0
0

A
Network ID
Host
Host
Host
8
 B
Network ID
Network ID
Host
Host
16
C
Network ID
Network ID
Network ID
Host
24
D
Network ID
Network ID
Network ID
Network ID


IP              = 192.168.2.254               Class C
Netmask = 255.255.255.0              AND
Alamat Host = 192.168.2.0

Netmask :
0              0 0 0 0 0 0 0 0
128         1 0 0 0 0 0 0 0
192         1 1 0 0 0 0 0 0
224         1 1 1 0 0 0 0 0
240         1 1 1 1 0 0 0 0
248         1 1 1 1 1 0 0 0
252         1 1 1 1 1 1 0 0
254         1 1 1 1 1 1 1 0
255         1 1 1 1 1 1 1 1

Alamat khusus : IP Private Address
Class A  : 10.0.0.0                              10.255.255.255 (1 network)
Class B  : 172.16.0.0                         172.31.255.255 (16 network)
Class C  : 192.168.0.0                       192.168.255.255 (256 network)

Kategori pengalamatan IP =
-          Classfull Addressing
-          Subnetted Classfull Addressing
Contoh :
110.24.48.0/24                   1 network

                9 network
100 Host               1             128         = 110.24.48.0/25
45 Host                 1             64           = 110.24.48.128/26
10 Host                 1             16           = 110.24.48.192/28
8 Host                   1             16           = 110.24.48.208/28
5 Host                   1             8              = 110.24.48.224/29
4 Host                   1             8              = 110.24.48.232/29
2 Host                   3             4              = 110.24.48.240/30
                Host = 2n-2                          = 110.24.48.244/30
VLSM (Variable Lenght Subnet Masking)
Conventional Subnetting

Tidak ada komentar:

Posting Komentar