channel bonding
hi everyone
i configured channel bonding on centos6.3 64bit. but i have some problem . for test i unplug eth0 and see the ping output . everything was good but after plug eth0 after 8 request timeout or delay network connected. i dont know why. please note to my configuration:
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
NM_CONTROLLED=no
IPADDR=10.1.30.53
NETMASK=255.255.255.0
GATEWAY=10.1.30.3
DNS1=10.1.10.11
DNS2=10.1.10.12
IPV6INIT=no
BONDING_OPTS="mode=5 miimon=50"
________
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="none"
HWADDR="10:ee:74:3:"
NM_CONTROLLED="no"
ONBOOT="yes"
#TYPE="Ethernet"
#UUID="01111-a27e-4cd6-qqqq-b908eb"
USERCTL=no
MASTER=bond0
SLAVE=yes
_________
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE="eth1"
BOOTPROTO="none"
HWADDR="10:1F:74:ddd"
NM_CONTROLLED="no"
ONBOOT="yes"
#TYPE="Ethernet"
#UUID="83eeee7084a-8f08-40dd-9a1a-69e6c9cccccc"
USERCTL=no
MASTER=bond0
SLAVE=yes
_________
[root@localhost ~]# cat /etc/modprobe.d/bonding.conf
alias bond0 bonding
________
[root@localhost ~]# cat /etc/modprobe.d/bonding.conf
alias bond0 bonding
[root@localhost ~]# modprobe --list |grep bonding
kernel/drivers/net/bonding/bonding.ko
[root@localhost ~]# modprobe --list |grep mii
kernel/drivers/net/mii.ko
___________
[root@localhost ~]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
Bonding Mode: transmit load balancing
Primary Slave: None
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 50
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: 10:1f:74:
Slave queue ID: 0
Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 10:1f:745
Slave queue ID: 0
____________
[root@localhost ~]# cat /sys/class/net/bond0/bonding/miimon
50
[root@localhost ~]# cat /sys/class/net/bond0/bonding/arp_validate
none 0
[root@localhost ~]# cat /sys/class/net/bond0/bonding/arp_interval
0
[root@localhost ~]# cat /sys/class/net/bond0/bonding/primary
[root@localhost ~]# cat /sys/class/net/bond0/bonding/slaves
eth0 eth1
[root@localhost ~]# cat /sys/class/net/bond0/bonding/updelay
0
[root@localhost ~]# cat /sys/class/net/bond0/bonding/mode
balance-tlb 5
[root@localhost ~]# cat /sys/class/net/bond0/bonding/active_slave
eth0
[root@localhost ~]# cat /sys/class/net/bond0/bonding/ad_aggregator
[root@localhost ~]# cat /sys/class/net/bond0/bonding/arp_ip_target
[root@localhost ~]# cat /sys/class/net/bond0/bonding/mii_status
up
Last edited by seighalani; 10-29-2012 at 05:45 AM.
Reason: dmesg showed my server specification.
|