what nmcli command shows interfaces belonging to bridgeno network on domU in network-bridge configuration for...

Where to connect the fuse and why?

German idiomatic equivalents of 能骗就骗 (if you can cheat, then cheat)

Would skyscrapers tip over if people fell sideways?

Why is my 401k manager recommending me to save more?

Why didn't Caesar move against Sextus Pompey immediately after Munda?

Why am I getting an electric shock from the water in my hot tub?

Does friction always oppose motion?

Is it OK to throw pebbles and stones in streams, waterfalls, ponds, etc.?

"I am [the / an] owner of a bookstore"?

What are the children of two Muggle-borns called?

Why did the Apple //e make a hideous noise if you inserted the disk upside down?

Active wildlife outside the window- Good or Bad for Cat psychology?

How to draw a diagram like this with tikz?

Do electrons really perform instantaneous quantum leaps?

Why isn't UDP with reliability (implemented at Application layer) a substitute of TCP?

What overwrites /etc/resolv.conf roughly every hour?

Is it theoretically possible to hack printer using scanner tray?

Subset of knight's move in chess.

What verb for taking advantage fits in "I don't want to ________ on the friendship"?

Does it make sense to (partially) create a conlang that you don't intend to actually use in the story?

Automorphisms and epimorphisms of finite groups

Copy group of files (Filename*) to backup (Filename*.bak)

What are the advantages and disadvantages of Manhattan-Style routing?

What does 'in attendance' mean on an England death certificate?



what nmcli command shows interfaces belonging to bridge


no network on domU in network-bridge configuration for Xen-4.0Setup permanent bridge for dynamic network devices from lxc container?Packets not moving through linux ethernet bridgeIn Kali through VirtualBox, how can I configure two ethernet adapters using the GUI?Linux: using a virtual network inside a bridgeBridge two ethernet interfaces in virtualbox. CentOS 7QEMU Deb9 guest graphical install fails to get DHCP reply during installHow to connect 2 virtual bridges so traffic goes from one to the other?Linux bridge stops working after adding 2nd interfaceqemu kvm VM needs to access Internet by bridging wifi













0















I've created bridge br0 and added interfaces eth0 and eth1 to this bridge



nmcli con add ifname br0 type bridge con-name br0
nmcli con add type bridge-slave ifname eth0 master br0
nmcli con add type bridge-slave ifname eth1 master br0
nmcli con modify br0 bridge.stp no
nmcli con down eth0
nmcli con down eth1
nmcli con mod br0 ipv4.addresses "192.168.1.100/24"
nmcli con mod br0 ipv4.method manual
nmcli con down br0
nmcli con up br0
systemctl restart NetworkManager.service


After those steps my config looks like this



# nmcli dev status
DEVICE TYPE STATE CONNECTION
br-10 bridge connected br-10
br0 bridge connected br0
docker0 bridge connected docker0
eth0 ethernet connected bridge-slave-eth0
eth1 ethernet connected bridge-slave-eth1
lo loopback unmanaged --
wlan0 wifi unmanaged --


What nmcli command show interfaces assigned to given bridge? For br0 it is clear because I've named connections bridge-slave but what about br-10? I'm asking especially for nmcli command because I've seen situation where bridge with 4 interfaces was created using nmcli but brctl show listed only 2 interfaces (those where cable were actually plugged) so I guess one should not rely on brctl show in this case.










