Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
02-27-2013, 12:34 PM
|
#1
|
LQ Newbie
Registered: Jun 2010
Posts: 3
Rep:
|
ping fails for specific slave interface in bonded pair
Is it possible to specify a specific slave interface in a bonded pair when using ping?
I have a bonded pair of network interfaces in RHEL5, eth0 and eth2. The eth0 interface is periodically flaky, so I would like to direct pings through that specific slave interface to determine its behavior. I tried "ping -I eth0 <destination>" but that fails with a "connect: No such device" message. Same result if I use "ping -I eth2 <destination>". If I use "ping -I bond0 <destination>" it works fine.
|
|
|
03-01-2013, 08:23 AM
|
#2
|
Member
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661
Rep:
|
I think pinging slave interface is not logical . Once bond interface become then bond driver will communicate to ethernet drivers . Direct communication should not be allowed .
Thanks
|
|
|
05-21-2013, 04:20 PM
|
#3
|
LQ Newbie
Registered: Jun 2010
Posts: 3
Original Poster
Rep:
|
@vishesh: I understand you point, but it doesn't address the actual issue. I'm trying to determine a way to check the secondary interface's connection status without downing the primary interface. This means not just the status of the interface itself, but that traffic can be routed via it to an external point. The scenario I'm trying to avoid is that the secondary interface cannot route traffic (for example, if the switch port to which it is connected has failed, but the link is still showing as "UP") for some time, and then the primary interface fails. At which point, I've lost complete connectivity, which basically invalidates one part of the reason for bonding - increased availability of the server.
|
|
|
05-04-2015, 06:32 PM
|
#4
|
LQ Newbie
Registered: Apr 2010
Posts: 1
Rep:
|
Quote:
Originally Posted by bl_hawkeye
I'm trying to determine a way to check the secondary interface's connection status without downing the primary interface. This means not just the status of the interface itself, but that traffic can be routed via it to an external point.
|
Was this question ever answered? I have the same question, for a similar reason and I'm not finding an answer anywhere. How can I verify that traffic through one particular slave interface of a bonded pair is able to pass traffic end-to-end to a destination on the other side of the switch?
Thanks!
|
|
|
05-05-2015, 12:34 PM
|
#5
|
LQ Newbie
Registered: Jun 2010
Posts: 3
Original Poster
Rep:
|
Unfortunately, I never received an answer to my question, and further research seems to indicate it is not possible.
|
|
|
All times are GMT -5. The time now is 12:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|