[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IPv6, tentative addresses, bind(), wheezy

also sprach Marc Haber <mh+debian-devel@zugschlus.de> [2012.11.04.1013 +0100]:
> >Maybe for the time being it will be easier and safer to have ifupdown 
> >wait until DAD is finished?
> How does one find out about that?

% ip -6 addr show dev eth0 | grep "2001:db8::deb1:46.* tentative"
    inet6 2001:db8::deb1:46/64 scope global tentative

Once DAD completes, the "tentative" goes away.

Programatically, I think that's checking the return of
getifaddrs(3), ifa_flags, for IFA_F_TENTATIVE.

 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
an egg has the shortest sex-life of all: if gets laid once; it gets
eaten once. it also has to come in a box with 11 others, and the
only person who will sit on its face is its mother.

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply to: