[ovs-discuss] problem in multiple bridge creation

Andy Zhou azhou at nicira.com
Thu Jul 11 06:37:14 UTC 2013


Adding back the mailing list.

I did not see anything obvious. It works on my system with head of the
master build.

You may try to go through document.
http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.userspace;hb=HEAD

In case the problem is still not resolved, please provide more information
about your set up, such as, OS, OS version and the version of OVS.



On Wed, Jul 10, 2013 at 10:22 PM, Prashant Chougule <chougulepavan at gmail.com
> wrote:

> after creating database
> i created one script that will add 3 bridges and assign ip to it
> BRIF,BRIF1,BRIF2 are the bridge name s1,s2 and s3 repectively and NETIF is
> ports with ip address eth0 to eth2,
>
>  ovs-vsctl add-br ${BRIF}
>  ovs-vsctl add-br ${BRIF1}
> ovs-vsctl add-br ${BRIF2}
> ovs-vsctl set bridge ${BRIF} datapath_type="netdev"
> ovs-vsctl set bridge ${BRIF1} datapath_type="netdev"
> ovs-vsctl set bridge ${BRIF2} datapath_type="netdev"
>
> ifconfig ${NETIF} 0
> ifconfig ${NETIF1} 0
> ifconfig ${NETIF2} 0
> ifconfig ${BRIF} ${STATION_IP} netmask ${NETMASK}
> ifconfig ${BRIF1} ${STATION_IP1} netmask ${NETMASK}
> ifconfig ${BRIF2} ${STATION_IP2} netmask ${NETMASK}
>
>
>
> On Thu, Jul 11, 2013 at 10:29 AM, Andy Zhou <azhou at nicira.com> wrote:
>
>> Do you mind posting the commands you used to create those bridges?
>>
>>
>> On Wed, Jul 10, 2013 at 9:44 PM, Prashant Chougule <
>> chougulepavan at gmail.com> wrote:
>>
>>> hi..,
>>>
>>>         I am trying to create multiple bridges like s1,s2,and s3 having
>>> 3 ethernet ports with 3 different ip address for e.x. i have 3 ethernet
>>> ports eth0,eth1 and eth2 and want to assign ip address to created bridges
>>> s1, s2 and s3 respectively but after s1 creation it fails gives me error
>>> like
>>>
>>> -                                         |dpif|WARN|datapath s2 already
>>> exists but cannot be opened: No such device
>>> 2013-07-11T10:05:23Z|00007|ofproto_dpif|ERR|failed to open datapath s2:
>>> No such device
>>> 2013-07-11T10:05:23Z|00008|ofproto|ERR|failed to open datapath s2: No
>>> such device
>>> 2013-07-11T10:05:23Z|00009|bridge|ERR|failed to create bridge s2: No
>>> such device
>>>
>>> i try with different name,but same error not able to assign ip to other
>>> bridges s2 and s3 , am i doing something wrong when creating bridge?
>>> Thanks &Regards,
>>> Prashant Chougule.
>>>
>>> _______________________________________________
>>> discuss mailing list
>>> discuss at openvswitch.org
>>> http://openvswitch.org/mailman/listinfo/discuss
>>>
>>>
>>
>
>
> --
> Thanks &Regards,
> Prashant Chougule.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130710/ebef39b4/attachment.html>


More information about the discuss mailing list