Re: [ovs-discuss] Residual IP/ARP entry after a VM is powered off -> OVS passing unwanted pkts

2010-09-02 Thread Ben Pfaff
On Thu, Sep 02, 2010 at 04:24:58PM -0700, Martin Casado wrote: > I think you have a basic misunderstanding of L2 learning. A > typical switch pipeline operates as follows (ignoring bcast/mcast): > > - packet enters switch > - lookup destination MAC in L2 table > - if match, send it out of port a

Re: [ovs-discuss] Residual IP/ARP entry after a VM is powered off -> OVS passing unwanted pkts

2010-09-02 Thread Martin Casado
I think you have a basic misunderstanding of L2 learning. A typical switch pipeline operates as follows (ignoring bcast/mcast): - packet enters switch - lookup destination MAC in L2 table - if match, send it out of port associated with MAC table - If unknown, flood the packet (along the associ

Re: [ovs-discuss] Residual IP/ARP entry after a VM is powered off -> OVS passing unwanted pkts

2010-09-02 Thread Luiz Henrique Ozaki
> > > The switch will indeed start broadcasting all packets to an unlearned > MAC. If the sender spews them out at an uncontrolled rate, then you > will waste a lot of bandwidth across your entire subnet. But reasonable > senders will not do that (and TCP/IP is reasonable in this sense). > Switc

Re: [ovs-discuss] Residual IP/ARP entry after a VM is powered off -> OVS passing unwanted pkts

2010-09-02 Thread Ben Pfaff
On Thu, Sep 02, 2010 at 06:38:52PM -0300, Luiz Henrique Ozaki wrote: > Some MAC into switch A is comunicating with a MAC in switch B, when MAC at > switch B is shutdown, the switch will send that packets to all ports in > switch B and if the switch C is connected to switch B, the packets will go >

Re: [ovs-discuss] Residual IP/ARP entry after a VM is powered off -> OVS passing unwanted pkts

2010-09-02 Thread Luiz Henrique Ozaki
But the physical switch is sending those packets to all ports because of a * problem*... Thats not a common behavior, it doesn't make much sense. Look at this scenario: Some MAC into switch A is comunicating with a MAC in switch B, when MAC at switch B is shutdown, the switch will send that packe

Re: [ovs-discuss] Residual IP/ARP entry after a VM is powered off -> OVS passing unwanted pkts

2010-09-02 Thread Jesse Gross
On Thu, Sep 2, 2010 at 9:01 AM, Luiz Henrique Ozaki wrote: > Yeah, I don't know the difficult in changing this but this should be the > perfect cenario: > VM is poweroff -> physical switch still have that MAC in a port and sends to > the host -> OVS should know when a VM poweroff and in the MAC ta

Re: [ovs-discuss] Residual IP/ARP entry after a VM is powered off -> OVS passing unwanted pkts

2010-09-02 Thread Luiz Henrique Ozaki
Yeah, I don't know the difficult in changing this but this should be the perfect cenario: VM is poweroff -> physical switch still have that MAC in a port and sends to the host -> OVS should know when a VM poweroff and in the MAC table doesn't have that MAC anymore, MAC become incomplete and maybe s

Re: [ovs-discuss] Residual IP/ARP entry after a VM is powered off -> OVS passing unwanted pkts

2010-09-02 Thread Ben Pfaff
On Thu, Sep 2, 2010 at 8:19 AM, Luiz Henrique Ozaki wrote: > Unwanted packets received by the VMs seems not a good idea... If you have a controller, it can prevent this from happening. We have thought about adding a similar feature to Open vSwitch itself, but general-purpose design seems difficu

Re: [ovs-discuss] Residual IP/ARP entry after a VM is powered off -> OVS passing unwanted pkts

2010-09-02 Thread Luiz Henrique Ozaki
Yes, thats what is happening. Sorry for the long mail... I just figure what should be at the end of the mail. Unwanted packets received by the VMs seems not a good idea... On Wed, Sep 1, 2010 at 2:59 PM, Ben Pfaff wrote: > I only read your original message quickly, but if I understand it > pro