Troubleshooting
Why a BOOTP/DHCP discovery tool fails over a VPN
Short answer
No gateway or binding makes the remote LAN appear in a BOOTP/DHCP utility's connection list: the list shows local adapters, and a routed VPN does not extend the remote broadcast domain, while ping proves the unicast route already works. First correct wrong addresses in the application and the router's permitted-device list, then connect by explicit IP and run broadcast discovery from the machine's own LAN.

On this page
- The connection list shows adapters, not routes
- Broadcast discovery and routed unicast are different jobs
- Worked example: reading the route for a device at 10.10.45.20 over a TAP adapter at 10.23.130.182
- Check the two addresses before changing anything
- The direct-addressing test
- What each observation points to
- The decision for each case
- Questions asked
No gateway, route or binding will make the machine LAN appear in a BOOTP/DHCP utility's connection list, and none is missing: ping succeeding proves the laptop already routes that subnet through the TAP Windows Adapter. The utility lists local adapters, not routed destinations, and it discovers devices with a broadcast that a routed VPN cannot carry. So work in this order. First verify the two addresses that most often produce this exact complaint — the device IP in the router's permitted-device list and the destination saved in the application — then connect by explicit IP, and run broadcast discovery from the machine's own LAN.
The connection list shows adapters, not routes #
When a client such as eCatcher connects you through a remote-access router such as an eWON, it installs a virtual adapter on the laptop — Windows shows it as TAP Windows Adapter — with an address of its own. The machine LAN never becomes an adapter. It exists on the laptop only as routing-table entries that point through the TAP adapter, which is exactly how a VPN gateway on a controller routes you to the machine LAN.
A connection-selection dialog enumerates adapters and the addresses bound to them. It can offer the TAP adapter, the Ethernet port and Wi-Fi; it cannot offer a subnet that exists only as a routing entry. The list looks the same no matter what you associate, bind or add, because the address it shows belongs to the adapter and the machine LAN sits behind it.
Broadcast discovery and routed unicast are different jobs #
BOOTP and DHCP put the device, not the utility, in the initiator's seat. Under RFC 951 and RFC 2131 the device broadcasts its request on its own link: destination 255.255.255.255, UDP port 67 for the server side, replies to port 68. The limited broadcast address is defined in RFC 919 and is never forwarded off its link, so a utility hears a device only from an interface on that same link.
Ping is the opposite kind of traffic: unicast to a known address, forwarded hop by hop. Windows selects the most specific matching route, the longest prefix, and decides equal prefix lengths by the lower metric. A routed VPN is built for exactly that traffic: it carries unicast between subnets while keeping the two broadcast domains separate, the working principle of the routed IPsec VPN setup for reaching OPC data behind grey IPs.
Worked example: reading the route for a device at 10.10.45.20 over a TAP adapter at 10.23.130.182 #
Inputs, each with its source:
- TAP Windows Adapter address: 10.23.130.182 — the address the VPN client reports for the session in this failure case.
- Machine LAN: 10.10.45.0/24, mask 255.255.255.0 — the remote subnet the utility fails to list; the subnet is the reported one, and the /24 is this example's assumption.
- Example device: 10.10.45.20 — an illustrative host on that LAN.
- Routing entries, read with
route printwhile connected: 10.10.45.0/24 on the TAP interface, plus the default route 0.0.0.0/0. - Discovery destination: 255.255.255.255 — fixed by the BOOTP/DHCP standards, not by you.
The rule: the operating system ANDs the destination with each route's mask and keeps the routes whose result equals the route's prefix; the longest matching prefix wins.
Unicast to the device: 10.10.45.20 AND 255.255.255.0 = 10.10.45.0, which equals the /24 route's prefix — a match, prefix length 24. The default route matches too, because any address AND 0.0.0.0 gives 0.0.0.0, but its prefix length is 0, and 24 beats 0. The packet leaves through the TAP adapter with source 10.23.130.182 — which is why ping succeeds.
The discovery broadcast: 255.255.255.255 AND 255.255.255.0 = 255.255.255.0, which does not equal 10.10.45.0, so the /24 route does not match at all. The utility does not route this packet; it sends it on the one connection you selected, and even a routed copy would stop at the first hop, because the limited broadcast never leaves its link.
Result: on the same laptop in the same session, unicast to the explicit address crosses the VPN while the discovery broadcast cannot.
Decision: the gate is one ping reply. The moment ping returns from the explicit address, the path is proven and no gateway, route or binding can improve discovery — stop changing the network and change where the discovery runs. Zero replies means unicast itself is broken; fix that first, because no broadcast will ever cross a path that cannot carry a ping.
Check the two addresses before changing anything #
Read the exact destination from the failing application and compare it character for character with the address that answers ping. Then read the router's permitted-device list — in the management application, right-click the device and open properties > LAN & Firewall > Configure LAN Devices — and confirm the entry names that same address. One entry authorizes exactly the address it contains; a neighboring address on the same LAN stays unreachable.
In documented cases of this exact symptom, the supposed VPN fault dissolved at this step: one wrong device IP in the router's firewall list, one wrong target saved in the application. No gateway or reinstall would have fixed either. Make that edit only while someone can still reach the machine locally, because removing the wrong entry cuts your own remote path to a running machine.
The direct-addressing test #
- If the utility accepts an explicit target address, enter the device's IP and connect. A successful connection proves the VPN carries the application's unicast; the empty discovery list is then a broadcast limitation, and that verdict is final.
- Keep explicit addressing for engineering over the VPN, and treat discovery as a separate task with two legitimate homes: the machine's own LAN, or a manufacturer-supported method that does not rely on the broadcast.
- If the utility has no explicit mode, the decision is to run that commissioning operation locally. Nothing on the router turns a routed VPN into a Layer-2 extension, and a manual route only changes unicast forwarding — with ping already working, adding one risks diverting good traffic and still adds no row to the interface list.
- If explicit addressing fails as well, ping the same address. Silence from every device: reconnect the session and read
route printagain, checking whether the machine LAN overlaps a subnet already present on the laptop. Silence from one device: its entry or its own IP setup. Ping answered but the service dead: the path is fine, so check what the device entry permits beyond ping and whether the service is running on the device — ping proves only the IP round trip, the same split behind ping works but PLC program download fails over remote access.
What each observation points to #
| Observation | Most likely cause | Action |
|---|---|---|
| Ping and other software work; the discovery utility finds nothing | Broadcast discovery cannot cross a routed VPN | Use explicit IP; run discovery on the machine LAN |
| The connection list offers the TAP adapter but never the machine LAN | The dialog enumerates adapters, not routed subnets | Expected behavior; nothing to fix |
| One application fails while others reach the same device | Wrong saved address or wrong selected interface in that application | Correct the address; retest with explicit IP |
| No application reaches one device | Wrong device IP in the router's permitted-device list, or the device's own IP setup | Correct the entry; confirm the device's address locally |
| Ping fails to every permitted device | Session or routing problem | Reconnect; read route print; check subnet overlap |
The decision for each case #
- Wrong address in the application: correct it, retest, done — nothing else moves.
- Wrong address in the router's device list: correct the entry, retest ping, done.
- Addresses right, ping answered, explicit-IP connection works: keep explicit addressing over the VPN and run BOOTP/DHCP commissioning from the machine LAN. This is the standing answer for discovery utilities.
- No explicit mode in the utility: run it locally. That is the whole fix; stop looking for a router-side setting.
- Ping failing: fix unicast first — session, route, overlap — because no discovery works over a path that cannot carry a ping.
Then disconnect and reconnect the VPN once and repeat the explicit-IP connection, proving the result does not hang on a stale session or a temporary route. Record the destination the application uses, the matching device entry, and whether the connection was explicit-IP or discovery: that record separates a repaired address error from the broadcast limit that will still be there next time.
Questions asked
Can a DHCP relay or IP helper on the machine LAN deliver discovery to my laptop over the VPN?
A relay agent on the machine LAN can convert a device's broadcast request into unicast toward one configured server address on UDP port 67, and that server would have to be your laptop's VPN address for the utility to answer. Most industrial remote-access routers do not document such a relay, and the utility must also accept requests that arrive as unicast. Unless the router's own documentation names the feature, treat broadcast commissioning as a local-LAN task.
Why does the utility show the TAP adapter's subnet, and is that address stable?
The utility lists the addresses bound to local adapters, and the VPN client gives the TAP Windows Adapter an address from the VPN service's own pool, not from the machine LAN. That is why the subnet it shows looks unrelated to the devices being commissioned. A later session can hand the adapter a different address, so never hard-code it into an application or a route you intend to keep.
Ping reaches the device but the engineering service still fails over an explicit IP, so what else filters it?
Ping proves only that IP packets complete the round trip. The device entry can permit an address while restricting the ports and services toward it, and the engineering protocol must also be enabled and listening on the device. Test a second application known to use explicit addressing, read what the entry allows beyond ping, and check the service state on the device before changing any route.
Another VPN or corporate adapter is active on the same laptop; can it take over the route?
It can. Windows sends each packet out the route with the longest matching prefix, and equal prefix lengths are decided by metric, so a corporate VPN or second adapter publishing a more specific route to the machine LAN takes the traffic. Run route print with everything connected, compare the prefix lengths and metrics for that subnet, and disconnect the competing adapter while you test.
