Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
I just installed OpenSuse10.2 on my file server. It has a 4 port NIC & will be configured to run 802.3ad link aggregation. I've done this on 3 other Suse machines (not OpenSuse - but the pay-for Suse) without issue.
I have my 4 port bond working. It shows up properly when I run ifconfig. It shows up properly when I cat /proc/net/bonding/bond0. I can't seem to ping anything, however. I can ping my own ip address (it's static), but nothing else.
The switch is configured properly (this machine had a working Ubuntu install prior to moving to OpenSuse). I've tried adding a default route to the routing table by hand.
i'm not massively experienced with bonding, but let's start by checking what ifconfig says, and what the contents of /proc/net/bonding/bond0 says, assuming your bonded interface *IS* bond0. show them to us, and also show us your arp cache directly after trying to ping something, you can at least see there if you are arping correctly. as well as showing us though, if you already have some very similar systems running, compare these settings to those. one thign may be the bonding method is different, and you could be firing ip packets into disabled interfaces.
also give us more info about what the switch is... presumably it's somethign decent like a Cisco, Nortel or Extreme job?
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 bond0
loopback * 255.0.0.0 U 0 0 0 lo
Here are my config files if you'd like to see 'em.
The switch is a managed Linksys SRW2404. I've used the 48 port version of this switch on the oher Suse machines. I used this very switch with the previous OS on this file server (Ubuntu) & it worked. Well... only one of the 4 ports ever worked at one time - it wasn't always the same port... I blamed the OS - hence my switching to Suse.
well everythign says it's happy, but i'm not familiar with the linksys switches. i expect they're a lot closer to Cisco than i'd like, but i'm sure they don't admit to running IOS...i can see tx and rx's on the physical nics, so it's recivning *something* from the switch. are you sure it's on the right vlan? what happens if you disconnect 3 of the cables and only leave on left? their MII status will drop to down i take it, and so all packets must only go on one nic, which removess potential confuusion from load balancing. also as you are seeing *some* packets being recieved, what do you get if you run a tcpdump on bond0 and leave it for a while? any brnadcasts? spanning tree bpdu's?
As it turns out, it was the switch. For anyon who comes across this in the future, the Linksys SRW2024 evidently does NOT do link aggregation properly. I borrowed a Linksys SRW2048 (the 48 port version of the same swich - although less similar than Linksys will have you believe), setup link aggregation & was up & running on all 4 ports without issue.
Unfortunately, it has taken literally over 1 year to figure that out. I didn't have access to a 48 port switch to test until tonight. ::sigh:: so much time wasted.
heh, well from my perspective, phew! i was all out of ideas! i'm so used to not blaming the switches what with working in a purely cisco catalyst switching environment!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.