How could one add bridge to yet another bridge?

Ubuntu 16 LTS. Asked here, because the question is not really specific to GNU/Linux distributions, as the same concepts exist in another OSes.

I added 4 dummy interfaces:

modprobe dummy
ip link add dummy0 type dummy
ip link add dummy1 type dummy
ip link add dummy2 type dummy
ip link add dummy3 type dummy

Added bridge, added first 3 dummy interfaces to it:

ip link add br0 type bridge
ip link set dev dummy0 master br0
ip link set dev dummy1 master br0
ip link set dev dummy2 master br0

Assigned 3 addresses:

ip addr add 10.0.0.1/8 dev dummy0
ip addr add 10.0.0.2/8 dev dummy1
ip addr add 10.0.0.3/8 dev dummy2

Added another bridge, added dummy3 to it:

ip link add br1 type bridge
ip link set dev dummy3 master br1

Assigned address to dummy3:

ip addr add 10.0.0.4/8 dev dummy3

Now I want to add stack br0 and br1 bridges together, however, it fails:

ip link set dev br0 master br1
RTNETLINK answers: Too many levels of symbolic links

How to solve the problem? Any clues would be highly appreciated. Thanks.

Related:


Leave a Reply