• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
linux bridge eth0 and cifx0
#1
Hi,

I'm trying to setup a linux bridge (brctl) between eth0 and cifx0 using the following setup:

Code:
brctl addbr br0

brctl addif br0 eth0
brctl addif br0 cfix0

PCs connected to eth0 and cfix0 are able to communicate with the netPI - but traffic across the bridge does not seem to be forwarded correctly (in either direction).

Is the cifx0 capable of being part of a linux bridge?
Are there and specific settings need to be applied to the cfix0 device for the bridge to be operational?

thanks
  Reply
#2
My first question is which OS are you using? Are you using netPI OS that comes preinstalled on netPI or are you using any other OS like Raspbian?

The second thing I have to say is that I personally have not worked with bridged functionality yet independent if it is netPI or Raspberry Pi or any x86 platform and Ubuntu da da da... My personal expectation is that bridging and forwarding telegrams between the two networks is a software and logical thing only and handled by Linux core functions and it is not a hardware thing where the two Ethernet chips are briged with a direct acccess method. Does that also meet your expectation?

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#3
Another question is how is you basic setup of the two networks are in terms of IP addresses, subnet masks and gateways of the devices connected to eth0, cifx0 are and which IP setting you have configured for br0? Can you state it please here.

And how do you detect that the specifically bridging is not working correctly? Is there for example a ping command you send from the network connected to the cifx0 interface not passing the bridge and does not reach the network connected eth0 side?
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#4
I got in touch with our development team and ask for bridging support of cifx0 interface. I received the following response:

As in this article mentioned at https://iomem.com/archives/4-Ethernet-Br...Linux.html an interface supporting bridge mode needs to support promiscuous mode among others. The cifx0 interface and the underlying netX controller firmware does not support the promiscuous mode. This means any try to let cifx0 be part of a Linux bridge will fail.

I am sorry to have no better news for you. Supporting promiscuous mode is not possible with Hilscher's netX network controller.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Yocto linux tad 2 1,940 February-21st-2022, 11:50 AM
Last Post: tad
  cifx0 and Node-Red fabio1975 5 3,104 November-22nd-2021, 01:13 PM
Last Post: Armin@netPI
  Docker exposed port don't send data on eth0 COswald 3 3,107 July-15th-2021, 02:10 PM
Last Post: Armin@netPI
  activate Ethernet cifx0 Christian_Rau 3 2,527 March-26th-2021, 05:28 AM
Last Post: Armin@netPI
  netpi-desktop-hdmi with setting network=bridge tad 13 8,083 June-19th-2020, 12:50 PM
Last Post: tad
  netX linux driver Irina Grinberg 4 3,472 May-7th-2020, 01:33 PM
Last Post: Armin@netPI
  Linux RT kernel Armin@netPI 7 5,271 January-31st-2020, 05:02 PM
Last Post: royazriel
  Yocto Linux for Rpi3 + netHAT jenrei 4 3,732 July-16th-2018, 11:49 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)