LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-22-2013, 08:51 AM   #1
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547
Blog Entries: 7

Rep: Reputation: 55
NIC Bonding Issues. Help Please.


Hello All.

Last night i created a bond mode 4 802.3ad on my NIC.
Running Slackware 14 x86_64
Linux oscuridad 3.2.45 #1 SMP Fri May 31 20:05:26 CDT 2013 x86_64 Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz GenuineIntel GNU/Linux


Here is what I have:

root@oscuridad:/etc/rc.d# cat rc.bond
#!/bin/sh

case "$1" in
'start')
echo "start bond0"
/sbin/modprobe bonding mode=4 miimon=100
/sbin/ifconfig bond0 up
/sbin/ifenslave bond0 eth1
/sbin/ifenslave bond0 eth2
#You don't necesarily need to change the hardware address
#It will take it from the first hardware interface
#ifconfig bond0 hw ether 00:16:3e:aa:aa:aa
;;
'stop')
/sbin/ifconfig bond0 down
/sbin/rmmod bonding
;;
*)
echo "Usage: $0 {start|stop}"
;;
esac
root@oscuridad:/etc/rc.d#

The next line I am posting only the relevant information to keep it short...

root@oscuridad:/etc/rc.d# cat rc.inet1.conf

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
MTU[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
DHCP_KEEPRESOLV[1]=""
MTU[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""
MTU[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

## Config information for bond0:
IFNAME[4]="bond0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]=""
DHCP_KEEPRESOLV[4]="yes"
MTU[4]=""
root@oscuridad:/etc/rc.d#

root@oscuridad:/etc/rc.d# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: slow
Min links: 0
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
Aggregator ID: 1
Number of ports: 2
Actor Key: 17
Partner Key: 1009
Partner Mac Address: XX:XX:XX:XX:XX:XX

Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: XX:XX:XX:XX:XX:XX
Aggregator ID: 1
Slave queue ID: 0

Slave Interface: eth2
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: XX:XX:XX:XX:XX:XX
Aggregator ID: 1
Slave queue ID: 0
root@oscuridad:/etc/rc.d#



Now when I do an ifconfig it show a lots of drops..... and in some cases errors....

root@oscuridad:/etc/rc.d# ifconfig
bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST> mtu 1500
inet 10.30.2.51 netmask 255.255.255.0 broadcast 10.30.2.255
ether XX:XX:XX:XX:XX:XX txqueuelen 0 (Ethernet)
RX packets 195738 bytes 52375287 (49.9 MiB)
RX errors 1 dropped 2197 overruns 0 frame 1
TX packets 154503 bytes 39199203 (37.3 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth1: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST> mtu 1500
ether XX:XX:XX:XX:XX:XX txqueuelen 1000 (Ethernet)
RX packets 148141 bytes 49120085 (46.8 MiB)
RX errors 1 dropped 2 overruns 0 frame 1
TX packets 151150 bytes 38722291 (36.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xfac20000-fac40000

eth2: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST> mtu 1500
ether XX:XX:XX:XX:XX:XX txqueuelen 1000 (Ethernet)
RX packets 47597 bytes 3255202 (3.1 MiB)
RX errors 0 dropped 3 overruns 0 frame 0
TX packets 3353 bytes 476912 (465.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xfac00000-fac20000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)
RX packets 80 bytes 2984 (2.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 80 bytes 2984 (2.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


The switch is configured properly for LACP and all is working well with another Linux system running Debian.

Any ideas?

TIA!

Last edited by SeRi@lDiE; 12-22-2013 at 09:11 AM.
 
Old 12-22-2013, 02:36 PM   #2
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
Forgot to mention that the NIC is a:

02:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
02:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)

and is using the gib kernel module.

Any body?
 
Old 12-23-2013, 05:50 AM   #3
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
Bump
 
Old 12-23-2013, 05:13 PM   #4
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
BumP
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIC Bonding carlosinfl Red Hat 4 07-28-2011 08:25 AM
NIC Bonding: Does not failover successfully. Only one NIC is active Akhran Debian 2 02-18-2011 07:26 PM
NIC bonding Winanjaya Linux - Networking 1 03-26-2010 06:48 AM
NIC Bonding zimm247 Red Hat 1 06-28-2008 07:22 PM
bonding NIC's mrose1120 Linux - Networking 5 10-04-2004 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration