From: Jay Vosburgh <fubar@us.ibm.com>
To: David Stevens <dlstevens@us.ibm.com>
Cc: Brian Haley <brian.haley@hp.com>,
Alex Sidorenko <alexandre.sidorenko@hp.com>,
David Miller <davem@davemloft.net>,
Simon Horman <horms@verge.net.au>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
netdev-owner@vger.kernel.org,
YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Subject: Re: [PATCH v2] bonding: send IPv6 neighbor advertisement on failover
Date: Fri, 10 Oct 2008 08:53:56 -0700 [thread overview]
Message-ID: <29444.1223654036@death.nxdomain.ibm.com> (raw)
In-Reply-To: <OFB8A232B8.61496942-ON882574DE.0051B425-882574DE.0052AFD3@us.ibm.com>
David Stevens <dlstevens@us.ibm.com> wrote:
>Brian Haley <brian.haley@hp.com> wrote on 10/10/2008 07:34:58 AM:
>
>> I don't really want to since this is bonding-specific behavior, and
>> we're not performing DAD for the address. This is just another sysfs
>> entry: /sys/class/net/bond*/bonding/num_unsol_na, not a sysctl.
>
> I think they really are the same case, and doing DAD
>would solve the problem just as well. But I can hold my nose a
>little bit and live with it. :-) Getting the problem solved is
>more important than the details.
If I'm reading things correctly, DAD sends neighbor
solicitations, and we're sending neighbor advertisements, and not
running the DAD logic.
As a semi-related question, what does IPv6 do if it receives a
gratutitous NA, and finds a duplicate?
I agree that doing DAD would update the switches, peers, etc,
but, if I'm reading the IPv6 code correctly, the delay between probes is
one second (nd_tbl.retrans_time), and it looks like there's an initial
delay of up to 1 second as well (in addrconf_dad_kick, the
rtr_solicit_delay). For failover purposes, we want to issue the
gratuitous ARP or NA packets immediately with a minimal delay between
probes.
Is my understanding of the DAD behavior correct?
-J
---
-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com
next prev parent reply other threads:[~2008-10-10 15:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-10 0:52 [PATCH v2] bonding: send IPv6 neighbor advertisement on failover Brian Haley
2008-10-10 2:23 ` David Stevens
2008-10-10 14:34 ` Brian Haley
2008-10-10 15:03 ` David Stevens
2008-10-10 15:53 ` Jay Vosburgh [this message]
2008-10-10 16:04 ` Brian Haley
2008-10-10 16:29 ` Vlad Yasevich
2008-10-10 16:56 ` Sridhar Samudrala
2008-10-10 17:15 ` Vlad Yasevich
2008-10-10 15:27 ` Vlad Yasevich
2008-10-27 20:07 ` Brian Haley
2008-10-28 0:24 ` Jay Vosburgh
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=29444.1223654036@death.nxdomain.ibm.com \
--to=fubar@us.ibm.com \
--cc=alexandre.sidorenko@hp.com \
--cc=brian.haley@hp.com \
--cc=davem@davemloft.net \
--cc=dlstevens@us.ibm.com \
--cc=horms@verge.net.au \
--cc=netdev-owner@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.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).