Skip to content
S3U
Login Create Account

Science / Networking / Grade 8 / sn8p2

Subnet Routes: Local or Gateway?

Use the prefix, not just similar-looking addresses, to choose a next hop.

All worksheets

Watch the lesson | Try the subnet repairs in Network Workshop

5 questions0m 0s

Learn first

Networks connect devices

A network lets devices exchange data. An address identifies a destination within a system. A packet is a piece of transmitted data. A route is a path through connections.

How to work it out Read the addresses, links, and rules shown. Distinguish a device’s local task from a router’s forwarding decision.

A separate example In a separate diagram, an intermediate router forwards a packet toward another network; it is not automatically the final destination.

Learn the skill

In this model the laptop has one connected LAN, its ordinary connected route and a default gateway, with no extra routes. Compare the destination with the laptop's block using its prefix. Send locally for a host inside that block; otherwise use the nearby gateway interface. Correct route selection alone does not establish service availability, delivery or security.

Worked example

Separate example: a laptop at 192.0.2.90/26 belongs to 64-127. Host .110 is local. Host .40 is outside, so the next hop is the nearby gateway .65, not a router interface on the far LAN.

Separate worked example: laptop .90/26 and Archive .110 use the 64-127 LAN. Router interface .65 is nearby; its .1 interface connects to Observatory .40 on the 0-63 LAN. All addresses begin with 192.0.2.
Worked example only. Apply the same method to the different /25 records below.

Upper workshop LAN / fictional route records

All addresses begin with 192.0.2. The actual workshop LAN is 128/25. Its laptop is .170/25, nearby gateway .129 and Archive .190. Observatory .70 is on the separate 0/25 LAN, where the router's other interface is .1. Links, onward and return routes work. No extra routes apply. For one question, only the laptop is mistakenly set to /24; physical connections and other settings do not change.

Question 1 With the correct /25 prefix, how should the laptop reach Archive .190?
Question 2 With the correct /25 prefix, what next hop should the laptop use for Observatory .70?
Question 3 What mistake does the laptop make if only its prefix changes to /24?
Question 4 For the correct 128/25 LAN, how many ordinary host addresses exist before subtracting occupied ones?
Question 5 What does choosing the correct next hop establish by itself?