Todd Lammle - Subnetting-Sybex (2017)-13
Todd Lammle - Subnetting-Sybex (2017)-13
Todd Lammle - Subnetting-Sybex (2017)-13
To answer the last two questions, first just write out the subnets, then write out the
broadcast addresses—the number right before the next subnet. Last, fill in the host
addresses. The following table gives you all the subnets for the 255.255.255.224 Class C
subnet mask:
In practice example #3C, we’re using a 255.255.255.224 (/27) network, which pro-
vides eight subnets as shown previously. We can take these subnets and implement them as
shown in Figure 5 using any of the subnets available.
.129
192.168.10.128 .98 .161 192.168.10.160
192.168.10.96
.97
192.168.10.0
Router#show ip route
[output cut]
C 192.168.10.0 is directly connected to Ethernet 0
C 192.168.10.32 is directly connected to Ethernet 1
C 192.168.10.64 is directly connected to Ethernet 2
C 192.168.10.96 is directly connected to Serial 0
Notice that used six of the eight subnets available for my network design. The lightning
bolt symbol in the figure represents a wide area network (WAN) such as a T1 or other
serial connection through an ISP or telco. In other words, something you don’t own, but it’s
still a subnet just like any LAN connection on a router. As usual, I used the first valid host
in each subnet as the router’s interface address. This is just a rule of thumb; you can use any
address in the valid host range as long as you remember what address you configured so
you can set the default gateways on your hosts to the router address.
Subnet 0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
First host 1 17 33 49 65 81 97 113 129 145 161 177 193 209 225 241
Last host 14 30 46 62 78 94 110 126 142 158 174 190 206 222 238 254
Broadcast 15 31 47 63 79 95 111 127 143 159 175 191 207 223 239 255
Cisco has figured out that most people cannot count in 16s and there-
fore have a hard time finding valid subnets, hosts, and broadcast
addresses with the Class C 255.255.255.240 mask. You’d be wise to
study this mask.