Tiza Group

Home / Guides / Testing, commissioning and faults

IED Gets a Different IP Address Every Time

An IED that changes IP after restarting is usually on automatic addressing or losing its saved setting. Find out which one. We configure it remotely.

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

Short answer

An IED on a station network should have a static address. If it shows up with another one each time, most likely it is requesting it from a DHCP server, assigning itself an automatic address because nobody answers, or the written setting is not saved or gets overwritten. Logging every observed address with its MAC and time separates the cases.

Symptom

The relay or bay controller answers at one address today and another tomorrow. SCADA or the gateway marks it as not communicating after a restart, an auxiliary supply outage or for no visible reason; the engineering tool only finds it by scanning the whole network or through the front port. The device display or the switch table shows an address that appears in no document.

First separate this from two similar cases: if two devices answer on the same address, it is a conflict (two IEDs with the same IP); if the address is always the same but the connection drops, it is a different problem. How addresses are allocated and why IED networks use static ones is covered in IP addressing and VLAN plan.

Likely causes, from most to least likely

CauseHow to recognize itWhat confirms itWhat rules it out
Port set to automatic addressing (DHCP)The address falls within the range of a router or serverThe device menu shows automatic mode; the server holds a lease for its MACThe menu shows static mode and there is no lease
It requests an address and nobody answersA 169.254.x.x or factory address appearsUnanswered DHCP requests in a captureThe device sends no DHCP requests
More than one DHCP server on the networkThe address jumps between two rangesTwo offers from different servers in the captureOnly one server replies
The setting is not savedIt returns to the previous address on restartReads correctly after writing and changes after power offThe written address survives several restarts
A configuration download overwrites itIt changes after sending a fileThe CID or settings file carries another addressFile and device match
You are looking at another port of the same deviceFront, rear and redundant ports with their own addressesEach address belongs to a different MAC or interfaceThe same interface and MAC shows different values
The tool shows stale dataA name or cache points to the old addressThe local menu contradicts the toolLocal menu and network agree

How to diagnose it

  1. Keep a log. For each appearance note time, address, mask, MAC, switch port and what happened before (restart, outage, file download, network work). Three or four entries usually reveal the pattern.
  2. Read the setting in the device, not on the network. On the front panel or service port, check for each interface whether the address is static or automatic, plus mask and gateway.
  3. Pin identity to the MAC. The switch address table says on which port that MAC sits, and the ARP table of a computer on the same subnet (arp -a or equivalent) says which address is associated with it. If the MAC changed, a device or card was replaced, or you are looking at another interface.
  4. Capture the startup. With a mirror port, filter DHCP (UDP 67 and 68) and ARP while restarting the IED in an authorized window. If it sends requests, it is on automatic whatever the documentation says. In each offer, the server identifier shows who sent it.
  5. Find the servers. Check routers, third party modems, switches with a built-in server and laptops sharing their connection.
  6. Test persistence. Write the address, read it back, restart communications and then power cycle, with the protection out of service or backed up as your procedure requires. Read it again at each step.
  7. Compare the files. Check the Communication section of the station file and the CID that was loaded: they hold the address, mask and gateway that the next download will send. Its structure is explained in SCL Communication section.

Illustrative example

Generic situation. A server grants 24 hour leases in the range 192.168.1.100 to 192.168.1.150. A bay controller was left in automatic mode after factory tests. While it renews its lease it keeps 192.168.1.112 and nobody notices, although the plan assigns it 192.168.1.14 and SCADA was configured with the one seen on commissioning day, .112.

One weekend the router is off for 30 hours, longer than the lease. On return, the lease table is lost and the device receives .127. SCADA keeps calling .112 and marks it disconnected. Changing the SCADA address to .127 recovers it, but the fault returns at the next outage. The fix is to set the IED static at 192.168.1.14 and point SCADA to it.

What to do

  • Port on automatic: switch to the static address in the plan. Update the station file first and generate the configuration from it, so the next download does not revert it.
  • Server that should not be there: disable the service on the device offering it. If an engineering network needs it, separate it by VLAN and limit its range.
  • 169.254 or factory address: configure the correct address from the service port and check that mask and gateway belong to the subnet.
  • Setting that does not persist: confirm the device accept or apply step, firmware version and memory health. If a correct value disappears after power off, escalate to the manufacturer.
  • Outdated file: reconcile SCD, CID, settings and SCADA database, and store the approved version under your configuration management.
  • Device replacement: configure the address before connecting it to the station network and update the MAC in the inventory and in rules that use it, such as port security or reservations.

Menus, link lights and tables can be checked on site. Changing the configuration of an IED that protects a circuit, downloading files or modifying the station network requires qualified personnel, a prior backup and coordination with the control center.

Field checklist

  • Log with time, address, MAC and port of each appearance.
  • Static or automatic mode read on every device interface.
  • DHCP servers on the network identified.
  • Startup capture reviewed.
  • Station file, CID and SCADA compared with the plan.
  • Settings backup before changing anything.
  • Address verified after power cycling.
  • SCADA, time and engineering access verified after the change.

What not to do

  • Do not reconfigure SCADA to chase the new address: the cause stays.
  • Do not switch off a router or server without knowing who else depends on it.
  • Do not restart in-service relays to “see which address it takes” without authorization.
  • Do not download an old file to recover communications: it may also carry old protection settings.
  • Do not handle terminals or cards on an energized panel without qualified personnel.

When to call us

If the address keeps changing after being set static, if several IEDs behave the same way or if the station file, devices and SCADA no longer match, we review captures and configurations and leave a single correct version. We configure it remotely: request remote configuration of your network and IEDs.

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

References

  • IETF RFC 2131, Dynamic Host Configuration Protocol.
  • IETF RFC 3927, Dynamic Configuration of IPv4 Link-Local Addresses.
  • IETF RFC 826, An Ethernet Address Resolution Protocol.
  • IEC 61850-6, Configuration description language for communication in electrical substations related to IEDs.

Frequently asked questions

What does it mean if the IED shows an address starting with 169.254?

That is the IPv4 link-local range (RFC 3927). A device that supports it assigns itself one of those addresses when it has no other configured and gets no answer from a server. It works only within the same segment and should not appear in a substation addressing plan.

Can a DHCP reservation replace a static IP?

A reservation always hands the same address to the same MAC, but leaves the IED depending on the server being available and on the MAC not changing after a replacement. Protection and control networks prefer a static address in the device, recorded in the SCD.

Does GOOSE stop working if the IP changes?

Layer 2 GOOSE does not use an IP address, so it can keep publishing. What is lost is whatever does use it: the MMS connection with SCADA, reports, engineering access and, depending on the device, time synchronization.

WhatsApp