Oh ok... I understand the purpose of this hook now (and how it abuses mac addresses mask).<br><br>I find this solution a little bit dirty and limited (fixed subnets, need different IP range for each virtual network, etc). Therefore I will continue to setup a bridge for each vnet.<br>
<br>However the script seems broken.<br><br>Regards<br><br>Frederic<br><br> <br><br><br><br><br><br><div class="gmail_quote">Le 28 avril 2011 09:26, Frédéric Dreier <span dir="ltr"><<a href="mailto:frederic.dreier@gmail.com">frederic.dreier@gmail.com</a>></span> a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br><br>I have some problems using ebtables-kvm hooks script.<br><br>I use the one saved in the GIT (the one from the documentation seems deprecated).<br>
<br>get_interfaces return this hash table: <br><br> >> {"br-vnets"=>["vnet1", "vnet2", "vnet3", "vnet4"], "br-test"=>["vnet0"], "virbr0"=>[nil]}"<br>
<br>therefor the following 'if' statement failed for tap="vnet1" (which is my VM's interface):<br><br>>> if interfaces.include? tap<br><br><br>Thanks for your help,<br><br>Frederic<br><br>
</blockquote></div><br>