Translate Language

EnglishFrenchGermanSpain ItalianDutchRussianPortuguese JapaneseKoreanArabicChinese Simplified

Senin, 21 Desember 2009

Bonding NIC

Menggabungkan 2 atau lebih NIC ke 1 Ip address
Buat config Bond0 sbb :# cat /etc/sysconfig/network-scripts/ifcfg-bond0



DEVICE=bond0
IPADDR=192.168.1.12
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
USERCTL=no
BOOTPROTO=none
ONBOOT=yes

Ubah config Eth0, Eth1 dan Eth2 sbb :
# cat /etc/sysconfig/network-scripts/ifcfg-eth0

# Linksys Gigabit Network Adapter
DEVICE=eth0
BOOTPROTO=none
#HWADDR=00:12:17:5C:A7:9D
#IPADDR=192.168.1.12
#NETMASK=255.255.255.0
#TYPE=Ethernet
#GATEWAY=192.168.1.1
#USERCTL=no
#IPV6INIT=no
#PEERDNS=yes
ONBOOT=yes
# Settings for Bond
MASTER=bond0
SLAVE=yes

# cat /etc/sysconfig/network-scripts/ifcfg-eth1

# Linksys Gigabit Network Adapter
DEVICE=eth1
BOOTPROTO=none
#HWADDR=00:12:17:5C:A7:C9
#IPADDR=192.168.1.2
#NETMASK=255.255.255.0
ONBOOT=yes
#TYPE=Ethernet
USERCTL=no
#IPV6INIT=no
#PEERDNS=yes
#
# Settings for bonding
MASTER=bond0
SLAVE=yes

# cat /etc/sysconfig/network-scripts/ifcfg-eth2

# Linksys Gigabit Network Adapter
DEVICE=eth2
BOOTPROTO=none
#HWADDR=00:12:17:5C:A7:9D
#IPADDR=192.168.1.3
#NETMASK=255.255.255.0
ONBOOT=yes
#TYPE=Ethernet
#GATEWAY=192.168.1.1
#USERCTL=no
#IPV6INIT=no
#PEERDNS=yes
MASTER=bond0
SLAVE=yes

change /etc/modprobe.conf

# bonding commands
alias bond0 bonding
options bond0 mode=balance-alb miimon=100

load driver : # modprobe bonding

# service network restart # Or restart computer

# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.0.3 (March 23, 2006)

Bonding Mode: adaptive load balancing
Primary Slave: None
Currently Active Slave: eth2
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth2
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:13:72:80:62:f0

ref : Faisal

Related Posts with Thumbnails
Template by : kendhin kus-kas.blogspot.com