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 have several systems in a cluster ( > 65 nodes and counting) using either bonded ethernet (802.3ad), or mellanox infiniband. I need to delay the boot process until the interfaces are actually configured and running. It can take up to 20 seconds though from the time the kernel module is loaded to the interface being able to function. I have troubleshot this but it pretty much boils down to "the connection takes time to come up".
In the case of the bonded ethernet, I am connected to a cisco switch, and the network admin assures me this time is normal. In the case of the infiniband, it looks like the same thing: the infiniband fabric just takes time to come up.
The result is services don''t start because the network connections are not present, or they timeout and fail.
Other than inserting a sleep statement in the run control scripts, is there a method of handling this? I would like the system to pause only long enough for the interfaces to be operable.
I have this "trouble" with centos5, centos 6, ubuntu 10.04 lts, and ubuntu 12.04lts.
The bonding mode is 4 with miimod set to 400. The connections are all to the same cisco switch.
I probably should clarify at least one thing though: dmesg shows that the links themselves are coming up just fine, it's the time it takes for tcp/ip to be functional. While the address is assigned to bond0, it takes a while for the switch to actually begin routing it. The time it takes reminds me of cisco's "spanning-tree portfast" setting being off.
I haven't been looking at it as slow because I have the same trouble with infiniband connections coming up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.