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

Re: OpenVZ - Pasaje de venet a veth



Camaleón wrote:
El Tue, 04 Dec 2012 11:23:13 -0200, ciracusa escribió:

(...)

Será que falta montar un "bride" entre el VETH del contenedor y la IP
del host anfitrión?

Pues mira que no he usado nunca el OpenVZ ese pero de tanto leerlo por aquí ya me está picando la curiosidad :-)

A ver, el VirtualBox tendrías que definir la interfaz en modo puente, efectivamente, y en OpenVZ... pues vamos a leer:

http://wiki.openvz.org/Virtual_Ethernet_device

"(...) When veth is bridged to a CT0 network interface (e.g., eth0), the container can act as an independent host on the network. The container's user can set up all of the networking himself, including IPs, gateways, etc."

Pues parece que sí.

Saludos,


Camaleon/a, gracias por tu respuesta.

Lo había intentado (como lo indican algunos tutos en general de proxmox):

# vzctl set 107 --netif_add eth0,,,,vmbr0 --save
Warning: dup for VE_ROOT=/vm/root/$VEID in line 29 is ignored
Invalid VE MAC address length
Bad parameter for --netif_add: eth0,,,,vmbr0

Pero como no andubo quise agregar una interfaz a la vez y luego de agregar eth0, cuando intentaba agregar el bridge no me iniciaba el container.

Sigo viendo lo que me pasaste!

Gracias!


Reply to: