Re: Consulta Container 2 Nic OpenVz
2010/2/24 CHACO <diego.chacon@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
--
"La Voluntad es el unico motor de nuestros logros"
<Mstaaravin />
http://mstaaravin.blogspot.com/
Reply to: