# OPCUA connection with Siemens S7 Redundant PLC - virtual IP transfert issu

**URL:** <https://forum.inductiveautomation.com/t/opcua-connection-with-siemens-s7-redundant-plc-virtual-ip-transfert-issu/116078>\
**Category:** Ignition\
**Tags:** ignition83\
**Created:** [June 19, 2026, 2:26pm UTC](https://forum.inductiveautomation.com/t/opcua-connection-with-siemens-s7-redundant-plc-virtual-ip-transfert-issu/116078 "2026-06-19T14:26:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [June 19, 2026, 2:26pm UTC](https://forum.inductiveautomation.com/t/opcua-connection-with-siemens-s7-redundant-plc-virtual-ip-transfert-issu/116078/1 "2026-06-19T14:26:23Z")

</div>

Hi @Kevin.Herron,

We connect Ignition 8.3.7 to a **Siemens S7-1517R redundant cpu with OPCUA**  
The CPU use a **virtual IP** and Ignition use it to automatically connect to the master cpu opcua server.  
(Project was started in 8.1 before S7+ driver and for cybersecurity concern we will prefer to stay with OPCUA)

When we stop the master cpu, the other one became master and Ignition reconnect to the opcua server without any trouble.

The edge case, is when we **lose the network with the master (primary CPU)**, the PLC program need to use th RH\_CTRL control instruction to manually transfert the virtual IP address to the backup cpu, in order to be reachable by the opcua Ignition client, but the primary CPU is still the master cpu (as describe in the chapter 1.2 Use case and solution)  
Ignition connection go thru the backup CPU and the link between backup and primary.

our firmware is \> 4.0

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/e/deeed4456966bede80585a098ae82f5f1b8e9d23.png)

[Switching\_System\_IP\_RH\_Systems\_EN\_V1.1.pdf](https://forum.inductiveautomation.com/uploads/short-url/74W4rCGO8dYC0fjFrUjSbPDxUdP.pdf) (890.7 KB)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/c/2cdc825f7769898350c3480c4ded79420b6c0e38.png)

**In that case, Ignition subscriptions seems to be freezed and data are not updated.** With the virtual address transfert, it seems that Ignition doesn't detect that it has to renew its subscription ?  
If we disable/enable the opc client connection, everything is back to normal.

I will try to active logger

```python
com.inductiveautomation.ignition.gateway.opcua.client.connection.OpcUaSubscriptionManager 

```

to have mor diagnostics data.

- Should I reduce the time for the **keepalive settings on the connection** to try to force ignition opcua client to renew its subscription after the virtual IP transfert ?  
(connection lost is detected by the master cpu when ignitinon keepalive tag is no longer changing and then transfert the virtual IP. operation is about 5-10 seconds).  
Do you think this inernal keepalive management could by usefull in that case ?

- or perphap add an internal handler to monitor a keepalive tag and trigger a disable/enable on the connection if the state is connected and the keepalive value is no longer changing ?

- or did I miss something else ?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 19, 2026, 2:36pm UTC](https://forum.inductiveautomation.com/t/opcua-connection-with-siemens-s7-redundant-plc-virtual-ip-transfert-issu/116078/2 "2026-06-19T14:36:40Z")

</div>

Can you get a Wireshark capture that includes the failover occurring? I would need to see how that looks from the Ignition side to figure out if there is or isn't something we're doing wrong.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [June 19, 2026, 2:48pm UTC](https://forum.inductiveautomation.com/t/opcua-connection-with-siemens-s7-redundant-plc-virtual-ip-transfert-issu/116078/3 "2026-06-19T14:48:30Z")

</div>

Thanks, I don't have access to the PLC right now, but next monday I would be able to capture the traffic

---

<div class="post-metadata">

**Author:** ![lane.duncan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lane.duncan/32/83700_2.png) [@lane.duncan](https://forum.inductiveautomation.com/u/lane.duncan)\
**Post date:** [June 21, 2026, 8:07am UTC](https://forum.inductiveautomation.com/t/opcua-connection-with-siemens-s7-redundant-plc-virtual-ip-transfert-issu/116078/4 "2026-06-21T08:07:56Z")

</div>

> [@mazeyrat](#):
>
> but next monday I would be able to capture the traffic

Observing any differences in ARP packets from your working scenario vs your failed scenario might provide a clue.

See if the packets are getting sent to the correct MAC address after a switchover.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [June 24, 2026, 11:44am UTC](https://forum.inductiveautomation.com/t/opcua-connection-with-siemens-s7-redundant-plc-virtual-ip-transfert-issu/116078/5 "2026-06-24T11:44:00Z")

</div>

A link to download a wireshark capture and Ignition logs.  
Network to primary CPU is disconnected around 12h45

> **[Dropbox](https://www.dropbox.com/scl/fo/2na94gn89yuljfhdr4b6i/AN7oTxx4vrwOohCqbp_Pplw?rlkey=88u4kf9coscpggphara0s714l&dl=0)**

**I don't think there is any issue from Ignition opcua client connection.**

Some data seems not to be synchronized between both PLC CPU.  
We need to investigate this point in the PLC program.

When we focus on other data everything is fine.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 24, 2026, 12:14pm UTC](https://forum.inductiveautomation.com/t/opcua-connection-with-siemens-s7-redundant-plc-virtual-ip-transfert-issu/116078/6 "2026-06-24T12:14:18Z")

</div>

Logs look ok. Seems like all the subscriptions and monitored items get created again after reconnecting.

Wireshark capture only has 30 seconds of OPC UA traffic and it's not during that disconnect/reconnect period.
