今天在公司测试Linux bridge搭建,为了使内部docker容器的网络能够不经过2层封装转发对外公布,顾试用一下bridge功能,结果碰到报错:"Bringing up interface eno16777736:  Error: Connection activation failed: Master connection not found or invalid"

具体错误是:

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.

经过一番google,得出答案是得禁用NetworkManager。

执行如下命令:

systemctl stop NetworkManager
systemctl disable NetworkManager

你可以选择重启,或者仅单单重启network服务即可修复。

启用后效果:

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

参考资料:

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

本文到此结束,谢谢!

转载于:https://www.cnblogs.com/highend/p/centos7-1_bridge_enable_STP.html

CentOS 7.1 Bridge启用STP报错Master connection not found or invalid相关推荐

  1. CentOS 7安装Development Tools 失败 报错 group tools does not exist. Maybe run: yum groups mark install

    重装centos,以及迁移时,碰见这个问题.如下图: CentOS 7安装Development Tools 失败 报错 group tools does not exist. Maybe run: ...

  2. 网卡内卸载VMware Bridge Protocol协议报错:0x8007007E

    未能卸载VMware Bridge Protocol功能.错误是 0x8007007E 解决方法 VMware Workstation 安装/卸载时卡在"正在卸载网络驱动程序(Virtual ...

  3. 03-Redis客户端连接Redis服务器(redis.conf 文件配置没有生效导致redis运行报错Error: Connection reset by peer)

    参考此链接配置 redis.conf,然后本文章才能继续操作 EditPlus连接Centos7修改Redis配置文件(建议FinalShell修改更加方便)https://blog.csdn.net ...

  4. spring boot一个模块加载不到引用另一个模块的mapper.xml报错org.apache.ibatis.binding.BindingException: Invalid bound sta

    场景:parent项目有两个子模块,分别是shiro和server,两个子模块各自有各自的实体类.mapper,然后server需要引用shiro中的实体类和mapper.已经在启动类添加注解配置扫描 ...

  5. 【报错笔记】程序报错:Cause: java.sql.SQLException: Invalid value for getInt() - ‘4ab72edc-c02f-423f-ae9e-18c30

    程序报错:Cause: java.sql.SQLException: Invalid value for getInt() - '4ab72edc-c02f-423f-ae9e-18c306e2cda ...

  6. 【明哥报错簿】之 mybatis异常invalid comparison: java.util.Date and java.lang.String

    [明哥报错簿]之 mybatis异常invalid comparison: java.util.Date and java.lang.String 参考文章: (1)[明哥报错簿]之 mybatis异 ...

  7. pycharm报错:Error configuring SDK: Accessing invalid virtual file: 解决办法

    pycharm报错:Error configuring SDK: Accessing invalid virtual file: 解决办法: 针对linux系统, 删除home目录下pycharm配置 ...

  8. 程序执行报错Missing Connection or ConnectionString 解决方法

    程序执行报错Missing Connection or ConnectionString 解决方法 参考文章: (1)程序执行报错Missing Connection or ConnectionStr ...

  9. 数据库连接报错提示connection is being used

    数据库连接报错:connection is being used 解决办法: 1.在已经保存的连接上上编辑,测试连接成功,但是点击连接就会一直提示 connection is being used 2 ...

最新文章

  1. 90 后女科学家,四年完成清华大学硕博连读,解决多个世界级难题
  2. 猴子请来的逗比项目流水总结
  3. python中类似对象吗_在Python中,两个对象什么时候相同? - python
  4. Windows下如何安装和使用git
  5. Tomcat 7上具有RESTeasy JAX-RS的RESTful Web服务-Eclipse和Maven项目
  6. Linux内核 scatterlist介绍
  7. linux远程桌面MacOS,如何在Linux或macOS中使用远程桌面连接到Windows 10 | MOS86
  8. python经典程序-python经典程序
  9. (转)最近100年全球最顶尖公司的共性
  10. 转:Git: 对象原理
  11. ant nutch mysql_ant编译apache-nutch-2.2.1结合mysql实现爬虫的安装配置全过程
  12. 利用华为ENSP模拟器分析和配置中小型企业网络的综合实验(上)
  13. Speedtest在线测试html,配置HTML5 Speedtest测试本地与服务器之间的速度
  14. 第五次项目《超市会员管理Plus》
  15. 如何优雅的用 Nginx 在公网上快速搭建一个加密数据通道
  16. 支付宝等第三方支付原理与概述
  17. 如何加粗线条html,PS线条如何加粗,加深?
  18. 《卡车模拟器3D》技术支持
  19. 神经网络的简介和特点,神经网络的简介和应用
  20. 桌面的html文件怎么打开方式,怎么将浏览器打开的页面保存到桌面

热门文章

  1. 通过www服务器提供的起始网页就能访问,2010春2题目.doc
  2. php星期和时间获取
  3. excel处理后上传数据库
  4. 位置问题_德容:不需过多讨论我的位置问题,我会逐渐适应巴萨
  5. ajax获得excel文件流在前端打开_Javascript前端开发:jsonp的原理你真的懂吗?
  6. JAVA对象内存分配过程
  7. .net 启动mysql数据库连接,ASP.NET实战002:MySQL数据库连接
  8. bat ping 返回值_专科生可以进bat大厂吗?
  9. 我的世界中国版服务器无限夜视,我的世界中国版怎么无限夜视_我的世界夜视药水怎么合成_我的世界怎么永久夜视...
  10. 怎么把页面内容填满一页_【2020手帐体系】超详细的设置思路和内容介绍~