From: Jay Vosburgh <fubar@us.ibm.com>
To: Brian Haley <brian.haley@hp.com>
Cc: Vlad Yasevich <vladislav.yasevich@hp.com>,
Alex Sidorenko <alexandre.sidorenko@hp.com>,
Jeff Garzik <jeff@garzik.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [RFC] bonding: add better ipv6 failover support
Date: Thu, 25 Sep 2008 08:07:22 -0700 [thread overview]
Message-ID: <17219.1222355242@death.nxdomain.ibm.com> (raw)
In-Reply-To: <48DAFB92.7040904@hp.com>
Brian Haley <brian.haley@hp.com> wrote:
>This is an RFC patch to add better IPv6 failover support for bonding
>devices, especially when in active-backup mode, as reported by Alex
>Sidorenko.
>
>What this patch does:
>
>- Creates a new Kconfig option in the IPv6 Networking section to
> compile-in the support in the bonding driver. This also forces
> IPV6=y since that's required to link everything.
I think it's probably better to have the IPV6 dependent bits
somehow depend on CONFIG_IPV6 rather than having a Kconfig entry. I
doubt that many real-world users will say yes to IPv6 and bonding, but
no to the bonding IPv6 support. I also suspect that the IPV6=y
requirement won't fly with distros.
>- Creates a new file, net/drivers/bonding/bond_ipv6.c, for the
> IPv6-specific routines.
Handy.
>- Adds a new master_ipv6 address member to the bonding struct to
> hold a copy of the primary IPv6 address on the bond.
Do we need to issue an NS for each ipv6 address, or is one
sufficient?
Do ipv6 addresses configured on VLANs need one (or more) NS per
VLAN?
>- Adds a new tunable, num_grat_ns, to limit the number of gratuitous
> Neighbor Solicitations that are sent on a failover event. Default
> is 1.
>
>On failover, this new code will generate two packets:
>
>- An MLD report for the bond, on the current active slave.
>
>- An IPv6 "gratuitous" Neighbor Solicitation, which helps the switch
> learn that the address has moved to the new slave.
>
>Testing has shown that sending just the NS results in pretty good behavior
>when in active-back mode, I saw no lost ping packets for example. Sending
>just the MLD packet didn't seem to have the same effect. Sending both
>seems like the right thing to do.
I haven't tried the patch yet, so I'll comment further once
I've had a chance to test it (which may not be until tomorrow).
-J
---
-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com
next prev parent reply other threads:[~2008-09-25 15:08 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-15 17:35 Bonding and Neighbour Discovery on IPv6-only devices Alex Sidorenko
2008-09-15 18:00 ` Jeff Garzik
2008-09-15 18:16 ` Jay Vosburgh
2008-09-15 18:16 ` Alex Sidorenko
2008-09-24 16:58 ` Vlad Yasevich
2008-09-24 20:29 ` Jay Vosburgh
2008-09-24 21:07 ` Brian Haley
2008-09-25 2:46 ` [RFC] bonding: add better ipv6 failover support Brian Haley
2008-09-25 15:07 ` Jay Vosburgh [this message]
2008-09-25 15:42 ` Brian Haley
2008-10-01 5:53 ` Simon Horman
2008-10-01 13:24 ` Brian Haley
2008-10-01 13:36 ` David Miller
2008-09-26 18:51 ` David Stevens
2008-09-26 19:09 ` Jay Vosburgh
2008-09-26 19:28 ` Brian Haley
2008-09-26 19:55 ` Vlad Yasevich
2008-09-26 19:46 ` Vlad Yasevich
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=17219.1222355242@death.nxdomain.ibm.com \
--to=fubar@us.ibm.com \
--cc=alexandre.sidorenko@hp.com \
--cc=brian.haley@hp.com \
--cc=jeff@garzik.org \
--cc=netdev@vger.kernel.org \
--cc=vladislav.yasevich@hp.com \
/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).