Thanks Jesse, but i still cannot fix my issue. Because if i use vlan splinters, the above issue will be happened, if i don't use vlan splinters, the packets between the VMs are very slow (ping is ok), i use ovs-dpctl dump-flows br0, get the following result:
in_port(1),eth(src=c6:b0:ea:37:29:47,dst=c6:b0:3a:c0:0d:55),eth_type(0x8100),vlan(vid=3000,pcp=0),encap(eth_type(0x0800),ipv4(src=20.1.120.12,dst=20.1.120.13,proto=1,tos=1,ttl=64,frag=no),icmp(type=8,code=0)), packets:101, bytes:10302, used:4.341s, actions=pop_vlan,3 in_port(3),eth(src=c6:b0:3a:c0:0d:55,dst=c6:b0:ea:37:29:47),eth_type(0x0800),ipv4(src=20.1.120.13,dst=20.1.120.12,proto=1,tos=0,ttl=64,frag=no),icmp(type=0,code=0)), packets:101, bytes:9898, used:4.341s, actions=push_vlan(vid=3000,pcp=0),1 The port 1 is eth1, and the port 3 is the tap of VM. Does the iptables affect the ovs? If not, i have to upgrade the linux kernel, or upgrade NIC driver. Thanks, Kris On Tue, May 21, 2013 at 3:32 AM, Jesse Gross <je...@nicira.com> wrote: > There's an extensive section in the FAQ about vlans that I would > recommend reading. > > On Mon, May 20, 2013 at 8:51 AM, Kris zhang <zhang.k...@gmail.com> wrote: > > No, so you mean it maybe not caused by vlan splinters? > > > > > > On Mon, May 20, 2013 at 11:18 PM, Jesse Gross <je...@nicira.com> wrote: > >> > >> On Mon, May 20, 2013 at 4:37 AM, Kris zhang <zhang.k...@gmail.com> > wrote: > >> > Hi guys, > >> > > >> > I use ovs-1.7.1, and i run ovs on a single NIC host (CentOS): > >> > > >> > # ovs-vsctl add-br br0 > >> > # ovs-vsctl add-port br0 eth0 > >> > > >> > Then i setup the eth0 interface's other_config: > >> > enable-vlan-splinters="true". > >> > > >> > Last I ping this host by another PC, and at same time i do this: > >> > > >> > # ovs-vsctl add-port taptest br0 tag=100 > >> > > >> > I found there are 4 "Request timed out." happened. That means the host > >> > lost > >> > connect about 4 seconds. > >> > > >> > If i remove the vlan splinters on interface eth0. it won't happen. > >> > So does anybody know the reason? > >> > >> Is the other machine actually on that VLAN? > > > > >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss