Low-voltage path · Division 11: Networks for low-voltage technicians · Lesson 201

Map endpoints switches routers and gateways

Free for apprenticesRead it or play it. No card, no account, nothing to cancel.
Map endpoints switches routers and gateways

What you should be able to do

Draw a small low-voltage network showing endpoints, switching and routing functions. Identify the default gateway without assuming every physical box has only one function. This lesson is an original fictional IPv4 exercise; it is not an instruction to reconfigure a site.

Start With The Equipment's Job

An endpoint originates or receives the application traffic of interest. Examples include an IP camera, an access-control panel, a recorder and a technician workstation. A device can serve several roles, so describe the function being mapped rather than relying only on its product name.

On a physical map, record device ID, location, cable ID, patch-panel position and switch port. On a logical map, record the approved IP address/prefix, VLAN or network zone, gateway and relevant application relationships. A neat physical line between two boxes does not prove they have compatible logical settings or permission to communicate.

Where beginners go wrong

Mistake: Drawing the switch management IP as every endpoint's gateway. Correction: Identify the routing interface in the approved plan; a management address alone does not establish routing.

Mistake: Putting camera and recorder on the same logical LAN because their cables enter one switch. Correction: Record each port's VLAN and each endpoint's prefix before drawing a local path.

Mistake: Drawing the default gateway only when there is an Internet connection. Correction: Show the local router interface used for the remote internal subnet; keep Internet access as a separate design question.

Primary-Source Basis

Cisco describes LAN switching in terms of MAC-address forwarding and routing between networks in terms of IP addresses. It also explains that some switches perform routing functions. Thus the distinction concerns the configured function, not simply the label on a chassis. Source: https://www.cisco.com/site/us/en/learn/topics/networking/what-is-network-switching.html

Microsoft explains that an IPv4 subnet mask distinguishes the local subnet from remote networks and describes the default gateway as the router used to reach other networks. This lesson uses explicit /24 prefixes rather than inferring the mask from an address's historical class. Source: https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/tcpip-addressing-and-subnetting Sources accessed 2026-09-30. The worked topology, addresses and exercises below are original.

Trace The Local Path

The camera sends traffic to 192.168.10.30. Given the stated /24 mask, both addresses belong to 192.168.10.0/24. In this simple topology, the camera resolves the local destination's link-layer address as needed and sends through the switch to the recorder. No router hop is required for this local path.

This does not mean every frame is always sent to one known port. Address resolution and some traffic involve broadcast, and switch forwarding behavior depends on what has been learned. Nor does being local guarantee application access: port isolation, access controls, endpoint settings and service availability can still matter.

Trace The Routed Path

Now consider traffic from the camera to a fictional server 192.168.20.50/24. This destination is outside the camera's local /24. With the example's default route and no more-specific matching route, the camera uses 192.168.10.1 as its next hop.

The IP destination remains the remote server; the local Ethernet delivery is to the gateway's link-layer address. The router then uses its routing information to forward toward the destination network. Successful two-way communication also needs a valid return path and permitted traffic. In this exercise a host on the other subnet can use 192.168.20.1 as its appropriate gateway. The drawing does not claim a firewall or service will allow every requested connection.

Default Gateway Does Not Mean Internet

The gateway here reaches another internal subnet. There is no internet cloud in the diagram because an internet connection is not necessary to explain routing. A campus can route between internal buildings or network zones without making a camera publicly reachable.

A DNS server translates names under its configured service; it is not the same role as a default gateway. A DHCP server can provide settings; it is not necessarily the device that routes the traffic. Record each function separately even when one physical appliance provides several of them.

Switch Management Address

A managed Layer 2 switch may have its own IP address so authorized staff can administer it. That address alone does not make it the endpoints' router. Conversely, a Layer 3 switch can provide a routing interface and serve as a gateway when designed and configured for that purpose. Identify the actual function and interface in the approved documentation.

Multiple Vlans

Ports on one physical switch can belong to different VLANs. Therefore "plugged into the same switch" is not sufficient evidence that two devices share a LAN. Record the relevant port/VLAN assignment rather than changing addresses until something responds. Do not use the poster's fictional addresses on an operating network.

Original Mapping Exercise

Write the camera's physical path to the recorder: camera cable, patching, switch port, switching function and recorder connection. Then write the logical path for the same destination: local subnet, local destination and no router hop in this stated example. Finally write the remote-server path: camera, switch, local gateway interface, router's other network and server. Compare the maps. The local and remote journeys share an initial cable, but the logical destination decision differs.

A drawing with a cable labeled "fiber" still needs those logical details. Fiber describes a transmission medium; it does not automatically indicate routing, a separate subnet or internet access. Later fiber lessons address medium selection, optics and long-distance design in depth.

Worksheet

Device ID and role: Physical location and port/cable references: IP address and prefix: VLAN/network zone: Default gateway if required by the design: Local application destinations: Routed destinations and approved dependencies: Evidence source and date: Unknown item and responsible network owner:

