[netcf-devel] Enslave bond to a bridge

David Lutterkort lutter at redhat.com
Tue Sep 15 23:44:35 UTC 2009


Somehow, enslaving a bond to a bridge has slipped through the cracks. With
this series of patches, that's now possible. As an example, you can define a
bond and enslave it into a bridge with the following XML:

  <interface type="bridge" name="br0">
    <start mode="onboot"/>
    <mtu size="1500"/>
    <bridge stp="off">
      <interface type="ethernet" name="eth2"/>
      <interface type="bond" name="bond0">
        <bond mode="active-backup">
          <miimon freq="100" updelay="10" carrier="ioctl"/>
          <interface type="ethernet" name="eth1"/>
          <interface type="ethernet" name="eth0"/>
        </bond>
      </interface>
    </bridge>
  </interface>

David


More information about the netcf-devel mailing list