Can I configure two physical interfaces as tunnel interfaces for load sharing?

asked 2016-12-27 23:56:41 -0600

Deepaklal gravatar image

I want to create a openstack setup which has a compute server with 2 interfaces (Eg., eth1 and eth2) for data network (internal network). This two interfaces are connected to neutron via switch. The VM instance 1 in the compute should use eth1 and VM instance 2 should use eth2. Based on the load, I should choose eth1 or eth2 if a VM instance 3 is launched. I am not referring to SRIOV which will bind an interface to the VM and cannot be shared. If this is possible, what are changes required in the configuration file ?

edit retag flag offensive close merge delete


I don't think it works like this, but what's wrong with bonding?

Bernd Bausch gravatar imageBernd Bausch ( 2016-12-28 08:41:57 -0600 )edit

Bausch, when you bind a VM with an interface using SRIOV, you can't share it with another VM. Assuming a VM will not use entire interface speed, I will not be using interface efficiently when I go with SRIOV. The network resource should be optimally used. Correct me if my understanding is wrong

Deepaklal gravatar imageDeepaklal ( 2016-12-28 22:32:48 -0600 )edit

The question was specifically not about SRIOV.

SRIOV is about sharing a physical interface by creating virtual interfaces at the card level (correct term virtual functions).

I don't think I understand your optmization concerns.

Bernd Bausch gravatar imageBernd Bausch ( 2016-12-29 22:11:29 -0600 )edit

Bausch, Thank you for clarifying about SRIOV. I had a misunderstanding on SRIOV.

Deepaklal gravatar imageDeepaklal ( 2017-01-30 07:59:48 -0600 )edit

Bausch, leave my optimisation concern. My need is I have a server with two 10Mbps interface. My two VMs on the server process 10Mbps traffic each. So I can't share single physical port for both VMs. I want to force (say) eth0 for VM1 & eth1 for VM2. Consider my neutron is capable of routing 10Mbps.

Deepaklal gravatar imageDeepaklal ( 2017-01-30 08:02:19 -0600 )edit