<div dir="ltr"><div><div><div><div><div><div>Hi all,<br></div>first of all, thanks for your assistance.<br></div>Finally I have bought 8 ip's to have a easier network set up.I did not find how to automatize the creation ov vms with NAT network and port redirections.<br>
<br></div>In relation with the problem with OVH and the connection lost when you attach a bridge to an interface, it is fixed. <br>The problem was the next: <br></div>reading this<a href="http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_ubuntu_kvm.html#configure-the-network"> http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_ubuntu_kvm.html#configure-the-network</a> I supposed I should leave the eth0 definition without change it. I mean, I would have to add the br0 definition below the eth0 definition. I did not realised that the /etc/network/interfaces must have only defined lo and br0 (attached to eth0) as it is documented. Having br0 with the main IP and lo is how the interfaces should be set up.<br>
<br></div>So if you have the same problem, put the same network configuration than the documented one.<br><br></div>Cheers,<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br clear="all"><div>Pablo Hinojosa.<br>
<a href="http://pablohinojosa.is/this?utm_source=firma&utm_medium=correo&utm_campaign=firma" target="_blank">PabloHinojosa.is</a></div>
<br><br><div class="gmail_quote">2014-07-18 12:27 GMT+02:00 Joaquin Villanueva <span dir="ltr"><<a href="mailto:jvillanueva@acb.es" target="_blank">jvillanueva@acb.es</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi Valentin,<br>
<br>
Configure bridges in OVH servers is somewhat tricky. I've done it in
the past (not for OpenNebula, but for XEN VMs running inside an OVH
server) and the problem is the MAC filtering, as Valentin says. You
have to add new MACs from your control panel, and use Failover IPs
(not sure if this is mandatory, i was using these Failover IPs to
give public access to my VMs) . See this docs:<br>
<br>
<a href="http://guias.ovh.es/DedicadoBridgeCliente" target="_blank">http://guias.ovh.es/DedicadoBridgeCliente</a><br>
<a href="http://guias.ovh.es/DedicadoMacVirtual" target="_blank">http://guias.ovh.es/DedicadoMacVirtual</a><br>
<br>
Regards,<br>
<br>
<div>El 18/07/14 08:03, Valentin Bud
escribió:<br>
</div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hello Pablo,
<div><br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Jul 18, 2014 at 6:53 AM,
Pablo Hinojosa Nava <span dir="ltr"><<a href="mailto:pablohn6@gmail.com" target="_blank">pablohn6@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hi all,<br>
<br>
</div>
I am having problems trying to set up
an OpenNebula host to virtualize with
KVM.<br>
</div>
I have bought a dedicated server with
OVH (So You Start) with 1 publlc IP.<br>
</div>
The public IP is on eth0 interface and
each time I try to create a Linux bridge
(as is suggested during the installation <a href="http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_ubuntu_kvm.html#configure-the-network" target="_blank">http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_ubuntu_kvm.html#configure-the-network</a>
) I got frozen the SSH connection. <br>
</div>
If I edit the file /etc/network/interfaces,
then I run /etc/init.d/networking restart
and it seems the server does not do
anything. If I restart the server with
changes made, I cannot recover the
connection and I have to reinstall the
operating system.<br>
</div>
If I try to create the bridge by hand, I the
same problem (connection lost) when I try to
add the bridge to the public network interface
(etc0).<br>
<br>
</div>
It seems OVH use Mac Filtering switches, so that
could be the reason.<br>
</div>
I could buy a block of 8 or 16 IPs, but it does
not change way to configure OpenNebula.<br>
</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>If OVH is using MAC Filtering than you cannot bridge
eth0 unless you create the bridge </div>
<div>using the same MAC address as the one eth0 has. Never
tried so I just suppose it </div>
<div>could work.</div>
<div><br>
</div>
<div>You have at least three choices, you can either NAT a
private class over eth0 and define that</div>
<div>network in OpenNebula, you can acquire a /29 block,
create a bridge, set the first public IP</div>
<div>address on it and define the network in OpenNebula, or
a combination of both.</div>
<div><br>
</div>
<div>You can choose to use Linux bridge or OpenvSwitch.
Either of the two are really easy to </div>
<div>set up and running. OpenNebula has network drivers for
both of them. I would choose </div>
<div>OpenvSwitch :).</div>
<div><br>
</div>
<div>Best,</div>
<div>Valentin</div>
</div>
<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
<div>-- <br>
<p style="border-top:1px solid #000000"><br>
</p>
<table style="border:none" cellpadding="0" cellspacing="0" width="408">
<tbody>
<tr>
<td colspan="4" width="408">
<p style="font-size:12pt"><b>Joaquín Villanueva Adrián</b></p>
</td>
</tr>
<tr>
<td colspan="4">
<p>Director Técnico Área Media</p>
</td>
</tr>
<tr>
<td colspan="4" height="20"><br>
</td>
</tr>
<tr>
<td rowspan="8" width="56">
<p><a href="http://www.acb.com/" target="_blank"><img src="cid:part3.02020903.04090306@acb.es"></a></p>
</td>
<td colspan="2">
<p><b>ASOCIACIÓN CLUBS DE BALONCESTO</b></p>
</td>
<td rowspan="8" width="72">
<p><a href="http://www.acb.com/" target="_blank"><img src="cid:part5.02080808.05010409@acb.es"></a></p>
</td>
</tr>
<tr>
<td colspan="2" height="8"><br>
</td>
</tr>
<tr>
<td width="48">
<p>Tel</p>
</td>
<td>
<p><a href="tel:%2B34%20934%2017%2024%2004" value="+34934172404" target="_blank">+34 934 17 24 04</a></p>
</td>
</tr>
<tr>
<td>
<p>Móvil</p>
</td>
<td>
<p><a href="tel:%2B34%20678%2047%2038%2068" value="+34678473868" target="_blank">+34 678 47 38 68</a></p>
</td>
</tr>
<tr>
<td>
<p>Fax</p>
</td>
<td>
<p><a href="tel:%2B34%20934%2018%2023%2094" value="+34934182394" target="_blank">+34 934 18 23 94</a></p>
</td>
</tr>
<tr>
<td colspan="2" height="8"><br>
</td>
</tr>
<tr>
<td colspan="2">
<p><a href="http://www.acb.com/" target="_blank">www.acb.com</a></p>
</td>
</tr>
<tr>
<td colspan="2">
<p>Iradier, 37 - E 08017 - Barcelona</p>
</td>
</tr>
</tbody>
</table>
<p style="border-bottom:1px solid #000000"><br>
</p>
<p style="font-size:8pt"><span><i>Advertencia
de privacidad: Este mensaje y los documentos que en su caso
consten
como anexos, son confidenciales. Así pues, si lo reciben por
error,
les solicitamos nos lo comuniquen y se abstengan de realizar
copias
del mismo o entregarlo a otro destinatario. A los efectos de
la Ley
15/1999, de Protección de Datos de Carácter Personal, les
informamos que los datos de carácter personal que figuran en
esta
comunicación están incluidos en un fichero automatizado cuyo
responsable es ACB. Si desea ejercitar los derechos de
acceso,
rectificación, cancelación y oposición, diríjanse por
escrito a
la dirección de c/ Iradier, 37 - 08017 (Barcelona) o al
siguiente
correo electrónico: <a href="mailto:secretaria@acb.es" target="_blank">secretaria@acb.es</a></i></span></p>
<br>
<p style="font-size:8pt"><span lang="en-GB"><i>Privacy
warning: This message and any attachments are confidential.
Therefore, if you are not the intended addressee of this
message,
please delete it immediately without copying or forwarding
it and
inform the sender. For the purpose of the Law 15/1999, about
protection of personal data, we inform you that the personal
data
contained in this message are included in a database,
responsibility
of ACB. In order to access, rectify, cancel and opposite any
of these
data, please write to C/ Iradier, 37 - 08017 (Barcelona) or
to: <a href="mailto:secretaria@acb.es" target="_blank">secretaria@acb.es</a></i></span></p>
</div>
</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></div>