人気ブログランキング | 話題のタグを見る

放送と通信と日常と
by tkt33
S M T W T F S
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
NICの冗長化メモ
 最近のOSは、NIC冗長化の為の技術が標準搭載されていて、windowsではteaming、linuxではbonding、SolarisではIPMPとかLACPを使う。



linuxのbondingの場合

/etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.0.0
NETMASK=255.255.255.0
IPADDR=192.168.0.1


/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes


/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes


/etc/modules.conf
alias bond0 bonding


# depmod -a
# services network restart


みたいな。もう少しマシに追記予定。
by tkt33 | 2009-10-15 09:05
<< ssh を用いてリモートでスク... firefox でのブックマーク同期 >>
忍者ツールズ RSS feed meter for http://takat.exblog.jp