Keeping TestGateway in Synch with Production Gateway - TestbedPLC vs. Real PLC

In 8.1, the clean solution is to set up local DNS names for your PLCs, and use those names in your gateways. Then the local /etc/hosts file (or equivalent infrastructure) would point to the correct IP addresses for that gateway's role. (And for DB connections and other peer systems.)

(Better options in v8.3 deployment modes.)