HVM用のブリッジネットワークの作成

HVM用のブリッジネットワークの作成

私のサーバーで実行できますが、どのNICにも接続されていない(ブリッジネットワークを設定したい場合でも)、HVMを作成しようとしています。 xlを使用してMACアドレスを指定するcfgファイルを実行しようとすると、次のエラーが発生します。

Parsing config from /root/xen/devoracle.cfg
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/vif-route online [15257] exited with error status 1
libxl: error: libxl_device.c:1219:device_hotplug_child_death_cb: script: /etc/xen/scripts/vif-route failed; error detected.
libxl: error: libxl_create.c:1462:domcreate_attach_vtpms: unable to add nic devices
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/vif-route offline [15372] exited with error status 1
libxl: error: libxl_device.c:1219:device_hotplug_child_death_cb: script: /etc/xen/scripts/vif-route failed; error detected.
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/block remove [15362] exited with error status 1
libxl: error: libxl_device.c:1219:device_hotplug_child_death_cb: script: /etc/xen/scripts/block failed; error detected.
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/block remove [15365] exited with error status 1
libxl: error: libxl_device.c:1219:device_hotplug_child_death_cb: script: /etc/xen/scripts/block failed; error detected.
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/vif-route remove [15495] exited with error status 1
libxl: error: libxl_device.c:1219:device_hotplug_child_death_cb: script: /etc/xen/scripts/vif-route failed; error detected.
libxl: error: libxl.c:1583:libxl__destroy_domid: non-existant domain 54
libxl: error: libxl.c:1542:domain_destroy_callback: unable to destroy guest with domid 54
libxl: error: libxl.c:1471:domain_destroy_cb: destruction of domain 54 failed

私が読んだすべての記事、さらにXenのウェブサイトでも、最初のステップはブリッジされたネットワークを作成することです。ただし、ifupを実行すると、常に次のような結果が表示されます。

can't add eth0 to bridge xenbr1: Operation not supported

私のifcfg-eth0は次のようになります。

GAETWAY=192.168.x.x 
SUBNET=255.255.255.0
ONBOOT=yes
BRIDGE=xenbr0
NM_CONTROLLED=no

ifcfg-xenbr0:

DEVICE=xenbr0
TYPE=Bridge
BOOTPROTO=static
BROADCAST=192.168.x.x
IPADDR=192.168.x.x
NETMASK=255.255.255.0
ONBOOT=yes
DELAY=0
NM_CONTROLLED=no

どちらのデバイスも同じゲートウェイを共有します。この構成から何かが抜けましたか?

修正する:

これが役に立つかどうかはわかりませんが、ifup icfg-xenbr0を実行しようとすると、次の結果が表示されます。

add bridge failed: Package not installed

ベストアンサー1

おすすめ記事