Re: OpenVZ - Pasaje de venet a veth
El Wed, 05 Dec 2012 10:18:02 -0200, ciracusa escribió:
> Camaleón wrote:
(...)
>> "(...) 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í.
>>
> Camaleon, estoy siguiendo el tuto que me decías hasta que llego a este
> punto:
(...)
> 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."
¿Ya has hecho esos 4 pasos de la sección "Simple configuration with
virtual Ethernet device"?
> Ahora bien luego indica:
>
> [host-node]# brctl addbr vzbr0
Con eso se supone que creas la interfaz virtual para el puente.
> Y luego:
>
> [host-node]# brctl addif vzbr0 veth101.0
Y aquí añades a esa interfaz virtual el dispositivo de red de tu
contenedor, vamos, tal cual harías en un sistema real siendo:
vzbr0 → br0
veth101.0 → eth0
> 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 :/
Según las explicaciones de la wiki, entiendo que sería en el propio
servidor (CT0).
Saludos,
--
Camaleón
Reply to: