Dear Grégory, see my comments below. On 29.05.2015 18:00, Grégory Bulot wrote: > diffus...@bulot-fr.com > Hi, > > > I have trouble with openvz with 2 ip in hyperv and Cts with 2 ip also
As far as I understand you have HyperV VM with openVZ kernel and both your containers (ct 100 and ct101) executed inside this VM, it isn't? > On hyperv i have this conf > > eth1 : 10.200.71.20 (admin ip) > eth2 : 10.200.7 .20 (users ip) > > On CTs : > > vzlist -o vpsid,hostname,ip | sed 's/elnk-batch-//' > CTID HOSTNAME IP_ADDR > 100 container01-prp.admin 10.200.71.26 > 101 container02-prp.admin 10.200.71.27 10.200.7.27 > > for 10.200.7.27 : it's my test in ct101 > ip addr add 10.200.7.27/27 dev venet0:0 > > > I would like that from outside all call to 10.200.7.26 go on > CT100 is IP 10.200.7.26 set on your VM or containers? If not -- external packets will not be delivered to your host. Otherwise you can using iptables DNAT rule on hyper-V VM and to readdress all incoming packets to IP 10.200.7.26. > I would like that from outside all call to 10.200.7.27 go on > CT101 IMHO this should work without additional reconfigurations. > Note ct and hyperv are in same subnet > - admin ip : 10.200.71.20 > - users ip : 10.200.7 Thank you, Vasily Averin _______________________________________________ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users