IP Bonding Linux

Posted by: adiseno  :  Category: Linux

[root@MKRI06 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
[root@MKRI06 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
[root@MKRI06 ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
IPADDR=192.168.80.11
NETWORK=192.168.80.0
NETMASK=255.255.255.192
GATEWAY=192.168.80.1
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
[root@MKRI06 ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=MKRI06.MKRI.GO.ID
[root@MKRI06 ~]# cat /etc/modprobe.conf
alias eth0 bnx2
alias eth1 bnx2
alias scsi_hostadapter aacraid
alias scsi_hostadapter1 ata_piix
alias scsi_hostadapter2 lpfc
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias bond0 bonding
options bond0 mode=balance-alb miimon=100
options lpfc lpfc_discovery_threads=1
[root@MKRI06 ~]# cat /etc/resolv.conf
search MKRI.GO.ID
nameserver 192.168.80.6
nameserver 192.168.80.7
[root@MKRI06 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 MKRI06.MKRI.GO.ID MKRI06 localhost.localdomain localhost

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.

Click to hear an audio file of the anti-spam word