CP1613 Duplicate MAC Address: Siemens WinCC V7 Troubleshooting

David Krause13 min read
Industrial NetworkingSiemensTroubleshooting
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

CP1613 Duplicate MAC Address: Siemens WinCC V7 Network Recovery

When a Siemens WinCC V7.0 SP3 redundant server-client system reports "CP1613: Duplicate MAC Address Detected" and the SCALANCE switches linked to those servers simultaneously enter a fault state, the entire S7 communication path to the field collapses. The error is not isolated to a single CP 1613 card: it is a layer-2 anomaly that propagates through the redundant ring, the managed switches, and every S7-300/400 PLC in the segment. This reference provides a complete diagnostic and recovery procedure, covering SIMATIC NET CP 1613 firmware behaviour, MAC address source-of-conflict identification, SCALANCE X switch restoration from a non-responsive state, and the verification sequence required to bring the SCADA system back online without re-introducing the fault.

1. Problem Description and System Context

The reported incident involves a running plant with the following components:

  • Two redundant WinCC V7.0 SP3 servers configured for failover.
  • SIMATIC S7-300 PLCs (CPU 317 family) connected via Industrial Ethernet.
  • SCALANCE managed switches in the plant ring.
  • SIMATIC NET CP 1613 PCI cards installed in the WinCC servers as the S7 communication interface.

Symptoms observed:

  1. WinCC Runtime / WinCC Explorer logs CP1613: Duplicate MAC Address Detected on the server side.
  2. The S7-300 PLCs drop off the WinCC tag list; archive tags stop updating; alarms stop arriving.
  3. SCALANCE switches report Fault on the LED panel and become inaccessible through the Web Based Management (WBM) interface and partially through the command-line interface (Telnet/SSH).
  4. CP 1613 power-cycle (warm restart) does not clear the error.
Critical context: A duplicate MAC on an Industrial Ethernet segment is a layer-2 broadcast storm trigger. SCALANCE X switches detect the storm and transition to a fault state (depending on redundancy manager / observer role) to protect the ring. Restoring communication therefore requires fixing the MAC conflict first, then recovering the switches.

2. CP 1613 Hardware and Driver Architecture

The CP 1613 (Siemens part numbers 6GK1161-3AA01 for the 32-bit PCI variant and 6GK1161-3AA02 for subsequent revisions) is a SIMATIC NET PC card that provides the SIMATIC S7 communication protocol stack directly on a Windows host. It is the supported path for WinCC V7.0 to talk to S7-300/S7-400 PLCs without exposing raw socket sockets to the operating system.

Parameter Specification
Bus interface PCI 32-bit, 33 MHz, 3.3 V / 5 V universal
Transfer rate 10/100 Mbps autonegotiation
Protocols ISO Transport, ISO-on-TCP (RFC 1006), TCP/IP, UDP, S7 communication, PG/OP, S7-OPC
MAC address source Factory-burned in EEPROM, used unchanged by SIMATIC NET NDIS driver
Configuration utility SIMATIC NET Configuration Console; "Set PC Station" / "Station Configuration Editor"
Driver model SIMATIC NET NDIS 5/6 miniport + S7 protocol stack bound as filter

Unlike a generic Intel/Broadcom NIC, the CP 1613 ships with a fixed MAC address burned into on-card EEPROM. The Windows TCP/IP stack reads this MAC and presents it to the OS. The SIMATIC NET Configuration Console binds the S7 protocol stack on top of the CP 1613 miniport; the diagnostic message "Duplicate MAC Address Detected" is emitted by the SIMATIC NET S7OPC / S7 channel layer when it observes the same 48-bit MAC originating from two different stations in the same broadcast domain.

3. Root Cause Analysis

A layer-2 MAC conflict has five common sources in an industrial environment. Work through them in the order listed, because some are obvious field causes while others only appear after the obvious ones are ruled out.

3.1 Replacement CP 1613 with Factory Default MAC

If a CP 1613 was replaced in one of the two redundant servers and the technician did not note the original MAC label on the card, the new card will advertise a factory MAC that, by chance or by mistake, is the same as the surviving card. Siemens assigns MAC blocks per production lot, so collisions across cards of the same batch are possible.

Action: Compare the MAC printed on the white label of each CP 1613 (typically 08:00:06:xx:xx:xx range for Siemens SIMATIC NET OUI). If both are identical, this is the cause.

3.2 Virtualization or Cloning

If either WinCC server was migrated to a virtual machine, the VM may have cloned the virtual NIC MAC. Equally, image-based deployment (Ghost, Acronis, WIM) can duplicate MAC if the image was taken before unique MACs were reassigned by sysprep. In a redundant pair, both servers were likely imaged from the same template.

3.3 Phantom / Re-fitted Hardware

An old S7-300 PLC, a partner SCALANCE X switch with backup module, or a previously decommissioned HMI panel that has been re-powered on the same subnet will present the conflicting MAC. Even though "no new device was added," a re-powered existing device is a frequent cause. Check the ELS (Engineering Lead Store) and the maintenance logs for any equipment that returned from repair.

3.4 Third-party Ethernet Device Cloning

Some industrial Ethernet tools (HMI panels, variable-frequency drives, embedded controllers) ship with vendor-assigned MACs that collide with SIMATIC OUI ranges. Check for any device on the segment that uses the same OUI prefix as the CP 1613.

3.5 Faulty Switch or Mirrored Port Behaviour

Rare but documented: a managed switch with a corrupted ARP table or a misconfigured port mirror can replay frames with a source MAC that matches the CP 1613, causing the CP to detect its own MAC as a duplicate.

4. Diagnostic Procedure

Execute the following steps on the WinCC server console. Replace <SEGMENT> with the Industrial Ethernet broadcast domain (e.g., 192.168.0.0/24).

4.1 Capture the Actual MAC of the Local CP 1613

Open a CMD on the WinCC server and run:
  getmac /v /fo list
Look for the entry bound to "SIMATIC NET CP 1613".
Record the Physical Address, e.g. 08-00-06-2A-B1-4F.

Cross-check the value with the white label on the physical PCI card. If they differ, the SIMATIC NET driver is overriding the EEPROM MAC — re-flash the EEPROM using the SIMATIC NET "Set MAC Address" tool from the installation DVD.

4.2 Identify the Offending Remote Station

From the WinCC server (or any engineering station temporarily bridged to the segment):

  1. Open Wireshark on the CP 1613 interface (or a span port of the SCALANCE).
  2. Filter on eth.addr == 08-00-06-2A-B1-4F (replace with the real MAC).
  3. You will see frames from two distinct source IP addresses using the same MAC — one will be the local CP 1613, the other the conflict source.
  4. Switch the Wireshark capture filter to arp and inspect gratuitous ARP replies; the duplicate-MAC perpetrator almost always broadcasts a GARP to claim the address.

4.3 Walk the SCALANCE Ring

If the SCALANCE switches are inaccessible via WBM, you must recover them before completing the MAC trace. Proceed to Section 5 first, then resume the MAC hunt with the switches healthy.

4.4 Static MAC Pinning on the SCALANCE

As an interim, on every reachable SCALANCE X in the ring:

  1. Open WBM > Layer 2 > Static MAC Addresses.
  2. Pin the WinCC server's CP 1613 MAC to its physical port.
  3. Enable "Discard unknown unicast" on all user ports (this contains the duplicate to a single port during the search).
Warning: Enabling "Discard unknown unicast" will block legitimate traffic until all PLCs are pinned. Apply only during a controlled outage window.

5. SCALANCE Switch Recovery from Fault State

When a SCALANCE X switch enters the fault state due to a storm, the web UI typically stays reachable on the standby CPU; the primary CPU may have rebooted. If both are unreachable, recover using the serial console.

5.1 Serial Console Procedure (SCALANCE X-200, XB-200, XC-200, XR-300 family)

  1. Connect a USB-to-RJ45 serial cable to the SCALANCE's console port (115 200 bit/s, 8N1, no flow control).
  2. Open a terminal (PuTTY, Tera Term).
  3. Reboot the switch (power-cycle or restart system at the prompt).
  4. Watch the boot log for "Redundancy Manager: error" or "Fault LED: ON".
  5. At the CLI prompt, log in with default credentials admin / admin (change immediately if still default).
  6. Run show ring redundancy to confirm role (RM/Standby/Observer).
  7. Run clear fault to clear the latched fault state.
  8. Verify with show port status that all ports are forwarding.

