virsh default启动失败原因分析及解决

 

启动default时出现如下错误提示:
[root@node1 ~]# virsh net-start default
error: Failed to start network default
error: internal error Network is already in use by interface eth0

提示信息表明,default所在的网段被eth0占用。
网上查寻结果表明,问题出在eth0的配置上。
检查eth0配置,发现之前添加的eth0:0网段与default网段冲突。删除eth0:0配置文件,重启网络,再次启动default,成功。




" I finally figured it out. The solution was actually quite simple. In virt-manager when you setup a connection it asks for the network address. The address I had previously setup for eth0 was xxx.xxx.xxx.64/26. I used this same one for the virt-manager connection. Obviously, this is why I was getting the error "Error starting network: Internal error Network is already in use by interface eth0".

To fix it, in virt-manager i just used xxx.xxx.xxx.64/27, giving the connection a different block of addresses. This solved the problem entirely. I can't believe it was that simple."
(参考: http://ubuntuforums.org/showthread.php?t=1789126)

转载于:https://www.cnblogs.com/goooogs/p/3664734.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值