[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, estoy siguiendo el tuto que me decías hasta que llego a este punto:

"Independent Virtual Ethernet communication through the bridge

Bridging a CT interface to a CT0 interface is the magic that allows the CT to be an independent host on the network with its own IP address, gateway, etc. CT0 does not need any configuration for forwarding packets to the CT or performing proxy arp for the CT or event the routing.

To manually configure a bridge and add devices to it, perform steps 1 - 4 from Simple configuration chapter for several containers and/or veth devices using FE:FF:FF:FF:FF:FF as a CT0 veth side MAC address and then follow these steps."

Ahora bien luego indica:

[host-node]# brctl addbr vzbr0

Y luego:

[host-node]# brctl addif vzbr0 veth101.0

Aquí es donde no comprendo "veth101.0"

Esto es una interface creada en el CT0 (host-node) o en el CT101?

Bueno, espero haber sido claro :/

MUchas Gracias.

Saludos.


Reply to: