[Openstack] [Neutron] Need L2 Connectivity between the extra two nics between the VMs created on OpensStack
Yura Poltoratskiy
yurapoltora at gmail.com
Fri Mar 17 14:10:32 UTC 2017
If I understand correctly, all I need to do is to create a network (via
dashboard or cli), to create two ports and to attach the ports to you
VMs. After all this steps you will have situation like you two servers
connected through a switch or by wire directly (which is the same). This
is in general.
I don't know about your deployment scenario, but if you were using
ansible I believe that there is basic network functionality already.
16.03.2017 19:47, Vivek Nirala пишет:
> 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
> <mailto: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
> <mailto: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 <mailto: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
> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
> Post to : openstack at lists.openstack.org
> <mailto:openstack at lists.openstack.org>
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
>
>
>
>
>
> --
> Thanks,
> *Vivek Nirala*
> Mobile:+91-9278676843 <tel:+91%2092786%2076843>
>
>
>
> _______________________________________________
> 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
>
More information about the Openstack
mailing list