• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EtherCAT Master: any options?
#29
Hello,

Yes that is correct, I built a container uniting the codesys and the netx containers. I use the cifx0 interface for codesys ide connection and internet connection via a router which is at 192.168.0.1.

The following configuration does not work (Internet connection inside the container (host mode) where I do the ip route show command, but no internet connection of the host system (e.g. portainer webinterface) and no connection in other bridge mode containers (e.g. node-red in bridge mode).):
Code:
pi@NetPi1:~$ ip route show
default via 192.168.0.1 dev cifx0
10.98.44.0/22 dev wlan0 proto kernel scope link src 10.98.45.128 metric 600
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
192.168.0.0/24 dev cifx0 proto kernel scope link src 192.168.0.3
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.2 metric 100
 When I change the table inside the host mode containter to use only the wifi connection instead:
Code:
pi@NePi1:~$ ip route show
default via 10.98.44.1 dev wlan0 proto static metric 600
10.98.44.0/22 dev wlan0 proto kernel scope link src 10.98.45.128 metric 600
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
192.168.0.0/24 dev cifx0 proto kernel scope link src 192.168.0.3
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.2 metric 100
I do get internet connection on the host (portainer web interface) and the other containers (e.g. node-red in bridge mode).

My docker file and scripts are at github:
https://github.com/fokkersim/netPI-netx-ethernet-lan

Best regards,
Andreas
  Reply


Messages In This Thread
Answer - by maiorfi - March-31st-2018, 02:59 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-15th-2019, 09:23 PM
RE: EtherCAT Master: any options? - by andreash - April-16th-2019, 10:41 AM
RE: EtherCAT Master: any options? - by Armin@netPI - April-16th-2019, 01:49 PM
RE: EtherCAT Master: any options? - by andreash - April-16th-2019, 01:54 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-16th-2019, 02:23 PM
RE: EtherCAT Master: any options? - by andreash - April-16th-2019, 03:03 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-16th-2019, 03:10 PM
RE: EtherCAT Master: any options? - by andreash - April-17th-2019, 03:51 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-17th-2019, 05:38 PM
RE: EtherCAT Master: any options? - by andreash - April-19th-2019, 11:59 AM
RE: EtherCAT Master: any options? - by Armin@netPI - April-19th-2019, 01:26 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-20th-2019, 07:31 AM
RE: EtherCAT Master: any options? - by Armin@netPI - April-23rd-2019, 07:24 AM
RE: EtherCAT Master: any options? - by andreash - April-30th-2019, 01:17 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-30th-2019, 01:46 PM
RE: EtherCAT Master: any options? - by andreash - May-20th-2019, 05:59 PM
RE: EtherCAT Master: any options? - by Armin@netPI - May-20th-2019, 06:37 PM
RE: EtherCAT Master: any options? - by andreash - May-21st-2019, 09:43 AM
RE: EtherCAT Master: any options? - by Armin@netPI - May-21st-2019, 10:13 AM
RE: EtherCAT Master: any options? - by andreash - May-22nd-2019, 09:28 AM
RE: EtherCAT Master: any options? - by Armin@netPI - May-22nd-2019, 10:01 AM
RE: EtherCAT Master: any options? - by andreash - May-22nd-2019, 10:18 AM
RE: EtherCAT Master: any options? - by Armin@netPI - May-22nd-2019, 10:25 AM
RE: EtherCAT Master: any options? - by andreash - May-22nd-2019, 10:33 AM
RE: EtherCAT Master: any options? - by Armin@netPI - May-22nd-2019, 12:11 PM
RE: EtherCAT Master: any options? - by andreash - May-22nd-2019, 01:12 PM
RE: EtherCAT Master: any options? - by Armin@netPI - May-22nd-2019, 02:18 PM
RE: EtherCAT Master: any options? - by andreash - May-28th-2019, 11:39 AM
RE: EtherCAT Master: any options? - by Armin@netPI - May-22nd-2019, 03:00 PM
RE: EtherCAT Master: any options? - by Armin@netPI - May-28th-2019, 01:41 PM
RE: EtherCAT Master: any options? - by andreash - May-28th-2019, 01:57 PM
RE: EtherCAT Master: any options? - by Armin@netPI - May-28th-2019, 02:11 PM
RE: EtherCAT Master: any options? - by andreash - May-28th-2019, 02:21 PM
RE: EtherCAT Master: any options? - by andreash - May-30th-2019, 05:04 PM
RE: EtherCAT Master: any options? - by Armin@netPI - May-30th-2019, 07:55 PM
Answer - by Armin@netPI - March-31st-2018, 06:07 PM
Answer - by maiorfi - April-4th-2018, 05:26 PM
Answer - by Armin@netPI - April-4th-2018, 06:53 PM
Answer - by Armin@netPI - April-19th-2018, 10:49 AM
Answer - by Jorgem - April-19th-2018, 10:50 AM
Answer - by Jorgem - April-20th-2018, 11:41 AM
Answer - by Armin@netPI - April-20th-2018, 12:53 PM
Answer - by Jorgem - April-20th-2018, 01:39 PM
Answer - by Armin@netPI - April-20th-2018, 05:39 PM
RE: Answer - by andreash - April-15th-2019, 06:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  communication cycle as EtherCAT slave tad 2 2,116 April-20th-2021, 11:14 AM
Last Post: tad
  NodeRed and EtherCAT Schranz 3 6,057 September-23rd-2020, 08:01 AM
Last Post: Armin@netPI
  Ethercat master mapping SteP 1 2,271 March-2nd-2020, 12:42 PM
Last Post: Armin@netPI
  EtherCAT Slave OP mode (netPI RTE3) mauroriva 1 2,468 June-20th-2018, 08:38 AM
Last Post: Armin@netPI
  Container IP address - Network Options kimsmyth 2 3,227 January-30th-2018, 11:04 AM
Last Post: kimsmyth

Forum Jump:


Users browsing this thread: 1 Guest(s)