Hi

I am trying to setup Host to VM communication using https://software.intel.com/en-us/articles/using-open-vswitch-with-dpdk-for-inter-vm-nfv-applications

I am facing a difficulty to understand the concept in VM creation. I have created a VM using virt-install as below-

virt-install --connect qemu:///system -n VMImage -r 2048 --file=/var/lib/libvirt/images/VMImage.img --file-size=16 --cdrom=/cdrom/ubuntu-14.04.3-desktop-amd64.iso --vcpus=2 \

--network network=default --os-type=linux --os-variant=ubuntutrusty --cpu host --prompt


and created the OVS bridge as below-

$OVS_DIR/utilities/ovs-vsctl --db=unix:/usr/local/var/run/openvswitch/db.sock --no-wait add-br ovsbr0 -- set Bridge ovsbr0 datapath_type=netdev


I am able to browse the internet from VM machine.


For my case of HOST to VM using OVS, do I need to pass ovsbr0 as a network parameter?(--network bridge:ovsbr0) in virt-install?


And do I need to provide any static ip to OVS bridge?


Please suggest.


Thanks & Regards

Vivek Gupta







::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to