CentOS 7.1 Bridge Enable STP error "Master connection not found or invalid"

Source: Internet
Author: User



Today in the company testing the Linux bridge Building, in order to make the internal Docker container network can not go through the 2-layer package forwarding to the external announcement, GU test bridge function, the results encountered an error: "Bringing Up interface eno16777736: Error:connection activation Failed:master Connection not found or invalid "



The specific errors are:


Mar 16 10:56:04 cloud01 systemd[1]: Starting LSB: Bring up/down networking...
Mar 16 10:56:05 cloud01 network[876]: Bringing up loopback interface:  Could not load file ‘/etc/sysconfig/network-scripts/ifcfg-lo‘
Mar 16 10:56:05 cloud01 network[876]: Could not load file ‘/etc/sysconfig/network-scripts/ifcfg-lo‘
Mar 16 10:56:06 cloud01 network[876]: Could not load file ‘/etc/sysconfig/network-scripts/ifcfg-lo‘
Mar 16 10:56:06 cloud01 network[876]: Could not load file ‘/etc/sysconfig/network-scripts/ifcfg-lo‘
Mar 16 10:56:06 cloud01 network[876]: [  OK  ]
Mar 16 10:56:06 cloud01 network[876]: Bringing up interface eno16777736:  Error: Connection activation failed: Master connection not found or invalid
Mar 16 10:56:06 cloud01 network[876]: [FAILED]
Mar 16 10:56:06 cloud01 network[876]: Bringing up interface br0:  Could not load file ‘/etc/sysconfig/network-scripts/ifcfg-br0‘
Mar 16 10:56:06 cloud01 network[876]: Could not load file ‘/etc/sysconfig/network-scripts/ifcfg-br0‘
Mar 16 10:56:14 cloud01 network[876]: Determining IP information for br0... failed; no link present.  Check cable?
Mar 16 10:56:14 cloud01 network[876]: [FAILED]
Mar 16 10:56:14 cloud01 systemd[1]: network.service: control process exited, code=exited status=1
Mar 16 10:56:14 cloud01 systemd[1]: Failed to start LSB: Bring up/down networking.
Mar 16 10:56:14 cloud01 systemd[1]: Unit network.service entered failed state.


After Google, the answer is to disable NetworkManager.



Execute the following command:


systemctl stop NetworkManager
systemctl disable NetworkManager


You can choose to reboot, or simply restart the network service to fix it.






Enable post effects:


# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.000c295f4d67       yes             eno16777736





Resources:



https://www.centos.org/forums/viewtopic.php?f=50&t=51000



This is the end of this article, thank you!






CentOS 7.1 Bridge Enable STP error "Master connection not found or invalid"


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.