5.2 Factory Reset (last resort)

  1. Power off the switch.
  2. Hold the reset button on the front panel while applying power.
  3. Release after the Fault LED flashes — the switch will boot to factory defaults with IP 192.168.0.1 (X-200) or 192.168.1.1 (X-400/XR-300, model dependent).
  4. Re-load the saved configuration backup using TFTP or Web Based Management.
Caution: Factory reset erases the redundancy manager role assignment, MRP ring configuration, VLAN tagging, and ACL lists. Have a known-good configuration backup before performing this step.

6. Resolving the Duplicate MAC

Once the SCALANCE ring is recovered, apply one of the following resolutions based on the cause identified in Section 3.

6.1 If the Cause is a Replacement CP 1613 with a Clashing Default MAC

  1. Shut down the WinCC server with the replacement card.
  2. Remove the card; record the MAC on the white label.
  3. Boot the server on the integrated NIC (set DHCP-disabled, 169.254.x.x link-local) to confirm the rest of the network is healthy.
  4. Use the SIMATIC NET Set MAC Address tool (on the SIMATIC NET DVD under tools\setmac) to write a unique MAC to the CP 1613 EEPROM. Use a MAC outside the Siemens OUI block to guarantee no future collision, for example 02-00-00-00-00-01 (locally administered).
  5. Reboot; verify with getmac /v that the new MAC is reported.

6.2 If the Cause is Image Cloning (Virtual Machine / Ghost)

  1. Shut down the second WinCC server.
  2. Regenerate the MAC for the CP 1613 miniport in Device Manager > CP 1613 > Properties > Advanced > MAC Address, OR use the SIMATIC NET tool above.
  3. Boot; check arp -a from the first server to confirm only one entry now exists for the CP 1613 IP.

6.3 If the Cause is a Re-powered Legacy Device

  1. From the Wireshark capture (4.2), identify the IP — and therefore the device — that is sending the conflicting MAC.
  2. Trace the port on the SCALANCE that the offending MAC last appeared on.
  3. Shut down the suspect port: in WBM, navigate to Information > Ports, locate the port, and click Disable.
  4. Re-enable SCALANCE diagnostics and watch the switch log: if the duplicate-MAC log message stops, the port you disabled is the one with the rogue device.
  5. Either reconfigure the rogue device's MAC to a unique value, or remove the device from the segment.

6.4 If the Cause is a Misbehaving Switch or Mirrored Port

  1. Disable all port mirrors / SPAN sessions on each SCALANCE.
  2. Reboot the SCALANCE switches one at a time (start at the leaf, finish at the root).
  3. Re-enable redundancy manager only after all switches report RM: Active with no faults.

7. Restoring the WinCC Communication Channel

After the MAC conflict is cleared, re-bind the SIMATIC NET channel in WinCC:

  1. Open WinCC Explorer on the master server.
  2. Right-click Tag Management > SIMATIC S7 PROTOCOL SUITE > TCP/IP > System Parameters > Unit tab.
  3. Confirm that the Logical Device Name matches the CP 1613 entry in Station Configuration Editor (typically CP1613 or S7ONLINE).
  4. Click Diagnostics; the connection should report OK for every PLC connection.
  5. Repeat on the standby server.
  6. Force a failover (stop WinCC on master) to confirm the redundant partner takes over without a re-trigger of the duplicate-MAC detection.

8. Verification Checklist

Check Tool / Command Expected Result
CP 1613 MAC is unique getmac /v on both servers Two different MACs reported for the CP 1613
No duplicate MAC in ARP cache arp -a Single entry per WinCC server IP
SCALANCE ring health WBM > Ring Redundancy RM role on one switch only; no Fault LED
WinCC tag updates WinCC Online TrendControl Tags updating at expected cycle rate
Alarm subscription WinCC Alarm Control Active alarms displayed within 2 scan cycles
Redundant failover Stop master WinCC service Standby takes over within configured failover time (default 60 s)
Log entries WinCC Applet Container / S7diag log No further "Duplicate MAC Address Detected" entries

