LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-27-2013, 12:34 PM   #1
bl_hawkeye
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Rep: Reputation: 0
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.
 
Old 03-01-2013, 08:23 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
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
 
Old 05-21-2013, 04:20 PM   #3
bl_hawkeye
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Original Poster
Rep: Reputation: 0
@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.
 
Old 05-04-2015, 06:32 PM   #4
twhanson
LQ Newbie
 
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by bl_hawkeye View Post
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!
 
Old 05-05-2015, 12:34 PM   #5
bl_hawkeye
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Unfortunately, I never received an answer to my question, and further research seems to indicate it is not possible.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
bonded interface as default gw jabirmk Linux - Networking 1 07-02-2012 02:31 AM
ping through a specific interface ALInux Linux - Networking 9 02-11-2010 11:52 AM
[SOLVED] Bonded ethernet interface can ping internally but not externally asuderma Linux - Networking 4 10-14-2009 09:51 PM
kickstart with bonded interface bajones Linux - Newbie 6 07-29-2008 11:43 AM
kernel 2.6.3 ping -I <interface> fails gtop Linux - Networking 9 02-21-2005 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:53 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