bonding driver version :v3.6.0<br />
--------------------------------------<br />
bond0=eth0+eth1<br />
==== ifcfg-eth0 ====<br />
DEVICE=eth0<br />
ONBOOT=yes<br />
MASTER=bond0<br />
SLAVE=yes<br />
BOOTPROTO=none<br />
==== ifcfg-eth1 ====<br />
DEVICE=eth1<br />
ONBOOT=yes<br />
MASTER=bond0<br />
SLAVE=yes<br />
BOOTPROTO=none<br />
==== ifcfg-bond0 ====<br />
DEVICE=bond0<br />
BOOTPROTO=none<br />
ONBOOT=yes<br />
BONDING_OPTS='mode=1 arp_interval=500 arp_ip_target=192.168.0.254 primary=eth0'<br />
BRIDGE=br0<br />
==== ifcfg-br0 ====<br />
DEVICE=br0<br />
ONBOOT=yes<br />
BOOTPROTO=static<br />
TYPE=Bridge<br />
IPADDR=192.168.0.3<br />
NETMASK=255.255.255.0<br />
GATEWAY=192.168.0.254<br />
<br />
+-----------+<br />
| GATEWAY | <br />
+-+---+---+-+<br />
| |<br />
+----①---+ +----②--+<br />
| |<br />
+------+---+ +-----+----+<br />
| Switch A | | Switch C |<br />
+------+---+ +-----+----+<br />
| |<br />
+------+---+ |<br />
| Switch B | |<br />
+------+---+ |<br />
| |<br />
+--------+ +---------+<br />
| |<br />
+-+---+---+-+<br />
|SERVER(KVM)| <br />
+-----------+<br />
-------------------------------------------------------------
↧