Subject: misc/33793: network stop & start breaks IPv6
To: None <tech-net@netbsd.org>
From: Thomas E. Spanjaard <tgen@netphreax.net>
List: tech-net
Date: 06/22/2006 16:05:42
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig266714BDB20380B9FE5FAC75
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

As can be read in the PR, IPv6 breaks after an /etc/rc.d/network stop & 
start. Now, first I though it was because the stop routine only deletes 
inet addresses, and not inet6 before flushing routes. However, further 
inspection of the rc.d script show it only deletes addresses that are 
configured as ifaliases_$int in either /etc/rc.conf or /etc/ifaliases. 
Now, I don't use either of them, I use /etc/ifconfig.$int files, both 
for IPv4 and IPv6. So if I read things right, IPv4 addresses aren't 
deleted prior to route flushing either, which brings me to the question, 
why does IPv4 work after a stop & start, and IPv6 doesn't?

Cheers,
-- 
         Thomas E. Spanjaard
         tgen@netphreax.net

--------------enig266714BDB20380B9FE5FAC75
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)

iD8DBQFEmr/a6xCMwBJ+1+sRA4cSAJ40gzvHUeZRAPJAghbREmmb3Xa5ZgCfZoFU
Z3s3/s7XOQlmdtSWKJZWyTs=
=Mtzt
-----END PGP SIGNATURE-----

--------------enig266714BDB20380B9FE5FAC75--