On Wed, Feb 24, 2010 at 8:47 PM, deb...@mstaaravin.com.ar <
deb...@mstaaravin.com.ar> wrote:

> 2010/2/24 CHACO <diego.cha...@gmail.com>:
> > Configure devices in CT0
> > [host-node]# ifconfig veth101.0 0
> > [host-node]# echo 1 > /proc/sys/net/ipv4/conf/veth101.0/forwarding
> > [host-node]# echo 1 > /proc/sys/net/ipv4/conf/veth101.0/proxy_arp
> > [host-node]# echo 1 > /proc/sys/net/ipv4/conf/eth0/forwarding
> > [host-node]# echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
> >
> >
> > [edit] Configure device in CT
> > [host-node]# vzctl enter 101
> > [ve-101]# /sbin/ifconfig eth0 0
> > [ve-101]# /sbin/ip addr add 10.100.0.3 dev eth0
> > [ve-101]# /sbin/ip route add default dev eth0
> >
> > Y finalmente  ip route add 10.100.03 dev veth101.0
>
> Pregunta, porque no entendí bien...
>
> Dijiste que pudiste agregarle una segunda interfaz a la VM.....?
> En este caso "eth1"..............?
>
> Qué IP tiene esa interface...........?
>
> Agregaste una nueva ruta si tiene una IP distinta en el host anfitrion....?
> Tal como esto:
> ip route add 10.100.03 dev veth101.0
> ip route add 192.168.0.1 dev veth101.1
>
>
>

El host anfitrio tiene dos interfaces de red fisicas conectadas a dos redes
diferentes.
Lo que necesito es que un container se comunique con una red y el otro
container con la otra red.

Saludos,

-- 
Diego Chacón Rojas
diego.cha...@gmail.com
San Jose Costa Rica

   .-.
   /v\    L   I   N   U   X
  // \\
 /(   )\
^^-^^
"This is Unix-Land. In quiet nights, you can hear the Windows machines
reboot"
USER    350910
MACHINE 244435
No me envie correos en formatos propietarios
http://www.gnu.org/philosophy/no-word-attachments.es.html
http://www.debian.org/intro/about.es.html

Responder a