SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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#
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....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.