• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RTE3 Use real time ethernet as "normal" ethernet interface
#39
Hey,

I get the same output now. The Problem that now occurs is that the "bridged" network mode is not working.

the IP-Adresses look like this:


Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: cifx0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:02:a2:49:bb:d0 brd ff:ff:ff:ff:ff:ff
    inet 10.7.1.115/24 brd 10.7.1.255 scope global cifx0
       valid_lft forever preferred_lft forever
8: eth0@if9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:ac:12:00:02 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 172.18.0.2/16 brd 172.18.255.255 scope global eth0
       valid_lft forever preferred_lft forever


As you can see, the eth0 is using an IP-Adress, which is located within the subnet of the Network-Bridge. The docker-network-bridge than connects this IP-Adress to the host's IP-Adress of this adapter.

The cifx0 adapter directly gets the IP-Adress, which shall be used for remote communication and not that of the internal Network-Bridge, which is right?

If I connect the netPi over a switch with another device within the same subnet, I cannot ping either the device from within netPi's container, nor the netPi from the device, using 10.7.1.115 as IP-Adress. Could it be that docker is somehow prohibiting the communication or that it gets stuck within the container?

Have you been able to ping another device using the cifx0-adapter?


Thanks,
Andi
  Reply


Messages In This Thread
RE: RTE3 Use real time ethernet as "normal" ethernet interface - by Andi - May-2nd-2019, 11:02 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Profinet Startup Time Schranz 3 31 November-18th-2019, 03:22 PM
Last Post: Armin@netPI
  normal ethernet port using for Profinet MGharat 4 35 August-7th-2019, 10:39 AM
Last Post: hannes
  Launching multi-containers at a time - Docker stacks Armin@netPI 0 39 June-4th-2019, 04:11 PM
Last Post: Armin@netPI
  niot-e-npi3-51-en (RS485 <-> Industrial Ethernet) merklethomas 6 60 April-26th-2019, 01:38 PM
Last Post: Armin@netPI
  Modbus TCP Connection via RTE Ethernet Ports Flo_Lo 18 485 April-15th-2019, 09:50 PM
Last Post: Armin@netPI
  USB/Ethernet adapter slos 4 52 April-8th-2019, 09:11 AM
Last Post: slos
  [SOLVED] Use netX interface as profinet controller jromero248 2 64 January-10th-2019, 12:30 PM
Last Post: jromero248
  IP Realtime Ethernet michu252 7 324 August-21st-2018, 10:41 AM
Last Post: Armin@netPI
  EtherCAT Slave OP mode (netPI RTE3) mauroriva 1 115 June-20th-2018, 08:38 AM
Last Post: Armin@netPI
  usage of hilschernetpi/netpi-netx-ethernet-lan is working but costs 25% cpu power Michael_d 7 158 March-9th-2018, 10:52 AM
Last Post: Michael_d

Forum Jump:


Users browsing this thread: 1 Guest(s)