Hi<div><br></div><div>This could be achieved by adding the ifdown command in the clean script of the 802.1q driver. The core functionality is provided by HostManaged.rb. If you take a look at the code, maybe you can add a method similar to</div>

<div>the activate one that iterates over the VLAN devs and execute an ip link set <dev> down. Note that you can only set down the interface if there are no other VM using it (so you would need to query the bridge). Bridge, devices and VLAN IDs can be easily obtained as shown in the activate method of the HostManaged class.</div>

<div><br></div><div>Maybe it is easier to trace who is issuing the IGMP messages...</div><div><br></div><div>Cheers</div><div><br></div><div>Ruben</div><div><br></div><div><div class="gmail_quote">On Mon, Aug 6, 2012 at 11:34 AM,  <span dir="ltr"><<a href="mailto:Stefan.Steinert@brodos.de" target="_blank">Stefan.Steinert@brodos.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
    <p style="margin-top:0;margin-bottom:0">
      
      
      
          </p>
  
  <div lang="en-US" style="font-variant:normal;line-height:normal;margin-top:4px;margin-bottom:1px;margin-left:4px;margin-right:4px" dir="LTR">
    <p style="margin-top:0;margin-bottom:0">
      <font face="Dialog">Hello One Users,</font><font face="Dialog"></font>    </p>
    <p style="margin-top:0;margin-bottom:0">
      <font face="Dialog"><br style="font-family:Dialog;font-weight:normal">
      </font>    </p>
    <p style="margin-top:0;margin-bottom:0">
      <font face="Dialog">I'm currently deploying OpenNebula on an IBM BladeCenter whose Blades OS are based on SLES 11 SP2 with an attached NFS Storage for the VM Images.</font><font face="Dialog"></font>    </p>
    <p style="margin-top:0;margin-bottom:0">
      <font face="Dialog">To integrate the VMs in our network I'm going to use the 802.1q Module.</font><font face="Dialog"></font>    </p>
    <p style="margin-top:0;margin-bottom:0">
      <font face="Dialog"><br style="font-family:Dialog;font-weight:normal">
      </font>    </p>
    <p style="margin-top:0;margin-bottom:0">
      <font face="Dialog">The whole system is working, except one little thing :)</font><font face="Dialog"></font>    </p>
    <p style="margin-top:0;margin-bottom:0">
      <font face="Dialog"><br style="font-family:Dialog;font-weight:normal">
      </font>    </p>
    <p style="margin-top:0;margin-bottom:0">
      <font face="Dialog">If I try to migrate (Live and normal) the remaining network interface on the host on which the VM ran before starts to flood the whole Network with IGMP queries. That results in blocking my switches (BNT Layer 2/3 cooper gigabit + HP procurve 2824), so no more data will be transfered.</font><font face="Dialog"></font>    </p>


    <p style="margin-top:0;margin-bottom:0">
      <font face="Dialog">If I shutdown the vlan tagged interfaces on the old machine with "ifconfig eth2.100 down" for example, the network gets fully operational again.</font><font face="Dialog"></font>    </p>


    <p style="margin-top:0;margin-bottom:0">
      <font face="Dialog"><br style="font-family:Dialog;font-size:2;font-weight:normal">
      </font>    </p>
    <p style="margin-top:0;margin-bottom:0">
      <font face="Dialog">Is there already a way in Opennebula to bring down these interfaces, which I only have to add the currently empty clean script?</font>    </p>
    <p style="margin-top:0;margin-bottom:0">
      <font face="Dialog"><br style="font-family:Dialog;font-size:2;font-weight:normal">
      </font>    </p>
    <p style="margin-top:0;margin-bottom:0">
      <font face="Dialog">Or does anyone know how to prevent that igmp flooding on system side?</font>    </p>
<br>      <br>
    <p style="margin-top:0;margin-bottom:0">
      <font face="Dialog">regards</font>    </p>
<br>      
    <p style="margin-top:0;margin-bottom:0">
      <font face="Dialog">Stefan</font>
    </p>
  </div>


<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula<br>


</div>