4
4

More than 5 years have passed since last update.

bond1でeth2では通信できるがeth3では通信できない問題

Last updated at Posted at 2015-06-08

bond1を作成し、eth2, eth3それぞれLANケーブルを抜いたりさしたりして検証中に遭遇。
bond0を作成し、eth0, eth1では問題が起こらない。

参考

CentOS5.10以降、bondingの書き方が少し変わった様子

/etc/sysconfig/network-scripts/ifcfg-bond0
- BONDING_OPTS="mode=active-backup miimon=100"
/etc/sysconfig/network-scripts/ifcfg-bond1
- BONDING_OPTS="mode=active-backup miimon=100"
/etc/modprobe.conf
alias bond0 bonding
options bond0 mode=active-backup miimon=100 max_bonds=2
alias bond1 bonding
options bond1 mode=active-backup miimon=100 max_bonds=2

mode=1: active-backup

udevの書き方(CentOS 5.11)

/etc/sysconfig/network-scripts/ifcfg-eth[0-3]の例
+ HWADDR=00:30:48:56:A6:21
/etc/udev/rules.d/60-net.rules
+ KERNEL=="eth*", SYSFS{address}=="00:30:48:56:A6:21", NAME="eth0"
+ KERNEL=="eth*", SYSFS{address}=="00:30:48:56:A6:22", NAME="eth1"
+ KERNEL=="eth*", SYSFS{address}=="00:30:48:56:A6:23", NAME="eth2"
+ KERNEL=="eth*", SYSFS{address}=="00:30:48:56:A6:24", NAME="eth3"
  • OS再起動し、反映

  • eth1, eth3 5行目

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4