With the Industrial Ethernet CPs below it is possible to route messages between the subnets of the PROFINET interface and the gigabit interface.
|Industrial Ethernet CP
However, the Industrial Ethernet CPs and SCALANCE S do not support router protocols like Router Information Protocol (RIP), for example. This is why it is necessary to make the Industrial Ethernet CP and SCALANCE S known to the nodes that use them as a gateway.
In this example a CP343-1 Advanced (6GK7343-1GX30-0XE0) is used as a gateway in order to access a PC in the plant network using SIMATIC NET Field PG.
The PROFINET interface of the CP343-1 Advanced and the PC connected are components of the plant network and are located in subnet 192.168.0.0.
The gigabit interface of the CP343-1 Advanced and the SIMATIC Field PG connected are in subnet 172.16.0.0.
If you want to access other subnets with the SIMATIC Field PG via a router or a gateway, then enter the IP address of the router or gateway as default gateway for the LAN (Local Area Network) network connection.
If you access other subnets with the SIMATIC Field PG via multiple routers or gateways, then you define the alternative routes on the SIMATIC Field PG in addition to the default gateway.
In this example the IP address 172.16.85.1 of the router is entered as default gateway for the LAN network connection in order to access the company network with the SIMATIC Field PG. This is why it is necessary to define an alternative route on the SIMATIC Field PG in order to access the plant network via the CP343-1 that acts as gateway.
Open the "Insert New Connection" dialog via the menu "Insert > New Connection...". Enter the "cmd" command to open the DOS prompt window (see Fig. 04).
In the DOS prompt window you enter the "route ADD" command to configure a new gateway.
In this example you configure an additional gateway on the SIMATIC Field PG with the IP address 172.16.85.7. In this example of the CP343-1 Advanced the subnet 192.168.0.0 can be reached via this gateway.
The "route ADD" command is structured accordingly as shown below.