Subject: Re: misc/33793: network stop & start breaks IPv6
To: Martin Husemann <email@example.com>
From: Thomas E. Spanjaard <firstname.lastname@example.org>
Date: 06/23/2006 08:48:29
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Martin Husemann wrote:
> On Fri, Jun 23, 2006 at 09:48:53AM +0200, Pavel Cahyna wrote:
>>Is allowing deletion of link-local addresses desirable? If there are good
>>rreasons for allowing it, re-adding the address at every down->up
>>transition seems wrong.
> I agree. To me it sounds like the best fix would be to fix the network
> script's stop command to not delete link local IPv6 addresses (maybe
> by adding a suitable option to ifconfig - or by using some awk magic).
The route flush does that, I'm not sure how you can instruct it to
ignore some set of addresses, without explicitly deleting every address
*but* the IPv6 link-local addresses. Ifconfig isn't involved here, but
using an awk script to parse the output of route -n show and strip all
lines starting with fe80: (and nondata), followed by a print $1 then an
xargs route delete would work, wouldn't it?
Thomas E. Spanjaard
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)
-----END PGP SIGNATURE-----