主力鯖のネットワークを増強するのだ。EXPI9402PTBLK(amazon:\6100)でbonding。まあ、気休めかも。
CentOS 6.6での設定。
[/etc/modprobe.d/bonding]
alias bond0 bonding
[/etc/sysconfig/network-scripts/ifcfg-bond0]
DEVICE=bond0
BOOTPROTO=static
IPADDR=x.y.z.100
NETMASK=255.255.255.0
GATEWAY=x.y.z.1
DNS1=x.y.z.1
ONBOOT=yes
BONDING_OPTS=”mode=0 miimon=100″
[/etc/sysconfig/network-scripts/ifcfg-eth0]
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:00:00:00:00:00
MASTER=bond0
SLAVE=yes
[/etc/sysconfig/network-scripts/ifcfg-eth1]
DEVICE=eth1
BOOTPROTO=none
HWADDR=00:00:00:00:00:00
MASTER=bond0
SLAVE=yes
こんだけ。確認は↓の様に出力されれば桶。
# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:00:00:00:00:00
Slave queue ID: 0
Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:00:00:00:00:00
Slave queue ID: 0
4月 16 2015
bonding
主力鯖のネットワークを増強するのだ。EXPI9402PTBLK(amazon:\6100)でbonding。まあ、気休めかも。
CentOS 6.6での設定。
[/etc/modprobe.d/bonding]
alias bond0 bonding
[/etc/sysconfig/network-scripts/ifcfg-bond0]
DEVICE=bond0
BOOTPROTO=static
IPADDR=x.y.z.100
NETMASK=255.255.255.0
GATEWAY=x.y.z.1
DNS1=x.y.z.1
ONBOOT=yes
BONDING_OPTS=”mode=0 miimon=100″
[/etc/sysconfig/network-scripts/ifcfg-eth0]
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:00:00:00:00:00
MASTER=bond0
SLAVE=yes
[/etc/sysconfig/network-scripts/ifcfg-eth1]
DEVICE=eth1
BOOTPROTO=none
HWADDR=00:00:00:00:00:00
MASTER=bond0
SLAVE=yes
こんだけ。確認は↓の様に出力されれば桶。
# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:00:00:00:00:00
Slave queue ID: 0
Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:00:00:00:00:00
Slave queue ID: 0
By admin • computer(centos), computer(server) •