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

2017-03-17 Thread Yura Poltoratskiy
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

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

2017-03-17 Thread Neil Jerram
Hi Vivek, On Fri, Mar 17, 2017 at 11:27 AM Vivek Nirala wrote: > Alternatively can we use a bridge to attach the nic interfaces(of n number > of virtual machines) ? > Yes, this is exactly what Neutron does by default. > If yes then is there any specific neutron

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

2017-03-17 Thread Vivek Nirala
Alternatively can we use a bridge to attach the nic interfaces(of n number of virtual machines) ? If yes then is there any specific neutron command to add a bridge and attach nics to it, this is required since as far as i know nova needs a network to spawn an instance. if there is no specific

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

2017-03-16 Thread Kevin Benton
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 wrote: > The connection should be like normal Ethernet wire connection, just like > we plug

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

2017-03-16 Thread 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" wrote: > What kind of cable? What protocol will be carried over it? > > Traffic

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

2017-03-16 Thread Vivek Nirala
​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 wrote: > What type of L2 communication do they need to do? If it's ethernet, then > just attaching

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

2017-03-16 Thread Kevin Benton
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

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

2017-03-14 Thread Kevin Benton
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