Hi, 

I am curios about SR-IOV with open vSwitch. So is it possible to use SR-IOV 
with KVM+OpenVSwitch?

Cheers

Ryo

Gurucharan Shetty <[email protected]>: 

>On Thu, Sep 19, 2013 at 6:59 PM, Jake G. <[email protected]> wrote:
>> Thanks for the reply.
>>
>> I havent installed anything yet, because I am not sure what my NIC
>> configuration should be to work with openvswitch.
>
>It can be the same as what you would do with linux bridge while running VMs.
>
>> Right now my settings are:
>>
>> eth0: 10.3.9.50/8 no gateway (management network-no internet)
>> eth1: 192.168.100.131/24 GW=192.168.100.254 (Internet access)
>
>If you want internet access for your VMs, you can do something like this.
>
>ovs-vsctl add-br breth0; ifconfig eth0 0.0.0.0 up; ovs-vsctl add-port
>breth0 eth0; ifconfig breth0 10.3.9.50/8 up;
>
>And then add one interface of every VM to breth0.
>
>If you have ssh'd to your machine through eth0, do the above with
>serial console so that you don't get locked out if you do a mistake.
>
>I don't know what your end goal is. You can either leave eth1 as-is or
>do the same as above for that too.
>
>You can also have a bridge without any physical interfaces attached to
>it and connect every VM's interface to it. This will allow all your
>VMs to talk to each other but not with the outside world.
>
>>
>> Should I create bridges first? Can someone provide an example of there NIC
>> settings?
>>
>> thank you!
>>
>>
>>
>>
>> ________________________________
>> From: Gurucharan Shetty <[email protected]>
>> To: Jake G. <[email protected]>
>> Cc: "[email protected]" <[email protected]>
>> Sent: Friday, September 20, 2013 12:15 AM
>> Subject: Re: [ovs-discuss] Install Guide for OpenvSwitch + KVM on CentOS
>> 6.x?
>>
>> On Thu, Sep 19, 2013 at 3:01 AM, Jake G. <[email protected]> wrote:
>>> Hi All,
>>>
>>> I am trying to find an easy to follow Install Guide for OpenvSwitch + KVM
>>> on
>>> CentOS 6.x, but havent been able to find one that is clear.
>>> Anyone have anyone good links for this?
>>
>> If you already have installed KVM on Centos6.x and have spun up VMs on
>> Linux bridge using libvirt, moving to Open vSwitch is very
>> straight-forward.
>>
>> 1) Read INSTALL or INSTALL.RHEL in the Open vSwitch repo to install
>> Open vSwitch in Centos.
>>
>> 2) You need >= libvirt0.9.11 for openvswitch support.
>> (I compile from sources from
>> http://libvirt.org/sources/libvirt-1.0.0.tar.gz)
>>
>> 3) Read INSTALL.Libvirt file.
>> - Make sure you attach a physical interface to Open vSwitch bridge as
>> a port (just like you would do for a linux bridge) if you want
>> external network connectivity.
>>
>>>
>>> My main issue is what should my initial NIC setttings be before I install
>>> anything? Below are my NIC details:
>>>
>>> eth0: 10.3.9.50/8 no gateway (management network-no internet)
>>> eth1: 192.168.100.131/24 GW=192.168.100.254 (Internet access)
>>>
>>> I am not using vlans
>>>
>>> Thank you!
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> discuss mailing list
>>> [email protected]
>>> http://openvswitch.org/mailman/listinfo/discuss
>>>
>>
>>
>>
>> _______________________________________________
>> discuss mailing list
>> [email protected]
>> http://openvswitch.org/mailman/listinfo/discuss
>>
>_______________________________________________
>discuss mailing list
>[email protected]
>http://openvswitch.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to