[ovs-discuss] Mirror and bridge problem! how to add datapath?

Ben Pfaff blp at nicira.com
Mon Jul 30 16:34:17 UTC 2012


[adding back the mailing list]

I'd suggest upgrading to version 1.4.2.  It probably fixes the
"unexpected flow" problem.

You have something that is causing packets to be received on the gre0
tunnel.  There's not any value in that for mirroring, what is causing
the packets to be received?

On Mon, Jul 30, 2012 at 09:32:06PM +0500, Baxtiyor Maxsudov wrote:
> ovs-vsctl (Open vSwitch) 1.4.0+build0
> Compiled Jul 25 2012 23:24:51
> 
> 
> 2012/7/30 Ben Pfaff <blp at nicira.com>
> 
> > On Mon, Jul 30, 2012 at 07:16:10AM +0500, Baxtiyor Maxsudov wrote:
> > > Hello, help me please,
> > > I have bridge and mirror:
> > > ovs-vsctl add-br most
> > > ifconfig most 10.1.1.1/30
> > > ifconfig most up
> > > ovs-vsctl add-port most gre0 -- set interface gre0 type=gre
> > > options:remote_ip=192.168.20.x
> > > ovs-vsctl add-port most eth1
> > > ovs-vsctl -- set Bridge most mirrors=@m -- --id=@eth1 get Port eth1 --
> > > --id=@gre0 get Port gre0 -- --id=@m create Mirror name=zerkala
> > > select-dst-port=@eth1 select-src-port=@eth1 output-port=@gre0
> > >
> > > My bridge is worked successfully. I want mirror all traffic in eth1 to
> > > remote monitor server, but I have problem, some packets dropped by ovs,
> > and
> > > I get following messages in  /var/log/openvswitch/ovs-vswitchd.log:
> > > ofproto_dpif|WARN|unexpected flow from datapath
> > >
> > in_port(2),eth(src=xx:xx:xx:xx:xx:xx,dst=xx:xx:xx:xx:xx:xx),eth_type(0x8100),vlan(vid=666,pcp=0),encap(eth_type(0x0800),ipv4(src=192.168.40.1,dst=192.168.40.3,proto=17,tos=0,ttl=64,frag=no),udp(src=1813,dst=1646))
> > > ofproto_dpif|WARN|bridge most: dropping packet received on port gre0,
> > which
> > > is reserved exclusively for mirroring
> > >
> > > I think we must add datapath. But I do not know how to add it.
> > > Please help me fix my problem.
> >
> > What version of OVS is this?
> >
> 
> 
> 
> -- 
> С уважением,
> Ведущий программист СП ООО "Chirkom"
> Бахтиёр Махсудов



More information about the discuss mailing list