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.vi...@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 <ke...@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.vi...@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@lists.openstack.org >>> Unsubscribe : http://lists.openstack.org/cgi >>> -bin/mailman/listinfo/openstack >>> >>> >> > > > -- > Thanks, > *Vivek Nirala* > Mobile:+91-9278676843 <+91%2092786%2076843> >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack