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

Baxtiyor Maxsudov djbaxo at gmail.com
Tue Jul 31 03:17:46 UTC 2012


Hello, I tried to upgrade to version 1.4.2, but it still does not
work. Now even
the logs were lost, ie cat /var/log/openvswitch/ovs-vswitchd.log is empty.
send me please an example to create datapath, I cant found.
Thanks in advance.

2012/7/30 Baxtiyor Maxsudov <djbaxo at gmail.com>

> Thanks a lot Ben Pfaff, I will try to upgrade to ver.1.4.2.
> I want to mirror all packets on the eth1 to another machine via gre tunnel
> .
>
>
> 2012/7/30 Ben Pfaff <blp at nicira.com>
>
>> [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"
>> > Бахтиёр Махсудов
>>
>
>
>
> --
> С уважением,
> Ведущий программист СП ООО "Chirkom"
> Бахтиёр Махсудов
>



-- 
С уважением,
Ведущий программист СП ООО "Chirkom"
Бахтиёр Махсудов
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20120731/c63c3497/attachment.htm>


More information about the discuss mailing list