[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] "Normal" action
From:       blp () nicira ! com (Ben Pfaff)
Date:       2012-04-18 16:09:04
Message-ID: 20120418160904.GA31006 () nicira ! com
[Download RAW message or body]

The NORMAL action implements a MAC learning switch.  If you only run
packets with a particular MAC source address through it, it only learns
that MAC address.

On Wed, Apr 18, 2012 at 04:44:04PM +0200, Luca Prete wrote:
> Sorry but I didn't understand..What's happening? Do you have any
> idea to make it works?
> 
> 
> Thanks,
> 
> 
> LP
> 
> Il 18/04/2012 15:39, Ben Pfaff ha scritto:
> > On Wed, Apr 18, 2012 at 02:25:09PM +0200, Luca Prete wrote:
> > > ovs-ofctl add-flow br0 \
> > > hard_timeout=0,idle_timeout=0,dl_dst=00:50:56:8a:14:13,dl_type=0x800,nw_proto=6,tp_dst=35000,action=mod_dl_src:00:50:56:8a:14:20,NORMAL
> > >  
> > > 00:50:56:8a:14:13 is the MAC address of HOST02 and 00:50:56:8a:14:20
> > > is the MAC address of host03.
> > > 
> > > When I generate a particular packet from HOST01 that matches the
> > > rules (ex with telnet google.it 35000) I expect to view a packet
> > > arriving just to HOST03 (checking with tcpdump on HOST03).
> > > 
> > > What happens is that packets arrive both to HOST02 and HOST03...It
> > > seems that a FLOODING action is taken.
> > All the packets come from one particular MAC address and are destined to
> > a different MAC address, so OVS never learns the which port has the
> > destination MAC, so all the packets get flooded.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic