OpenVZ Forum - RDF feed
type: channel
items: Dual NICs on OpenVZ
items: Re: Dual NICs on OpenVZ

Dual NICs on OpenVZ
type: item
description: 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
creator: aab49
date: 2010-05-26T17:09:56-00:00

Re: Dual NICs on OpenVZ
type: item
description: 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.
creator: kir
date: 2010-05-26T17:16:39-00:00

Re: Dual NICs on OpenVZ
type: item
description: I was talking about using default (venet) networking.
creator: kir
date: 2010-05-26T17:17:08-00:00

Re: Dual NICs on OpenVZ
type: item
description: Thanks for the input Kir. They would actually be on the same network segment so I guess it wouldn't work.
creator: aab49
date: 2010-05-26T17:19:42-00:00

Re: Dual NICs on OpenVZ
type: item
description: 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?
creator: tibby
date: 2010-06-10T07:44:31-00:00