This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat /proc/net/bonding/bond0 | |
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009) | |
Bonding Mode: load balancing (xor) | |
Transmit Hash Policy: layer2 (0) | |
MII Status: up | |
MII Polling Interval (ms): 500 | |
Up Delay (ms): 0 | |
Down Delay (ms): 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /proc/net/bonding/bond0 | |
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009) | |
Bonding Mode: load balancing (xor) | |
Transmit Hash Policy: layer2 (0) | |
MII Status: up | |
MII Polling Interval (ms): 500 | |
Up Delay (ms): 0 | |
Down Delay (ms): 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ifconfig | |
bond0 Link encap:Ethernet HWaddr 00:22:19:4D:6E:3A | |
inet addr:192.168.0.33 Bcast:192.168.0.255 Mask:255.255.255.0 | |
inet6 addr: fe80::222:19ff:fe6d:5e2a/64 Scope:Link | |
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1 | |
RX packets:44939 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:237 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:5122683 (4.8 MiB) TX bytes:33139 (32.3 KiB) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service network restart | |
インターフェース bond0 を終了中: [ OK ] | |
ループバックインターフェースを終了中 [ OK ] | |
ループバックインターフェイスを呼び込み中 [ OK ] | |
インターフェース bond0 を活性化中: | |
Determining if ip address 172.18.2.207 | |
is already in use for device bond0... [ OK ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vi /etc/sysconfig/network-scripts/ifcfg-bond0 | |
DEVICE=bond0 | |
BOOTPROTO=none | |
ONBOOT=yes | |
IPADDR=192.168.0.33 | |
BROADCAST=192.168.0.255 | |
NETWORK=192.168.0.0 | |
NETMASK=255.255.255.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
DEVICE=eth0 | |
BOOTPROTO=static | |
ONBOOT=yes | |
MASTER=bond0 | |
SLAVE=yes | |
HWADDR=00:22:19:4D:6E:3A | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vi /etc/modprobe.d/bonding.conf | |
alias bond0 bonding | |
options bond0 mode=1 primary=eth0 miimon=500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |