Subnetting: © 1999, Cisco Systems, Inc
Subnetting: © 1999, Cisco Systems, Inc
IP
Address
172 16 0 0
Network Host
Default
Subnet
Mask
255 255 0 0
11111111 11111111 00000000 00000000
Also written as “/16” where 16 represents the number of 1s in the
mask.
Network Subnet Host
8-bit
Subnet 255 255 255 0
Mask
Also written as “/24” where 24 represents the number of 1s in the
mask.
© 1999, Cisco Systems, Inc. www.cisco.com ICND—8-12
Class C Subnetting
# Bits Borrowed # Subnets Generated # Hosts per Subnet New Subnet Mask
2^n 2^n - 2
0 0 254 255.255.255.0
1 2 126 255.255.255.128
2 4 64 255.255.255.192
3 8 30 255.255.255.224
4 16 14 255.255.255.240
5 32 6 255.255.255.248
6 64 2 255.255.255.252
7 128 invalid 255.255.255.254
8 256 invalid 255.255.255.255
… dan akan terbentuk 5 bit yang tersedia untuk HostID pada masing-
masing jaringan.
© 1999, Cisco Systems, Inc. www.cisco.com ICND—8-14
Berapakah NetID yang baru…??
Cara yang mudah untuk menghitung NetID untuk masing-masing
network setelah subnetting adalah dengan mengambil nilai desimal
dari bit terakhir yang dipinjam dan menambahkannya pada NetID
yang sebenarnya.
Original NetID: 200.100.10.0
New Subnet Mask: 255.255.255.224
11111111.11111111.11111111.11100000
Decimal Value = 32