background image
254 Chapter 5: Network Protocols
Given an IP Address and Mask, What Is the Network/Subnet Broadcast Address?
CCNAs are expected to be able to derive the valid, assignable addresses in any subnet;
calculation of the broadcast address of the subnet is a vital part of the process. As mentioned
earlier, there are two reserved numbers in each network or subnet. One number is the network
number or subnet number, which is used to represent the entire network or subnet. The other
reserved number is called the broadcast address. This number is used to represent all IP
addresses in the network or subnet. The broadcast address is used when a packet must be sent
to all hosts in a network or subnet. All hosts receiving the packet should notice that the packet
is destined for their own network or subnet broadcast address and then process the packet.
The broadcast address for a network is particularly important when planning an IP addressing
structure for a network. Take a look at the following definition:
The network/subnet number is the lowest value numerically in that network/subnet. The
broadcast address is the largest value numerically in that network/subnet. The valid,
assignable addresses in that network are the numbers between the network/subnet number
and the broadcast address.
Decimal Algorithm for Deriving the Broadcast Address, No Subnetting or Basic
Subnetting
The algorithms, both binary and decimal, for deriving the broadcast addresses are similar to the
same algorithms for deriving the subnet numbers. The algorithms used for basic subnetting are
used as a basis for the following algorithms for deriving the broadcast addresses. First, the
decimal algorithm is as follows:
Step 1
Write down the IP address in decimal.
Step 2
Copy below the IP address either the first one, two, or three dotted
decimal numbers of the address, based on whether the subnet
mask is 255.0.0.0, 255.255.0.0, or 255.255.255.0, respectively.
Step 3
For the remaining dotted decimal numbers, record decimal value
255.
The only difference between this algorithm and the one to derive the subnet number is that Step
3 directs you to plug in 255 instead of 0. Some examples follow in Table 5-18.
Table 5-18
Subnetting Examples
IP Address (Step 1)
Subnet Mask
Network and
Subnet Part (Step 2)
Broadcast Address
(Step 3)
8.1.4.5
255.255.0.0
8.1
8.1.255.255
130.4.100.1
255.255.255.0
130.4.100
130.4.100.255
199.1.1.4
255.255.255.0
199.1.1
199.1.1.255*
ch05.fm Page 254 Monday, March 20, 2000 5:06 PM