[ovs-discuss] Bonding switches using Mininet
Ronaldo Resende
ronaldorrjr at gmail.com
Sun Feb 12 00:20:06 UTC 2017
Hello all,
I'm using Mininet to work with a school project and I'm having some issues
trying to create a bonding of two interfaces between two switches. When I
create both interfaces and then try to create the bonding, I get the
following error:
ronaldo at localhost:~$ sudo ovs-vsctl show
dc3a23a3-da27-478b-b85b-b87da10bc824
Bridge "s1"
Controller "tcp:127.0.0.1:6633"
is_connected: true
Controller "ptcp:6654"
fail_mode: secure
Port "s1"
Interface "s1"
type: internal
Port "s1-eth1"
Interface "s1-eth1"
Port "s1-eth2"
Interface "s1-eth2"
Port "s1-eth3"
Interface "s1-eth3"
Port "s1-eth4"
Interface "s1-eth4"
Port "s1-eth5"
Interface "s1-eth5"
Port "s1-eth6"
Interface "s1-eth6"
Port "s1-eth7"
Interface "s1-eth7"
Port "s1-eth8"
Interface "s1-eth8"
Port "s1-eth9"
Interface "s1-eth9"
Port "s1-eth10"
Interface "s1-eth10"
Bridge "s2"
Controller "tcp:127.0.0.1:6633"
is_connected: true
Controller "ptcp:6655"
fail_mode: secure
Port "s2"
Interface "s2"
type: internal
Port "s2-eth1"
Interface "s2-eth1"
Port "s2-eth2"
Interface "s2-eth2"
Port "s2-eth3"
Interface "s2-eth3"
Port "s2-eth4"
Interface "s2-eth4"
Port "s2-eth5"
Interface "s2-eth5"
Port "s2-eth6"
Interface "s2-eth6"
ovs_version: "2.6.1"
ronaldo at locahost:~$ sudo ovs-vsctl add-bond s1 bond0 s1-eth9 s1-eth10
ovs-vsctl: cannot create an interface named s1-eth9 because a port named
s1-eth9 already exists on bridge s1
When I create the bonding without the interfaces created, I get the
following error:
ronaldo at localhost:~$ sudo ovs-vsctl show
dc3a23a3-da27-478b-b85b-b87da10bc824
Bridge "s1"
Controller "tcp:127.0.0.1:6633"
is_connected: true
Controller "ptcp:6654"
fail_mode: secure
Port "s1"
Interface "s1"
type: internal
Port "s1-eth1"
Interface "s1-eth1"
Port "s1-eth2"
Interface "s1-eth2"
Port "s1-eth3"
Interface "s1-eth3"
Port "s1-eth4"
Interface "s1-eth4"
Port "s1-eth5"
Interface "s1-eth5"
Port "s1-eth6"
Interface "s1-eth6"
Port "s1-eth7"
Interface "s1-eth7"
Port "s1-eth8"
Interface "s1-eth8"
Bridge "s2"
Controller "tcp:127.0.0.1:6633"
is_connected: true
Controller "ptcp:6655"
fail_mode: secure
Port "s2"
Interface "s2"
type: internal
Port "s2-eth1"
Interface "s2-eth1"
Port "s2-eth2"
Interface "s2-eth2"
Port "s2-eth3"
Interface "s2-eth3"
Port "s2-eth4"
Interface "s2-eth4"
Port "s2-eth5"
ovs_version: "2.6.1"
ronaldo at localhost:~$ sudo ovs-vsctl add-bond s1 bond0 s1-eth9 s1-eth10
ovs-vsctl: Error detected while setting up 's1-eth9', 's1-eth10'. See
ovs-vswitchd log for details.
In both cases I tried doing this creating and without creating the bond0
interface first.
What am I doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170211/1df303a9/attachment.html>
More information about the discuss
mailing list