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 <[email protected]> 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 
> <[email protected]>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 <[email protected]>
>> Date: Sun, 26 Jan 2014 08:59:54 +0530
>> To: "[email protected]" <[email protected]>
>> 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
>> [email protected] http://openvswitch.org/mailman/listinfo/discuss
>>
>
>
> _______________________________________________
> discuss mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss
>
>


-- 
Asadullah Hussain
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to