VARIABLE LENGTH SUBMASKS

Subnet masks are useful in internetworking operations, especially the variable length subnet mask (VLSM). This figure (which is a summary of a more detailed example from the Halabi reference) shows the idea of VLSM.

We assume an organization is using a class C address of 192.168.1.x. The organization needs to set up three networks (subnets) as shown in Figure B-15. Subnet A has 100 hosts attached to it, and subnets B and C support 50 hosts each.

Figure B-15. Managing the IP Addresses

Recall from our previous discussions that the subnet mask is used to determine how many bits are set aside for the subnet and host addresses. ...

Get IP Routing Protocols now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.