Use Network Address Translation (NAT) with CIP Safety Devices

Network Address Translation (NAT) translates one IP address to another IP address via a NAT-configured router or switch. The router or switch translates the source and destination addresses within data packets as traffic passes between subnets.
This service is useful if you must reuse IP addresses throughout a network. For example, NAT makes it possible for devices to be segmented into multiple identical private subnets while maintaining unique identities on the public subnet, such as for multiple identical machines or lines.
This section only applies to safety users where the controller and the devices it talks to are on separate sides of the NAT-configured router or switch.
With
CIP Safety
, the IP address of the device is part of the unique node reference that is part of the protocol. The device compares the IP address portion of the unique node reference in
CIP Safety
packets to its own IP address, and rejects any packets where they do not match. The IP address in the unique node reference must be the NAT'ed IP address. The controller uses the translated address, but the
CIP Safety
protocol requires the actual address of the device.
If you use NAT to communicate with a
CIP Safety
device, follow these steps to set the IP address.
  1. In the IP Address field, enter the IP address for the controller. This is usually the IP address on the public network when using NAT.
    This image shows how to set the IP address on a safety I/O module in Logix Designer.
  2. Click Advanced to open the Advanced Ethernet Settings dialog box.
    This image shows the advanced Ethernet settings screen in Logix Designer.
  3. Select the checkbox to indicate that this device and the controller communicate through NAT devices.
  4. Enter the actual device address.
    TIP:
    If you configured the IP address using the rotary switches, this is the address, you set on the device. Alternately, the actual device address is the same address that is shown on the Internet Protocol tab.
  5. Click OK.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal