[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SOLUCIONADO] Re: [OT] Re: Error en bonding al compartir la red con bridge vmbr0



2015-04-07 15:49 GMT+02:00 Camaleón <noelamac@gmail.com>:
>
> El Mon, 06 Apr 2015 19:06:46 +0200, Maykel Franco escribió:
>
> -5 puntos por el html y -5 puntos por el OT

Cierto, lo acepto.

>
>
> (no, no me vale que Proxmox se base en Debian si lo que te falla es la
> máquina virtual que gestiona Proxmox)

Mmmm ok.

>
> > Buenas, he montado un bonding en 4 tarjetas de red con el algoritmo
> > loadbalance-rr y obtengo el siguiente error en el fichero kern.log:
> >
> > kernel: bond0: received packet with own address as source address
> >
> > Leyendo y googleando encuentro esto, que aunque es de proxmox (proxmox
> > se basa en Debian), vale para Debian:
> >
> > http://www.yakakliker.org/Cat%C3%A9gorie_%3A_Virtualisation/Proxmox/
> > Proxmox_%3A_Bond0_received_packet_with_own_address_as_source
>
> (...)
>
> Pues hombre, ahí te lo dice bien claro, que no se recomienda usar ese
> modo:
>
> ***
> Round-robin bonding (mode 0) with virtualization breaks networking for
> guests. Why? How can I work around it?
> Article ID: 16051 - Created on: Mar 5, 2009 12:53 AM - Last Modified:  Jun
> 22, 2010 11:18 AM

Vaya, justo el que me interesa... casualidad...

>
> (...)
>
> Solution
>
> There is no plan to provide a solution for this through a code change in
> the bridging code at this time. However, there is an effective workaround:
>
> When trying to achieve greater throughput with bonding, balance-tlb (mode
> 5) or 802.3ad (mode 4) should be used since those modes will drop the
> additional incoming broadcast frames before passing the frames to the
> stack.  The problem described in this article is not found in these
> modes. If fault tolerance is the only concern, active-backup (mode 1)
> will avoid this problem by dropping broadcast frames on the backup
> interface.  Use of those alternative modes is recommended.
> ***
>
> Por otro lado, los únicos parámetros distintos que veo en tu
> configuración con la que indican en el artículo son "gateway" (visible en
> el tuyo) y "bridge_ports" (no aparece en el tuyo), el resto parece todo
> igual.

Al final lo he solucionado, me faltaba esta linea:

bridge_ports bond0

Restart de la red y a correr... Ya no llega el error del log ni el
error de mi sistema de monitorización de que las máquinas están down y
up casi constantemente...

>
> Saludos,
>
> --
> Camaleón

Gracias como siempre.

Saludos.

>
>
> --
> To UNSUBSCRIBE, email to debian-user-spanish-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] pan.2015.04.07.13.49.42@gmail.com">https://lists.debian.org/[🔎] pan.2015.04.07.13.49.42@gmail.com
>


Reply to: