We recently added another NIC to our HN and would like to find some ways to take advantage of the additional bandwidth. Is it possible to tell the vz service to use both eth0 and eth1 and have half our containers use eth0 and the other half use eth1? If not, we can probably go with bonding the interfaces together. - Amir
It is possible if they are in different network segments. Say you have eth0 with 10.2.3.1/24 address and eth1 with 10.2.5.1/24 address Now, containers with addresses like 10.2.3.xxx will use eth0 and containers with addresses like 10.2.5.xxx will use eth1.
I was talking about using default (venet) networking.
Thanks for the input Kir. They would actually be on the same network segment so I guess it wouldn't work.
I have a weird problem. I have one machine, with two network interfaces. Eth0: 10.10.10.0/24 Eth1: 192.168.0.0/24 I have four containers on the machine: 10: IP:10.10.10.10 GW:10.10.10.254 11: IP:10.10.10.11 GW:10.10.10.254 12: IP:10.10.10.10 GW:10.10.10.254 50: IP:192.168.0.50 GW:192.168.0.1 Sometimes all the containers wanting to access on Eth1 instead of Eth0. Why?