updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / netcfg-bonding / bonding.example
blobf07ba3b372f8c88167de64c5de5b25ada7aeda7a
1 # Bonding support in netcfg
3 # The basic syntax is the same as with a norma Ethernet connection,
4 # except that you have to specify the slaves interfaces in the SLAVES
5 # variable.
7 # You have to load the "bonding" module first; please refer to the Wiki
8 # for more details
9 # http://wiki.archlinux.org/index.php/Configuring_network#bonding
11 # If you want to combine an Ethernet interface with a Wireless one (to be
12 # able to disconnect your cable and be mobile without losing your
13 # connection), you should consider *not* adding your wireless interface
14 # to the SLAVES variable. Instead, assuming your bonding interface is bond0
15 # and your wireless interface is wlan0, add the following lines in your
16 # wireless profile:
17 #   IP="static"
18 #   IFOPTS="0.0.0.0"
19 #   PRE_UP="ifenslave bond0 wlan0"
20 #   PRE_DOWN="ifenslave -d bond0 wlan0"
21 # That way, netcfg will manage the wireless connection properly (with WEP,
22 # WPA, and all their funny stuff) and the bonding profile will only do
23 # what it is supposed to do.
25 CONNECTION="bonding"
26 INTERFACE="bond0"
27 SLAVES="eth0 wlan0"
28 IP="dhcp"
29 DHCP_TIMEOUT=10