Establishing A Connection Via A Network Bridge - Siemens SIMATIC S7-1500 Operating Instructions Manual

Software controller cpu 1505sp (f) ready4linux version 2.7
Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

Commissioning in STEP 7
5.4 Communication between Linux and CPU
5.4.2.3

Establishing a connection via a network bridge

The network bridge manages the LAN segments and creates a subnet for the entire network.
This merges the internal Ethernet network with the Ethernet network of the Linux hardware
interface. The runtime communication interface is visible in the external network, so that the
project configuration can be loaded from STEP 7 to the CPU or the CPU can be accessed
online.
OPC UA client applications can communicate with the OPC UA server of the CPU and vice
versa. The Web server of the CPU is also accessible.
Note
Unique IP and MAC addresses
Make sure that the IP addresses of the devices used in the virtual network are unique within
the subnet. The MAC addresses of the devices must be globally unique. You can use the
Management tool (Page 60) provided to change the MAC addresses for virtual Ethernet
interface devices.
Requirement
You have root privileges.
Procedure
To create a network bridge, enter the following command lines:
ip link add name br0 type bridge
ip link set br0 up
ip link set enp4s0 master br0
ip link set enp0s1f0 master br0
br0
Name of the bridge. You can freely assign the name.
enp4s0
Name of the physical Ethernet interface that is assigned to the Linux operating system.
enp0s1f0
Name of the virtual Ethernet interface that is assigned to the Linux operating system.
To identify the names of the interfaces, use the following command:
ip address
Note
Settings are lost after restart
The settings are lost after a restart. To save the setting, adjust a configuration script, e.g. in
the file "/etc/network/interfaces".
58
CPU 1505SP (F) Ready4Linux Version 2.7
Operating Instructions, 05/2019, A5E46864285-AA

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents