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
Содержание SIMATIC ET 200AL
Страница 2: ......
Страница 143: ......
Страница 218: ......
Страница 250: ......
Страница 296: ......
Страница 337: ......
Страница 365: ......
Страница 392: ......
Страница 419: ......
Страница 451: ......
Страница 483: ......
Страница 597: ......
Страница 648: ......
Страница 702: ......
Страница 739: ......
Страница 781: ......
Страница 804: ......
Страница 828: ......
Страница 853: ......
Страница 880: ......
Страница 906: ......
Страница 996: ...Diagnostics ...
Страница 1121: ......
Страница 1565: ......