cloudstack ovs

cloudstack ovs
http://www.chenshake.com/install-on-ubuntu-12-04-open-vswitch/

http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html#install-and-configure-the-agent

tip:

添加网桥

使用openvswitch建立网桥,kvm使用,命令如下:

建立网桥br

#ovs-vsctl add-br br0

把eth0(物理机上网的网卡)添加到br0

#ovs-vsctl add-port br0 eth0

如果不出意外的话现在机器就不能上网了,可以按照以下方法解决

删除eth0的配置

#ifconfig eth0 0

为br0分配ip

#dhclient br0

因为我使用的是dhcp获取ip的,所以执行了此命令,如果你的ip是自己手动配置的,请把eth0的配置写到br0上。

你可能感兴趣的:(cloudstack ovs)