Troubleshooting
Why TIA Portal accessible devices search is empty over a VPN
Short answer
The panel answers ping because ping is an IP service your VPN routes, but the accessible devices search sends PROFINET DCP identify frames, which are Layer 2 Ethernet multicast that neither VMware NAT nor the tunnel forwards. Run the search only with the engineering PC on the panel's local segment, and run the remote session by addressing the panel directly at its IP through the tunnel.

On this page
A TP1500 Comfort that answers ping through a Cosy 131 tunnel but never appears in TIA Portal's accessible devices search is not misconfigured — the search uses a protocol your path cannot carry. Ping travels as IP, and VMware NAT, the host's routing and the tunnel forward IP packets in both directions, which the working ping already proves. The accessible devices search sends PROFINET DCP identify frames: Layer 2 Ethernet multicast with no IP header. A NAT engine and a routed VPN have nothing to act on, so the frames never reach the panel's segment and the list stays empty. PRONETA comes up empty for the same reason, because it discovers with DCP too. The decision is a split: run discovery only with the PC on the panel's local switch, and run the remote session by addressing the panel at its configured IP through the tunnel.
What each symptom tells you #
Each observation in this setup maps to one conclusion, and together they leave one cause standing:
| Observation | What it proves |
|---|---|
| The VM pings the panel through VMware NAT | The whole IP path — guest, host, tunnel, plant LAN, panel and back — routes in both directions. |
| The accessible devices search returns nothing | The failing traffic is discovery, not IP; an empty list is the expected result on any NAT or routed path. |
| PRONETA finds nothing either | PRONETA discovers with the same DCP mechanism, so the cause is the path, not the project or the tool. |
| Setting the panel's gateway to the tunnel router changed nothing | A gateway shapes off-subnet IP replies only and never sees discovery frames, so it cannot matter here. |
| The tunnel client works on the physical PC, but the guest cannot ping the router once the client is installed there | The client's virtual adapter belongs to the host operating system; a NAT guest has no direct path to it. |
Why the search stays empty on a routed path #
The accessible devices search and PRONETA both find devices with PROFINET's Discovery and Configuration Protocol, DCP. An identify request goes out as an Ethernet multicast addressed to the PROFINET multicast address 01-0e-cf-00-00-00 and carries no IP header; every station in that segment answers with its device name, MAC address and configured IP, and those answers are what fill the list. Because the frame has no IP header, a router, a NAT engine or a routed tunnel has nothing to forward: the frame belongs to exactly one Layer 2 domain and stops at the first Layer 3 boundary. The tunnel vendors document this behavior for their own products: the engineering tool's PN-DCP discovery packet is not carried across the VPN connection, which is why ping and the browser work while the search returns nothing.
VMware's NAT network is a virtual router. The guest sits on a private virtual switch and the host translates its IP traffic, so a multicast from the guest never reaches the physical NIC, and a multicast on the plant switch never reaches the guest. The Cosy 131 tunnel sits at Layer 3 in the same way: the remote-access client hands the PC an IP route into the plant subnet, so ICMP and TCP cross while the identify frames stay on the panel's segment. The same confinement is why a BOOTP/DHCP discovery tool fails over a VPN — both are discovery protocols that live below IP and that a routed path will not carry.
That also settles the idea of installing TIA Portal on the physical PC as the next test: while the path is the tunnel, the search stays empty, because the frames die at the same boundary whichever machine runs the software. The physical machine matters for a different reason — the tunnel client must run on the same operating system as the engineering software — and for on-site work, where a PC plugged into the panel's switch shares its Layer 2 domain. The mechanism and its remedies are laid out in the DCP forwarding fix for an empty accessible devices list.
Checking 10.154.25.25 against the routed plant subnet 10.154.25.0/24 #
The inputs, and where each comes from:
- Panel address and mask: 10.154.25.25 with 255.255.255.0 — the configured addresses of the panel in this setup.
- Subnet the tunnel routes: 10.154.25.0/24 — the plant LAN, whose router is the tunnel endpoint at 10.154.25.131.
- IP services under test: ping (ICMP), the panel's web page (TCP) and a download addressed to the panel's IP (TCP).
- Discovery traffic: DCP identify frames — Ethernet multicast, no IP header.
The rule, in words: an IP service crosses the tunnel only when the target address belongs to the subnet the tunnel routes. Membership is tested by ANDing the address with the subnet mask, octet by octet; if the result equals the routed network address, the address is inside and IP traffic reaches the panel, and if it differs, the route is absent or ambiguous. DCP is not an IP service, so the test has nothing to act on: there is no header for a router, a NAT engine or a tunnel to read.
10.154.25.25 AND 255.255.255.0
10 AND 255 = 10 (255 keeps the octet)
154 AND 255 = 154
25 AND 255 = 25
25 AND 0 = 0 (0 clears the octet)
= 10.154.25.0
The masked address is 10.154.25.0, and the routed network 10.154.25.0/24 has exactly that network address, so the panel's address sits inside the routed subnet. That is the arithmetic behind the working ping: ICMP, the web page and a download addressed by IP are all routable through the tunnel. The identify frame never enters this arithmetic — as an Ethernet multicast with no IP header it is stopped at the first Layer 3 boundary, the NAT layer for the guest and the tunnel for a physical PC — so the empty list is built into the path, not caused by the panel, the project or TIA Portal.
Decision: when the masked address equals the routed network address, work the remote session by IP and treat the empty accessible devices list as the expected result. When it does not — an engineering laptop reusing the plant range in the office, for example — fix the overlap before trusting any connection test, because the route is ambiguous.
Running the session when discovery cannot work #
- Run the tunnel client on the machine that runs the engineering software — the physical PC here. Installing the client in the guest instead breaks the guest's ping to the router, because the client's virtual adapter and its driver belong to the host. If the engineering software must stay in a VM, the adapter and routing conditions that make a guest-side client work are covered in running a remote access VPN from a VM in NAT mode.
- Bring the tunnel up and prove it end to end: connect the client, ping the router's LAN address, and open the router's web page in a browser. Management traffic crossing the tunnel proves the route into the plant LAN.
- Point TIA Portal at the interface that holds the route to the plant subnet — on the physical PC that is the tunnel client's virtual adapter. With several adapters active, check the PC's routing table so the choice is not a guess.
- Keep the project's device address as configured and start the download to the device. Because discovery cannot cross the path, enter the panel's address by hand when the dialog offers a target, or use the address stored in the project. If ping works but the program download still fails, the causes sit one layer up and are covered in ping works but PLC program download fails over remote access.
- One safety note: a download replaces the program the machine runs, so put the line in a safe state and do the transfer in a maintenance window. On the panel, confirm transfer is enabled in its control panel so the download is accepted.
- For work on site, set the VM's network adapter from NAT to Bridged, give the guest an address in the plant subnet outside the panel's and router's addresses, and rerun the accessible devices search. With guest and panel in one Layer 2 domain, the panel appears in the list with its name, IP and MAC address.
Checks that confirm the diagnosis #
- Ping the tunnel router's LAN address from the PC: replies prove the route into the plant LAN.
- Ping the panel address through the tunnel: replies prove the plant LAN answers and the panel's return path works — the gateway setting is already correct, and no change to it is needed.
- Open the panel's web page through the tunnel: proves TCP services cross, not just ICMP.
- On site, run the accessible devices search with the PC or a bridged VM on the panel's switch: the panel must appear. If it does not, the usual causes are the wrong interface selected for online access, a managed switch filtering multicast, or the PC firewall blocking the engineering tool.
- Through the tunnel, an empty search beside a working IP connection is the expected result — do not chase it as a fault.
The decision for each case #
- On site, PC or bridged VM on the panel's switch: use the accessible devices search and discovery tools normally — DCP works on a shared Layer 2 domain.
- Remote through the tunnel: skip discovery. Ping, the web page and downloads addressed by IP all work, and an empty accessible devices list is normal.
- A device with no name or address yet: its commissioning traffic is DCP too, so do the initial naming on the plant segment; the controller-side workaround is described in the FAQ.
Questions asked
Can a brand-new panel be named and given an address through the tunnel?
No. PROFINET assigns a device name and address over the same DCP frames as discovery, so an unconfigured device must sit on the plant switch for initial commissioning. The documented workaround is to let the controller assign the name and address to each device, which requires a fixed port topology in the controller project so every port assignment is defined. Otherwise, plan initial naming for a visit or a colleague on site.
Why does setting the panel's gateway to the tunnel router not help the search?
A default gateway is consulted only for IP packets whose destination lies outside the panel's own subnet, so it steers where the panel sends replies to the remote client and nothing else. DCP identify frames carry no IP header and are never routed anywhere, so no gateway setting can move them across the tunnel. The working ping already proves that gateway is correct.
Does moving TIA Portal from the VM to the physical PC fix the empty search over the tunnel?
Not by itself. The search fails because the path is routed, not because of which machine runs the software, so a physical PC through the tunnel gets the same empty list. Moving to the physical machine matters because the tunnel client must run on the same operating system as the engineering software, and it also avoids the guest-side problem where a client inside a NAT guest cannot reach the router at all.
The plant and my office network use the same subnet range, does that matter?
Yes. If the office laptop sits in the same subnet the tunnel routes, the PC delivers plant-bound traffic to its local network instead of into the tunnel, and connections land on the wrong devices or nowhere. Change the office or laptop addressing so no site reuses the plant range, and check the routing table before a session. That is the failed case of the subnet check above: fix the overlap before testing.
The panel shows up on site but the download still fails, what next?
Discovery and connectivity are solved at that point, so look at versions and project data. Check that the TIA Portal version supports the firmware level the panel runs, since a migration in one version can target a different firmware than the device carries. Confirm the panel is in transfer mode or running with transfer enabled, and that the project's device selection matches the panel as ordered.