share|improve this question





























    0















    I've created bridge br0 and added interfaces eth0 and eth1 to this bridge



    nmcli con add ifname br0 type bridge con-name br0
    nmcli con add type bridge-slave ifname eth0 master br0
    nmcli con add type bridge-slave ifname eth1 master br0
    nmcli con modify br0 bridge.stp no
    nmcli con down eth0
    nmcli con down eth1
    nmcli con mod br0 ipv4.addresses "192.168.1.100/24"
    nmcli con mod br0 ipv4.method manual
    nmcli con down br0
    nmcli con up br0
    systemctl restart NetworkManager.service


    After those steps my config looks like this



    # nmcli dev status
    DEVICE TYPE STATE CONNECTION
    br-10 bridge connected br-10
    br0 bridge connected br0
    docker0 bridge connected docker0
    eth0 ethernet connected bridge-slave-eth0
    eth1 ethernet connected bridge-slave-eth1
    lo loopback unmanaged --
    wlan0 wifi unmanaged --


    What nmcli command show interfaces assigned to given bridge? For br0 it is clear because I've named connections bridge-slave but what about br-10? I'm asking especially for nmcli command because I've seen situation where bridge with 4 interfaces was created using nmcli but brctl show listed only 2 interfaces (those where cable were actually plugged) so I guess one should not rely on brctl show in this case.










    share|improve this question



























      0












      0








      0








      I've created bridge br0 and added interfaces eth0 and eth1 to this bridge



      nmcli con add ifname br0 type bridge con-name br0
      nmcli con add type bridge-slave ifname eth0 master br0
      nmcli con add type bridge-slave ifname eth1 master br0
      nmcli con modify br0 bridge.stp no
      nmcli con down eth0
      nmcli con down eth1
      nmcli con mod br0 ipv4.addresses "192.168.1.100/24"
      nmcli con mod br0 ipv4.method manual
      nmcli con down br0
      nmcli con up br0
      systemctl restart NetworkManager.service


      After those steps my config looks like this



      # nmcli dev status
      DEVICE TYPE STATE CONNECTION
      br-10 bridge connected br-10
      br0 bridge connected br0
      docker0 bridge connected docker0
      eth0 ethernet connected bridge-slave-eth0
      eth1 ethernet connected bridge-slave-eth1
      lo loopback unmanaged --
      wlan0 wifi unmanaged --


      What nmcli command show interfaces assigned to given bridge? For br0 it is clear because I've named connections bridge-slave but what about br-10? I'm asking especially for nmcli command because I've seen situation where bridge with 4 interfaces was created using nmcli but brctl show listed only 2 interfaces (those where cable were actually plugged) so I guess one should not rely on brctl show in this case.










      share|improve this question
















      I've created bridge br0 and added interfaces eth0 and eth1 to this bridge



      nmcli con add ifname br0 type bridge con-name br0
      nmcli con add type bridge-slave ifname eth0 master br0
      nmcli con add type bridge-slave ifname eth1 master br0
      nmcli con modify br0 bridge.stp no
      nmcli con down eth0
      nmcli con down eth1
      nmcli con mod br0 ipv4.addresses "192.168.1.100/24"
      nmcli con mod br0 ipv4.method manual
      nmcli con down br0
      nmcli con up br0
      systemctl restart NetworkManager.service


      After those steps my config looks like this



      # nmcli dev status
      DEVICE TYPE STATE CONNECTION
      br-10 bridge connected br-10
      br0 bridge connected br0
      docker0 bridge connected docker0
      eth0 ethernet connected bridge-slave-eth0
      eth1 ethernet connected bridge-slave-eth1
      lo loopback unmanaged --
      wlan0 wifi unmanaged --


      What nmcli command show interfaces assigned to given bridge? For br0 it is clear because I've named connections bridge-slave but what about br-10? I'm asking especially for nmcli command because I've seen situation where bridge with 4 interfaces was created using nmcli but brctl show listed only 2 interfaces (those where cable were actually plugged) so I guess one should not rely on brctl show in this case.







      networkmanager bridge






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 1 at 3:00









      Rui F Ribeiro

      40.6k16 gold badges89 silver badges150 bronze badges




      40.6k16 gold badges89 silver badges150 bronze badges










      asked Feb 15 at 22:41









      Wakan TankaWakan Tanka

      3805 silver badges17 bronze badges




      3805 silver badges17 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          0














          You can try the following;



          bridge link | grep master





          share








          New contributor



          user360104 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f500960%2fwhat-nmcli-command-shows-interfaces-belonging-to-bridge%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            You can try the following;



            bridge link | grep master





            share








            New contributor



            user360104 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.
























              0














              You can try the following;



              bridge link | grep master





              share








              New contributor



              user360104 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.






















                0












                0








                0







                You can try the following;



                bridge link | grep master





                share








                New contributor



                user360104 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                You can try the following;



                bridge link | grep master






                share








                New contributor



                user360104 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.







                share


                share






                New contributor



                user360104 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.








                answered 9 mins ago









                user360104user360104

                1




                1




                New contributor



                user360104 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.




                New contributor




                user360104 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.
































                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f500960%2fwhat-nmcli-command-shows-interfaces-belonging-to-bridge%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                    Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                    Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...