Let’s Get Certified
Module 07 / 54 · Network fundamentals

Allocate and verify IPv4 host ranges

A router port is 192.0.2.65/26. Can a host at 192.0.2.126/26 use it as an on-link gateway, and is .127 available to a second host?

Allocate and verify IPv4 host ranges

The VLSM lab assigns a router interface a usable host from a calculated subnet.

Work through the decision

A router port is 192.0.2.65/26. Can a host at 192.0.2.126/26 use it as an on-link gateway, and is .127 available to a second host?

Check your reasoning

The /26 block extends from .64 through .127. The gateway and .126 are usable addresses in the block. The all-ones host part makes .127 the directed broadcast.

Jeremy’s IT Lab · 5:58 · Read the synchronized transcript

Interpret the evidence

192.0.2.64
A /26 has 64-address boundaries. The .64 through .127 block has .64 as its network address.
192.0.2.127
The final address in the .64/26 block is its directed broadcast address.
192.0.2.126
The last usable host in the .64/26 block is one below its broadcast.
192.0.2.128
The next /26 boundary after .64 begins at .128.

Practice the guide skills

  1. For 198.51.100.96/27 calculate the network, broadcast and highest usable host. Check the lowest host against a proposed router address.
  2. Write an IOS interface address and mask for the gateway. Use show ip interface brief and the connected route to verify state and prefix.

Official objectives for this lesson

Configure a gateway in an isolated IOS topology

An Ethernet LAN uses 198.51.100.96/27. Give the router its first usable address. These lines illustrate the interface configuration in a lab.

interface GigabitEthernet0/0
 ip address 198.51.100.97 255.255.255.224
 no shutdown

After returning to privileged EXEC, use show ip interface brief and show ip route connected. Expect the interface address .97 and the connected network .96/27 when the interface is up/up.

Related lesson · Lay out non-overlapping IPv4 subnets for a branch

Knowledge check

Allocate and verify IPv4 host ranges quiz

Answer 3 questions. Check each answer for an explanation.