Knowledge Check

  1. Does a switch management address automatically serve as a gateway? No.
  2. Do devices on the same physical switch necessarily share a VLAN? No.
  3. Does every packet pass through the default gateway? No; the local route and any more-specific routes matter.
  4. Does a gateway imply an internet connection? No.
  5. In this example, are .10.20/24 and .10.30/24 local to each other? Yes, with the stated common LAN/VLAN.
  6. Can a Layer 3 switch route? Yes, when configured to provide that function.

Work Out Whether A Destination Is Local

The local-or-routed decision is mechanical, and doing it mechanically is the point. Take the sending endpoint's address with its prefix length, work out the block that prefix describes, and ask whether the destination falls inside that block. If it does, the endpoint delivers on the local network. If it does not, the endpoint hands the traffic to its configured gateway. Nothing about the destination's appearance enters the decision.

A 24-bit prefix is the easy case because the block boundary lands on an octet. The block 192.168.10.0/24 contains 256 addresses, of which 254 are available for endpoints once the network's own identifier and its broadcast address are set aside. Two addresses whose first 3 octets match are in the same block, and that is why the camera and recorder in the poster need no router between them.

Shorter and longer prefixes do not land on octet boundaries, and that is where the guessing starts. Consider a fictional camera at 10.40.8.70 with a 25-bit prefix. A 25-bit prefix describes 128 addresses, so this block runs from 10.40.8.0 to 10.40.8.127 and offers 126 usable endpoint addresses. A destination of 10.40.8.100 is inside that block and is local. A destination of 10.40.8.200 is not, because it belongs to the next 128-address block starting at 10.40.8.128, even though 3 octets still match.

That last pair is the one to remember. Matching octets are not the test; the prefix is the test. Write the prefix length on every address in the map, and write it even when the whole site uses the same one, because the day a different prefix appears is the day somebody reads an address without it and reaches the wrong conclusion.

A Third Subnet And A Second Router Hop

Extend the poster with a fictional third network, 192.168.30.0/24, reached through a second router whose 2 interfaces are 192.168.20.2/24 and 192.168.30.1/24. Nothing on the first 2 networks changes. Ask what the camera at 192.168.10.20 does when it sends to a fictional host at 192.168.30.60.

The camera's decision is exactly what it was before. 192.168.30.60 is outside 192.168.10.0/24, so with the example's default route and no more specific route the camera hands the traffic to 192.168.10.1. The first router forwards it toward the second router at 192.168.20.2, and the second router delivers it on 192.168.30.0/24. The traffic crosses 2 routers, and the camera knows about neither of them.

That is the useful conclusion. An endpoint carrying a single default route needs no edit at all when the network grows a third subnet; the new knowledge lives in the routers. So add a route to the camera is rarely the right first move when a new destination is unreachable, and an apprentice who starts editing endpoint settings has usually skipped the question of whether the routers know the way.

The return path is a separate fact and needs its own line on the map. A host on 192.168.30.0/24 reaches the camera's network through its own gateway at 192.168.30.1, and the second router must know a way back toward 192.168.10.0/24. One-way reachability is a common finding, and a map that draws only the outbound arrow cannot describe it.

Decide Local Or Routed For Five Destinations

The sending endpoint is the camera at 192.168.10.20 with a 24-bit prefix and a default gateway of 192.168.10.1, exactly as the poster states. For each of 5 destinations, say whether the camera treats it as local or as routed, and give the reason. The destinations are 192.168.10.1, 192.168.10.255, 192.168.20.1, 192.168.11.20 and 192.168.10.30.

Answer: 192.168.10.1 is local, because the gateway's own interface sits inside the camera's block like any other local address; the camera does not route to its router, it delivers to it. 192.168.10.255 is local, being this block's broadcast address rather than an endpoint. 192.168.10.30 is local, as the poster already establishes. 192.168.20.1 is routed, because it lies outside 192.168.10.0/24 even though it is an interface of the same router. That gives 3 local and 2 routed.

192.168.11.20 is the one that catches people. It differs from the camera's own address in a single octet and looks adjacent, but a 24-bit prefix puts it in a different block, so the camera treats it as routed and sends it to 192.168.10.1. Whether anything answers is then a question about the routers' knowledge and the permitted traffic, which the drawing does not settle.

Write the reason beside each verdict rather than the verdict alone. A column of the words local and routed proves nothing to a reviewer, while the same column with the prefix comparison written out can be checked by somebody who has never seen this site.

Also working toward the electrician journeyman licence? Take the free 15-question readiness check

Texas journeyman, 15 questions, scored by topic against the 70% mark. No card, and no account needed to start.

Free study material for low-voltage apprentices. This is a national foundation course: requirements differ by state and by local jurisdiction, and a practice that is common in one place is not a rule everywhere. Nothing here is a licence, a certification, or authority to work unsupervised, and completing it does not count as apprenticeship hours or continuing-education credit. Check the codes adopted where you are working, the licensing authority for that work, and your employer's safety programme. VoltMark is not affiliated with, endorsed by, or sponsored by NFPA, OSHA, NICET, BICSI, FOA, or any state or local licensing authority.

—
Help