[Server-devel] Notes on replacing bridging with bonding

Martin Langhoff martin.langhoff at gmail.com
Mon Sep 8 02:21:05 EDT 2008


Read http://www.linuxfoundation.org/en/Net:Bonding in depth -
excellent docs! - and performed some tests on one of my XS sample
machines, replacing br0 with bond0.

It works and I will attempt the switchover. We'll need quite a bit of
testing to feel confident with this though...

This is roughly what I am doing:

# mark the device as a bonding device
# - for some reason TYPE does not work
# cat /etc/modprobe.d/xs-bonding
alias bond0 bonding

# cat ifcfg-msh0
DEVICE=msh0
TYPE=Ethernet
MASTER=bond0
SLAVE=yes
# Will be brought up by wlanX
ONBOOT=no
IPV6INIT=no
HOTPLUG=yes
NM_CONTROLLED=no
LINKDELAY=0

# this replaces the bridge - all the bonding opts
# I can see are for actually bonded devices - any
# useful options we should use...?
# cat ifcfg-bond0
DEVICE=bond0
BOOTPROTO=static
# BONDING_OPTS=""
IPADDR=$XS_BR0_IPADDR
NETMASK=255.255.254.0
NETWORK=$XS_BR0_NETWORK
BROADCAST=$XS_BR0_BROADCAST
IPV6INIT=no
ONBOOT=yes

cheers,



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Server-devel mailing list