Rabu, 25 Oktober 2017

220

With a single bit pattern, you can produce two unique bit patterns, 1 and 0. If you borrow 2 bits, you can provide four unique patterns to represent networks 00, 01, 10, and 11. Three bits would allow eight blocks, and so on.

Determine the Total Number of Hosts

Recall from the previous section that as you divide the address range into subnets, you lose two host addresses for each new network. These are the network address and broadcast address.

The formula for calculating the number of hosts in a network is

Usable hosts = 2n – 2

where n is the number of bits remaining to be used for hosts.

Subnetting a Subnet

Subnetting a subnet, or using variable-length subnet mask (VLSM), was designed to maxi-mize addressing efficiency. VLSM is a practice associated with classless addressing. When identifying the total number of hosts using traditional subnetting, you allocate the same number of addresses for each subnet. If all the subnets have the same requirements for the number of hosts, these fixed-size address blocks would be efficient. However, that is most often not the case.

For example, the topology in Figure 6-24 shows a subnet requirement of seven subnets, one for each of the four LANs and one for each of the three WANs. With the given address of 192.168.20.0, you need to borrow 3 bits from the host bits in the last octet, which provides eight subnets, to meet your subnet requirement of seven subnets.

Figure 6-24  VLSM Subnetting



192.168.20.32/27









192.168.20.0/27
192.168.20.196/30
192.168.20.200/30



Building A

Building B



Building C

Building D

192.168.20.192/30







192.168.20.96/27







192.168.20.64/27





Subnet Number

Subnet Address



Subnet Number

Subnet Address



























Subnet 0

192.168.20.0/27





Subnet 0


192.168.20.192/30


















Subnet 1

192.168.20.32/27





Subnet 1


192.168.20.196/30


















Subnet 2

192.168.20.64/27





Subnet 2


192.168.20.200/30



Subnet 3

192.168.20.96/27





Subnet 3


192.168.20.204/30



Subnet 4

192.168.20.128/27





Subnet 4


192.168.20.208/30



Subnet 5

192.168.20.160/27





Subnet 5


192.168.20.212/30


















Subnet 6

192.168.20.192/27





Subnet 6


192.168.20.216/30























Subnet 7

192.168.20.224/27





Subnet 7


192.168.20.20/30


















Tidak ada komentar:

Posting Komentar