DomainU Fails to boot with "Error: Device 0 (vif) could not be connected. Could not find bridge, and none was specified"

After installing the xen-server packages on an Ubuntu system and creating a Xen domainU system the guest fails to boot with the following output:

"Error: Device 0 (vif) could not be connected. Could not find bridge, and none was specified".

This problem relates to the networking configuration of the Xen domain0 on the host system. By default, the Ubuntu implementation of Xen is installed with networking support disabled. If the domainU configuration file contains a vif directive, therefore, domain0 will be unable to find a network bridge for the domainU guest.

In order to rectify this problem, simply edit Xend configuration file. The default location for this file is:

/etc/xen/xend-config.sxp

Once the file is loaded into a suitable editor, simply comment out the following line:

(network-script network-dummy)

so that it appears as follows:

#(network-script network-dummy)

Once this line has been commented out, add a new line beneath it enabling the network bridge so that that the two lines appear as follows:

#(network-script network-dummy)
(network-script network-bridge)

Having made these changes save the Xend configuration file and then restart the xend daemon:

sudo /init.d/xend restart

If restarting the Xen daemon fails to resolve the problem it may be necessary to reboot the host system for the change to take effect.

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值