Connected: An Internet Encyclopedia
Yet Another Example

Up: Connected: An Internet Encyclopedia
Up: Programmed Instruction Course
Up: Subnetting and CIDR
Prev: Another Example
Next: Quiz #2

Yet Another Example For a final example, consider the diagrammed network. Each of the six LAN segments requires a 24-bit prefix. A 21-bit prefix would be sufficient to number this network, but we have a 20-bit prefix and an additional requirement. We wish to minimize the routing traffic over the WAN link, so we'll group the subnets on each side of the WAN link into single address prefixes, called summary blocks.

How large must the two summary blocks be? Well, the left-hand side of the network contains three /24 subnets, and the backbone, which fit into a /22 block. A /22 is also sufficient for the right-hand side of the network. Since four 22-bit prefixes fit within a 20-bit prefix, we have plenty of room. We'll being by assigning 172.16.16/22 to the left-hand side and then assign 172.16.20/22 to the right-hand side.

On the left, the three LAN segments and the Backbone will be numbered out of the left summary block. On the right, everything will be numbered out of the right summary block. The WAN link can be numbered from either block (or neither), so to conserve address space, I'll number it near the Backbone.

Here is one possible address assignment:

Network SegmentAddress Prefix
LAN A172.16.16/24
LAN B172.16.17/24
LAN C172.16.18/24
LAN D172.16.20/24
LAN E172.16.21/24
LAN F172.16.22/24

Next: Quiz #2

Connected: An Internet Encyclopedia
Yet Another Example