Tiza Group

Home / Guides / Testing, commissioning and faults

Gateway That Stops Routing Between Networks

Find why a gateway or router stops passing messages between networks: routes, VLAN, return path, firewall rules, redundancy and MTU.

By Shadai García, CEO and protection engineer at Tiza Group.

Short answer

When two networks stop seeing each other through a gateway, something has almost always changed: a configuration that was never saved, an interface or VLAN that went down, a missing forward or return route, a new rule, or a failover to a standby unit that is not identical. Testing hop by hop and capturing on both sides of the device shows where the packet is lost.

Symptom

Two networks that used to talk to each other stop doing so. The control center cannot reach the devices of a bay, the engineering station cannot open a session with the IEDs, the event server stops receiving records, or only one protocol fails while the others carry on. Inside each network everything looks normal. Sometimes the cut is total; sometimes it is one-way: the request arrives and the answer never returns, or small packets pass and large transfers stall.

Here “gateway” means the device that joins different networks: a router, a firewall, a layer 3 switch or a computer with two network cards. What each one does and how it is sized is covered in the parent guide, substation industrial firewall and router.

Likely causes, from most to least likely

CauseHow to recognize itWhat confirms itWhat rules it outWhat to do
Running configuration never savedFailure right after a power loss or restartUptime matches the start of the failure and the saved configuration differs from the last approved oneRunning configuration equals the approved oneRestore the approved version and save it
Interface, port or VLAN downA whole subnet is lostPort without link, VLAN missing on the trunk or port in the wrong VLANThe interface answers from a device in its own subnetFix cabling, optics or tagging
Forward route missing or next hop unreachableThe router answers, the remote destination does notThe routing table lacks the prefix or points to a silent hopRoute is active and the next hop answersRestore the static route or the dynamic adjacency
Missing return route or wrong default gateway on the destinationThe packet arrives and no answer reaches the sourceCapture at the destination: request comes in, reply leaves another way or not at allThe reply is seen coming back through the routerCorrect mask, gateway or route on the remote device
Filtering or address translation ruleOne port or protocol fails while ping passes, or the oppositeThe deny rule counter rises when the test is repeatedThe log shows the flow permitted and the packet leavesAdjust the rule with a controlled change
Failover to a poorly configured standby unitStarts after a failure or maintenance of the main oneThe active unit of the pair is the standby and it lacks routes or rulesBoth units are identical and the expected one is activeSynchronize the pair and test the failover
Duplicate default gateway addressWorks intermittentlyThe hardware address tied to the gateway changes in the ARP tableThe hardware address is stable and is the router’sRemove or readdress the intruding device
Smaller maximum packet size along the pathLogin works and downloads hangSmall packets pass and large ones fail with fragmentation forbiddenFull size passes both waysAdjust the MTU on the tunnel and allow the necessary ICMP messages

How to diagnose it

  1. Define one pair that fails and one that works. Note source, destination, protocol, port and since when. “No network” cannot be measured.
  2. Check the source. Address, mask and default gateway must be consistent: the gateway has to belong to the device’s own subnet.
  3. Test hop by hop. First the default gateway, then the other router interface, then the destination. The first step that does not answer bounds the segment. A device may ignore ping and still be healthy.
  4. Read the router’s routing table. Look for the destination prefix and the source prefix. With dynamic routing, verify that the adjacency is up.
  5. Capture on both sides of the device. If the packet goes in and does not come out, the router is responsible: route or filter. If it leaves and does not return, look along the path or at the destination. If it never arrives, the problem is earlier.
  6. Check both ARP tables of the adjoining segments and compare them with the hardware address inventory.
  7. Compare configurations. Running, saved and last approved, and main against standby if there is redundancy. VRRP, described in RFC 9568, lets a backup router take over the virtual address, but it does not copy routes or rules by itself.
  8. Test the size. Send increasingly large packets with fragmentation forbidden. The point where they stop passing shows the effective path MTU.

Illustrative example

After an engineering station is replaced, it cannot reach the relays. It was given address 10.20.10.5 with a /26 mask and default gateway 10.20.10.65. A /26 mask makes blocks of 64 addresses, so the station belongs to the block 10.20.10.0 to 10.20.10.63. Gateway .65 falls in the next block and the station cannot use it. The router was fine; the default gateway was corrected to the address the network plan assigns to that subnet, for instance .1. The case is illustrative.

Field checklist

  • Gateway power, link lights and ports checked.
  • Last start-up time compared with the start of the failure.
  • Address, mask and default gateway of source and destination verified.
  • Hop-by-hop test in both directions written down.
  • Routing table, adjacencies and ARP table saved before changing anything.
  • Counters and logs of the filtering rules reviewed.
  • Active unit of the redundant pair identified.
  • Captures on both sides with synchronized clocks.
  • Packet size test if there is a tunnel or VPN.

What to do

Reading states, logs and tables, and checking cables and addresses, can be done on site without risk to the network. Changing routes, VLANs or rules belongs to whoever manages the network, with a configuration backup, an agreed window and a way back: a mistake on the device that joins the networks can leave the whole substation without telecontrol, including your own remote access. After the fix, save the configuration, repeat the test from both sides and update the IP and VLAN plan. If there is a standby unit, force a scheduled failover and confirm that the same tests pass. Where VLAN tagging is involved, check it against IEEE 802.1Q on both ends of each trunk.

What not to do

  • Do not restart the device before saving logs and tables: you lose the evidence and, if it was not saved, part of the configuration.
  • Do not add a permit-all rule “just to test” on a network in service.
  • Do not enable IP forwarding on a gateway or server without checking which zones it joins.
  • Do not run address or port sweeps against protection devices without authorization.
  • Do not touch fibers or ports on a live panel without a work permit and without knowing which signals use them, including trips.

When to call us

If the packet is lost inside the device and you cannot see why, if the failure only appears on failover, or if you need to put the routes, VLANs and rules of a substation in order without cutting it off, we review configurations and captures with your staff on site. We configure it remotely: tell us which networks cannot see each other.

Open it in Tiza Designer: IP and VLAN address plan.

References

  • IETF RFC 1812, Requirements for IP Version 4 Routers.
  • IETF RFC 9568, Virtual Router Redundancy Protocol (VRRP) Version 3 for IPv4 and IPv6.
  • IEEE 802.1Q, Bridges and Bridged Networks.
  • IEC TR 61850-90-4:2020, Network engineering guidelines.
  • IEC 62443-3-3, System security requirements and security levels.

Frequently asked questions

Why do devices on the same network see each other but not those on another?

Because traffic inside one subnet does not need a router. To leave it, each device sends the packet to its default gateway, the router needs a route to the destination and the destination needs a route back. If any of those pieces is missing, local communication stays normal and communication between networks fails.

Should a protocol gateway route IP packets between its two ports?

Not necessarily. A substation gateway usually collects data on one network and republishes it on another without forwarding packets between its interfaces, which keeps the networks separate. Before enabling IP forwarding, check the design: it can open a path that no firewall watches.

Does GOOSE go through a router?

Conventional GOOSE is a link-layer message with no IP address, and a router does not forward it between subnets. Carrying it between networks calls for routable GOOSE or a layer 2 extension, and both need their own design.

WhatsApp