[Openstack] [Neutron] Need L2 Connectivity between the extra two nics between the VMs created on OpensStack

Kevin Benton kevin at benton.pub
Thu Mar 16 17:51:44 UTC 2017


If it's to carry some non-ethernet traffic you will need to setup a tunnel
between the VMs yourself with L2TP or something similar.

On Thu, Mar 16, 2017 at 10:47 AM, Vivek Nirala <nirala.vivek at gmail.com>
wrote:

> The connection should be like normal Ethernet wire connection, just like
> we plug an Ethernet wire between two hosts (Host1)nic---etherrnetwire---
> nic(Host2).
>
>
> On 16-Mar-2017 4:40 PM, "Kevin Benton" <kevin at benton.pub> wrote:
>
>> What kind of cable? What protocol will be carried over it?
>>
>> Traffic between VMs on different hosts needs to be encapsulated by a
>> protocol like GRE or VXLAN to carry it over the real network so that
>> imposes some limitations on emulating a 'direct wire'.
>>
>> If you need to carry some other l2 protocol between two VMs, I suggest
>> that you just establish and L2TP connection between the hypervisors.
>>
>> On Mar 16, 2017 03:56, "Vivek Nirala" <nirala.vivek at gmail.com> wrote:
>>
>>> ​I want the connection between the two VMs through nics or anyother way,
>>> such that the connection is like direct cable connection.​
>>>
>>> On Wed, Mar 15, 2017 at 11:06 AM, Kevin Benton <kevin at benton.pub> wrote:
>>>
>>>> What type of L2 communication do they need to do? If it's ethernet,
>>>> then just attaching two ports to a network using one of the reference ML2
>>>> drivers (i.e. OVS or LinuxBridge) will give you L2 ethernet connectivity
>>>> via virtual switches.
>>>>
>>>> If you want two VMs connected via a direct connect that passes
>>>> arbitrary frames directly without switching so you can use non-ethernet
>>>> protocols, then I don't believe any of the plugins support a model like
>>>> that.
>>>>
>>>> On Tue, Mar 14, 2017 at 9:46 PM, Vivek Nirala <nirala.vivek at gmail.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I have installed openstack using ansible on Ubuntu 16.04 Server.
>>>>> I am able to successfully create VMs and launch instances however the
>>>>> requirement is to add one extra nic on both VMs(default is only once nic)
>>>>> so as the extra nics are connected as if they are physically connected via
>>>>> a wire i.e. L2 connectivity.
>>>>>
>>>>> Please let me know your suggestions.
>>>>>
>>>>>
>>>>> Thanks
>>>>> ​,
>>>>> Vivek​
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: http://lists.openstack.org/cgi
>>>>> -bin/mailman/listinfo/openstack
>>>>> Post to     : openstack at lists.openstack.org
>>>>> Unsubscribe : http://lists.openstack.org/cgi
>>>>> -bin/mailman/listinfo/openstack
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks,
>>> *Vivek Nirala*
>>> Mobile:+91-9278676843 <+91%2092786%2076843>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170316/01c60814/attachment.html>


More information about the Openstack mailing list