It does sound like you've introduced a loop. Why are you connecting to ports from the same VM to the same bridge? That doesn't seem that useful.
--Justin On Feb 20, 2013, at 9:26 PM, dongcan ye <[email protected]> wrote: > Hi ovs-discuss, > > In my experiment , I use kvm to install a virtual machine with two > NICs,command like this: > > kvm -m 512 /home/test/ubuntu1.img -enable-kvm -net > nic,macaddr=00:10:34:52:00:10 -net tap,ifname=tap0,script=no,downscript=no > -net nic,macaddr=00:10:34:52:00:20 -net > tap,ifname=tap1,script=no,downscript=no -localtime > > and then , this virtual machine can run normally . > I use command ifconfig to make tap0 and tap1 up , command like this: > > ifconfig tap0 0 up > ifconfig tap1 0 up > > then I use " ovs-vsctl show ", display : > 66d50a59-3ea7-404a-b8f1-b52421b52c59 > Bridge "br0" > Port "br0" > Interface "br0" > type: internal > Port "eth1" > Interface "eth1" > > use command " ovs-vsctl add-port br0 tap0 ", bridge the port tap0 in br0 . > > In my virtual machine , I configure an IP address correctly , and can ping > gateway or other DNS normally . > But when I enter the command " ovs-vsctl add-port br0 tap1 ", then the > virtual machine can not run . > After using " ovs-vsctl del-port br0 tap1 " , the virtual machine can run > normally . > I have use wireshark to collect the packets , I see lots of packets are > transmiting . > > Is this problem associating with STP (spanning tree protocol) ? > when I enable stp in Open vSwitch ,use command " ovs-vsctl set bridge br0 > stp_enable=true " , the virtual machine also can run normally . > > Wish for your reply. > > thanks & regards , > dongcan ye > _______________________________________________ > discuss mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/discuss _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
