CentOS 7.1 Bridge启用STP报错Master connection not found or invalid
今天在公司测试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相关推荐
- 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: ...
- 网卡内卸载VMware Bridge Protocol协议报错:0x8007007E
未能卸载VMware Bridge Protocol功能.错误是 0x8007007E 解决方法 VMware Workstation 安装/卸载时卡在"正在卸载网络驱动程序(Virtual ...
- 03-Redis客户端连接Redis服务器(redis.conf 文件配置没有生效导致redis运行报错Error: Connection reset by peer)
参考此链接配置 redis.conf,然后本文章才能继续操作 EditPlus连接Centos7修改Redis配置文件(建议FinalShell修改更加方便)https://blog.csdn.net ...
- spring boot一个模块加载不到引用另一个模块的mapper.xml报错org.apache.ibatis.binding.BindingException: Invalid bound sta
场景:parent项目有两个子模块,分别是shiro和server,两个子模块各自有各自的实体类.mapper,然后server需要引用shiro中的实体类和mapper.已经在启动类添加注解配置扫描 ...
- 【报错笔记】程序报错: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 ...
- 【明哥报错簿】之 mybatis异常invalid comparison: java.util.Date and java.lang.String
[明哥报错簿]之 mybatis异常invalid comparison: java.util.Date and java.lang.String 参考文章: (1)[明哥报错簿]之 mybatis异 ...
- pycharm报错:Error configuring SDK: Accessing invalid virtual file: 解决办法
pycharm报错:Error configuring SDK: Accessing invalid virtual file: 解决办法: 针对linux系统, 删除home目录下pycharm配置 ...
- 程序执行报错Missing Connection or ConnectionString 解决方法
程序执行报错Missing Connection or ConnectionString 解决方法 参考文章: (1)程序执行报错Missing Connection or ConnectionStr ...
- 数据库连接报错提示connection is being used
数据库连接报错:connection is being used 解决办法: 1.在已经保存的连接上上编辑,测试连接成功,但是点击连接就会一直提示 connection is being used 2 ...
最新文章
- 90 后女科学家,四年完成清华大学硕博连读,解决多个世界级难题
- 猴子请来的逗比项目流水总结
- python中类似对象吗_在Python中,两个对象什么时候相同? - python
- Windows下如何安装和使用git
- Tomcat 7上具有RESTeasy JAX-RS的RESTful Web服务-Eclipse和Maven项目
- Linux内核 scatterlist介绍
- linux远程桌面MacOS,如何在Linux或macOS中使用远程桌面连接到Windows 10 | MOS86
- python经典程序-python经典程序
- (转)最近100年全球最顶尖公司的共性
- 转:Git: 对象原理
- ant nutch mysql_ant编译apache-nutch-2.2.1结合mysql实现爬虫的安装配置全过程
- 利用华为ENSP模拟器分析和配置中小型企业网络的综合实验(上)
- Speedtest在线测试html,配置HTML5 Speedtest测试本地与服务器之间的速度
- 第五次项目《超市会员管理Plus》
- 如何优雅的用 Nginx 在公网上快速搭建一个加密数据通道
- 支付宝等第三方支付原理与概述
- 如何加粗线条html,PS线条如何加粗,加深?
- 《卡车模拟器3D》技术支持
- 神经网络的简介和特点,神经网络的简介和应用
- 桌面的html文件怎么打开方式,怎么将浏览器打开的页面保存到桌面
热门文章
- 通过www服务器提供的起始网页就能访问,2010春2题目.doc
- php星期和时间获取
- excel处理后上传数据库
- 位置问题_德容:不需过多讨论我的位置问题,我会逐渐适应巴萨
- ajax获得excel文件流在前端打开_Javascript前端开发:jsonp的原理你真的懂吗?
- JAVA对象内存分配过程
- .net 启动mysql数据库连接,ASP.NET实战002:MySQL数据库连接
- bat ping 返回值_专科生可以进bat大厂吗?
- 我的世界中国版服务器无限夜视,我的世界中国版怎么无限夜视_我的世界夜视药水怎么合成_我的世界怎么永久夜视...
- 怎么把页面内容填满一页_【2020手帐体系】超详细的设置思路和内容介绍~