HI Asadullah

Thanks
I need to run OVS in userspace and i have succesfully installed OVS using
instructions in INSTALL.USERSPACE.
However whenever i start the switch,the kernel module openvswitch appears
in lsmod.
Can we start the OVS in userspace without loading its kernel module?




Thanks


On Mon, Jan 27, 2014 at 10:39 AM, Asadullah Hussain <asadxf...@gmail.com>wrote:

> To add a bridge in user space the following command is used:
>
> ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev
>
> If "br0" appears in the network interface list then OVS is running in
> userspace successfully:
>
> You can use "ifconfig" to confirm that.
>
>
> On 27 January 2014 09:41, sonia verma <soniaverma9...@gmail.com> wrote:
>
>> Hi Arun
>>
>> Thanks
>>
>> I'm able to install ovs in userspace after following the
>> INSTALL.USERSPACE and I'm able to create bridge successfully by using
>>  ovs-vsctl add-br br0 command.
>>
>> But how to confirm whether it runs in userspace or not?
>>
>> Thanks
>>
>>
>> On Mon, Jan 27, 2014 at 9:19 AM, Arun Sharma 
>> <arun.sha...@calsoftinc.com>wrote:
>>
>>> I hope you have referred 
>>> INSTALL.userspace<http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.userspace;hb=a3ea1821d67e7dc8af32d7a55b5857014ec4583f>
>>>  document
>>> "Using Open vSwitch without kernel support" related to this?
>>>
>>> To be specific, "
>>> On Linux, when a physical interface is in use by the userspace
>>> datapath, packets received on the interface still also pass into the
>>> kernel TCP/IP stack.  This can cause surprising and incorrect
>>> behavior.  You can use "iptables" to avoid this behavior, by using it
>>> to drop received packets.  For example, to drop packets received on
>>> eth0:
>>>      iptables -A INPUT -i eth0 -j DROP
>>>     iptables -A FORWARD -i eth0 -j DROP
>>> "
>>>
>>>
>>> From: sonia verma <soniaverma9...@gmail.com>
>>> Date: Sun, 26 Jan 2014 08:59:54 +0530
>>> To: "discuss@openvswitch.org" <discuss@openvswitch.org>
>>> Subject: [ovs-discuss] OVS in userspace
>>>
>>> Hi
>>>
>>> Is it possible to run ovs on userspace without loading its kernel
>>> modules?
>>>
>>> Please help regarding this.
>>>
>>> Thanks
>>> _______________________________________________ discuss mailing list
>>> discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss
>>>
>>
>>
>> _______________________________________________
>> discuss mailing list
>> discuss@openvswitch.org
>> http://openvswitch.org/mailman/listinfo/discuss
>>
>>
>
>
> --
> Asadullah Hussain
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to