18.16. 网桥错误
Red Hat Virtualization can configure multiple Virtualization network bridges to use with multiple ethernet cards. To successfully configure multiple network bridges for ethernet cards, you must configure the second network interface by either using the system-config-network TUI/GUI, or by creating a new configuration file in
/etc/sysconfig/network-scripts
. You should use a process to setup multiple Xen bridges. This is an example config file for a second NIC called 'eth1'
:
把
/etc/xen/scripts/network-bridge
复制到 /etc/xen/scripts/network-bridge.xen
。
Edit
/etc/xen/xend-config.sxp
and add a line to your new network bridge script (this example uses "network-virtualization-multi-bridge"
).
在
xend-config.sxp
文件里,加入的新行应该与新脚本相关:
network-script network-xen-multi-bridge
network-script network-xen-multi-bridge
请确保不要注释下面的一行:
network-script network-bridge
network-script network-bridge
如果你想要创建多个 Xen 网桥,你必须创建一个自定义的脚本。下面的例子创建了两个 Xen 网桥(称为
xenbr0
和 xenbr1
)并相应地把它们附加到 eth1
和 eth0
:
如果你想创建其他的网桥,你可以使用示例脚本并复制/粘贴相应的文件。