Hello,

I had a doubt regarding bonds in openvswitch. I need to define flows so
that packets coming from an interface are output to a bond, and vice-versa.
The bond has two interfaces, and along with the other interface is part of
a bridge.

Using "ovs-vsctl add-bond ..." to create the bond on br0 (with
lacp=active), there is no 'port' on br0 representing the bond (in ovs-ofctl
show output). So I used the bond_fake_iface=true option and created the
following:

    Bridge "br0"
        Port "bond0"
            Interface "eth2"
            Interface "eth3"
        Port "br0"
            Interface "br0"
                type: internal
        Port "eth0"
            Interface "eth0"

Now this flow does not send packets forward:
in_port=<eth0>,tcp,tp_dst=80,action=output:<bond0>

while these flows do:
in_port=<eth0>,tcp,tp_dst=80,action=output:<eth2>
in_port=<eth0>,tcp,tp_dst=80,action=output:<eth3>

Is there another way to direct packets to and from a bond? Please advise.

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

Reply via email to