Routing
11.3 IP forwarding
Communication
Function Manual, 05/2021, A5E03735815-AJ
381
This example configuration results in the following IP routing table for the CPU.
Table 11- 1 IP route table of the CPU
Network destination
Interface
Gateway
0.0.0.0/0
10.10.0.10
10.10.0.1
192.168.1.0/24
192.168.1.1
-
192.168.2.0/24
192.168.2.1
-
10.10.0.0/24
10.10.0.10
-
For IP communication between the PG/PC and the HMI device, you need to set up additional
IP routes to the IP subnet of the HMI device both in the PC and in the IP router. In the HMI
device, you configure the IP address of the CPU interface X1 as the standard gateway.
In a Windows computer, for example, you set up an additional IP route from the command
prompt using the command "route add <destination IP subnet> mask <subnet mask>
<gateway>". However, you need certain access rights for this. For this example, enter the
following prompt:
•
"route add 192.168.2.0 mask 255.255.255.0 192.168.4.20"
In an IP router, you set up additional routes, e.g. via a web interface. Set up the following
route for this example:
•
Destination IP subnet: 192.168.2.0
•
Subnet mask: 255.255.255.0
•
Gateway: 10.10.0.10
Summary of Contents for SIMATIC ET 200AL
Page 2: ......
Page 143: ......
Page 218: ......
Page 250: ......
Page 296: ......
Page 337: ......
Page 365: ......
Page 392: ......
Page 419: ......
Page 451: ......
Page 483: ......
Page 597: ......
Page 648: ......
Page 702: ......
Page 739: ......
Page 781: ......
Page 804: ......
Page 828: ......
Page 853: ......
Page 880: ......
Page 906: ......
Page 996: ...Diagnostics ...
Page 1121: ......
Page 1565: ......