From: CLOSE Dave <Dave.Close@us.thalesgroup.com>
To: Ben Greear <greearb@candelatech.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: Trying to ping from a subinterface.
Date: Tue, 3 Jun 2014 09:29:45 -0700 [thread overview]
Message-ID: <538DF7F9.4020306@us.thalesgroup.com> (raw)
In-Reply-To: <538D4B7F.4080302@candelatech.com>
I wrote:
> I apologize to the group. I had been led to believe this was working on
> earlier Fedora releases. In fact, it was complaining but then falling
> back to the main interface and performing the ping anyway. What is new
> is the refusal to fall back.
Ben Greear answered:
> SO_BINDTODEVICE could never work on sub-interfaces as far as I know,
> but maybe older versions of ping just didn't bother doing SO_BINDTODEVICE.
It appears that the older version tried the call, got a failure,
complained about it, and then continued by using the main interface
instead. The exit code was not affected.
The current version tries the call, fails, complains, and exits with
code 2.
> Do you actually need sub-interfaces for some reason, or can you just use
> multiple IPs on one interface (or maybe mac-vlans)?
I can live without them. But they do provide a nice way to reference
an address by name.
--
Dave Close
prev parent reply other threads:[~2014-06-03 16:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-02 20:47 Trying to ping from a subinterface CLOSE Dave
2014-06-03 0:35 ` Stephen Hemminger
2014-06-03 0:41 ` CLOSE Dave
2014-06-03 4:13 ` Ben Greear
2014-06-03 16:29 ` CLOSE Dave [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=538DF7F9.4020306@us.thalesgroup.com \
--to=dave.close@us.thalesgroup.com \
--cc=greearb@candelatech.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).