Default network configuration
The configuration for installation of the "default image" is shown below.
The standard network configuration of IoT2000 is:
● X1 P1 LAN (eth0)
– DHCP: no
– IP: 192.168.200.1
– Subnet mask: 255.255.255.0
● X2 P1 LAN (eth1)
– DHCP: yes
The network configuration is stored at: /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8),
ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# Wired interfaces
auto eth0
iface eth0 inet static
address 192.168.200.1
netmask 255.255.255.0
auto eth1
iface eth1 inet dhcp
First access to IoT240
Ensure the following when accessing IoT2040 for the first time:
● Port "X1 P1" is configured with the static IP address 192.168.200.1
– For access from this port, set your IP address in the range 192.168.200.2 -
192.168.0.254
● Port "X2 P1" is configured as DHCP
– For access from this port, interconnect to a network with DHCP server.
– You must know the IP address of your IoT2040.
Changing the network configuration
Edit the "# interfaces" section in "/etc/network/interfaces":
Configure DHCP at a port, e.g. X2 P1 LAN (eth1)
auto eth1
iface eth1 inet dhcp
Installation/configuration
4.5 SIMATIC IoT2040
Manage MyMachines /Remote - installation in existing control environments
40 Application examples, 10/2018, A5E45211403B AB