9. Preventive Measures

  1. MAC label audit: Maintain a plant register of every SIMATIC NET card with its burned-in MAC. Update on every replacement.
  2. Disable MAC cloning in master images: Use sysprep /generalize on Windows images that will be deployed to multiple WinCC servers. Set MAC explicitly in the deployment step.
  3. Enable port security on SCALANCE: Bind each PLC and each WinCC server to its expected port with "Discard unknown unicast". This contains any future MAC conflict to a single port.
  4. Monitor for gratuitous ARP floods: Configure the SCALANCE to log GARP storms; route the log to the plant syslog server.
  5. Spare CP 1613 pre-configuration: Always have one or two spare CP 1613 cards pre-configured with a unique MAC outside the Siemens OUI, so a field replacement is a swap-and-go.
  6. Document the redundant pair's MACs: Place a laminated label on each server chassis listing both CP 1613 MACs and both Windows IP addresses.

10. Firmware and Compatibility Notes

WinCC V7.0 SP3 was released in mid-2009 and is paired with SIMATIC NET Edition 2008 or 2008 SP2. The CP 1613 firmware is updated through the SIMATIC NET installation media; on a healthy CP 1613 the firmware version can be read in SIMATIC NET Configuration Console > Modules > CP 1613 > Firmware. When migrating from a CP 1613 to a CP 1613 A2 (part number 6GK1161-3AA02) the SIMATIC NET driver is back-compatible, but the firmware load file differs and must be re-flashed before the new card will bind to the S7 channel. The diagnostic message text ("Duplicate MAC Address Detected") has been stable across SIMATIC NET 2008 through 2017, so the same troubleshooting procedure applies to newer WinCC V7.4 / V7.5 installations that still use a CP 1613.

11. Related Standards and References

Layer-2 MAC uniqueness is mandated by IEEE 802.3 — section 4.2.6 ("All stations that are connected to the same LAN shall have unique MAC addresses"). A duplicate-MAC condition is not a fault of the CP 1613; it is a violation of the underlying Ethernet standard, and the CP 1613 is simply the first station to surface the violation in the human-readable log. Industrial networking best practice for ring topology is given in IEC 62439-2 (MRP — Media Redundancy Protocol), which SCALANCE X switches implement natively. When commissioning a redundant WinCC pair, the configuration must satisfy both IEEE 802.3 (unique MAC) and IEC 62439-2 (single active RM per ring).

12. FAQ

Why does the duplicate-MAC error persist after a CP 1613 reset?

A CP 1613 reset (warm restart) reloads the driver stack and re-reads the EEPROM MAC, but it does not change the MAC. If the local MAC is the duplicate, the conflict will re-appear as soon as the network re-attaches. The local MAC must be re-written to a unique value using the SIMATIC NET Set MAC Address tool, or the remote device holding the same MAC must be removed from the segment.

Can I change the CP 1613 MAC from Device Manager?

No. The CP 1613 MAC is stored in on-card EEPROM and the standard Windows Device Manager "MAC Address" advanced property is ignored by the SIMATIC NET miniport driver. You must use the SIMATIC NET Set MAC Address utility from the SIMATIC NET installation DVD, then reboot.

How do I recover a SCALANCE switch whose WBM is unreachable?

Use the serial console at 115 200 bit/s, 8N1 on the dedicated RJ45 console port. If the CLI is also unresponsive, perform a factory reset by powering the switch with the front-panel reset button held until the Fault LED flashes. After reset, re-load the saved configuration via TFTP or WBM.

Does a duplicate MAC affect only WinCC, or also STEP 7?

Both. STEP 7 uses the same CP 1613 path for online access to S7-300/S7-400 PLCs. A duplicate-MAC condition will be reported by STEP 7 as "Online: connection cannot be established" and by the S7 diagnostic tool as "Duplicate MAC address in subnet". The fix is the same at the network layer regardless of which client software surfaces the error first.

Is the CP 1613 still the correct card for new WinCC V7 installations?

For WinCC V7.4 / V7.5 on Windows 10 / Server 2016 / 2019, Siemens recommends the CP 1623 (PCIe, 6GK1162-3AA00) or CP 1628 (PCIe, 6GK1162-8AA00) instead. The CP 1613 is in phase-out status and is supported only on 32-bit Windows 7 / Server 2008 R2. New installations should use the CP 1623 / CP 1628, but the duplicate-MAC troubleshooting procedure described here applies unchanged to the PCIe successors because the SIMATIC NET driver and S7 channel layer are the same.

Back to blog