From: Murali Karicheri <m-karicheri2@ti.com>
To: "open list:TI NETCP ETHERNET DRIVER" <netdev@vger.kernel.org>
Subject: Linux bridge of hsr and Ethernet interface. Is this valid?
Date: Fri, 6 Oct 2017 13:28:10 -0400 [thread overview]
Message-ID: <e1f41460-5039-dd89-4337-701eb151f911@ti.com> (raw)
Hello Linux netdev experts,
I have a board that has multiple Ethernet intefaces. two, eth0 and eth1 and 1G interfaces and two are 100M interfaces (eth2 and eth3). I create hsr interface, hsr0 using eth2 and eth3 using ip link command. Now I want to create a linux bridge as follows:-
brctl addbr my_bridge
brctl addif eth0
brctl addif hsr0
I connect a PC to eth0 interface and another hsr compliant device to eth2 or eth3. Is it a valid scenario?
I see following description at https://wiki.linuxfoundation.org/networking/bridge where is mentioned that
=============================
Adding devices to a bridge
The command
brctl addif //bridgename// //device//
adds the network device device to take part in the bridging of “bridgename.” All the devices contained in a bridge act as one big network. It is not possible to add a device to multiple bridges or bridge a bridge device, because it just wouldn't make any sense! The bridge will take a short amount of time when a device is added to learn the Ethernet addresses on the segment before starting to forward.
=============================
In this case hsr is already a 802.1D bridge and we are trying to bridge a bridge.
So your expert opinion is needed. Thanks.
--
Murali Karicheri
Linux Kernel, Keystone
reply other threads:[~2017-10-06 17:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e1f41460-5039-dd89-4337-701eb151f911@ti.com \
--to=m-karicheri2@ti.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox