update..
This commit is contained in:
43
README.bond
Normal file
43
README.bond
Normal file
@ -0,0 +1,43 @@
|
||||
# ----------------------------------
|
||||
# Example Configurations bond device
|
||||
# ----------------------------------
|
||||
|
||||
In /etc/network/interfaces, the following stanza will configure bond0, in
|
||||
802.3ad mode (mode 4), with eth0 and eth1 as slaves.
|
||||
|
||||
-----8<----------8<----------8<----------8<----------8<-----
|
||||
|
||||
auto bond0
|
||||
iface bond0 inet dhcp
|
||||
bond-slaves eth0 eth1
|
||||
bond-mode 4
|
||||
bond-miimon 100
|
||||
bond-primary eth0 eth1
|
||||
|
||||
-----8<----------8<----------8<----------8<----------8<-----
|
||||
|
||||
If the above configuration doesn't work, you might have a system using
|
||||
upstart for system startup. This is most notably true for recent
|
||||
Ubuntu versions. The following stanza in /etc/network/interfaces will
|
||||
produce the same result on those systems.
|
||||
|
||||
-----8<----------8<----------8<----------8<----------8<-----
|
||||
|
||||
auto bond0
|
||||
iface bond0 inet dhcp
|
||||
bond-slaves none
|
||||
bond-mode 4
|
||||
bond-miimon 100
|
||||
|
||||
auto eth0
|
||||
iface eth0 inet manual
|
||||
bond-master bond0
|
||||
bond-primary eth0 eth1
|
||||
|
||||
auto eth1
|
||||
iface eth1 inet manual
|
||||
bond-master bond0
|
||||
bond-primary eth0 eth1
|
||||
|
||||
-----8<----------8<----------8<----------8<----------8<-----
|
||||
|
Reference in New Issue
Block a user