Date: Tue, 5 Sep 2017 13:51:32 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Greg Rivers <gcr+freebsd-stable@tharned.org>, freebsd-stable@freebsd.org Subject: Re: SLAAC not working Message-ID: <37bf1f27-0cdd-b5a9-7345-d16eb228c4cb@yandex.ru> In-Reply-To: <16545541.lkKC6IFVDn@flake.tharned.org> References: <1646645.UkMcyRZBVl@flake.tharned.org> <3078071.oYt2PD7K2Q@flake.tharned.org> <ce430a71-06da-1a83-f5b4-f9bfbc75afd7@yandex.ru> <16545541.lkKC6IFVDn@flake.tharned.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WnBkXtkm3BXLpF4gAqPHekiFLTfW4f9is Content-Type: multipart/mixed; boundary="C109CfQVE3TMPM0Qhj6uGhAq2G50nVmAx"; protected-headers="v1" From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Greg Rivers <gcr+freebsd-stable@tharned.org>, freebsd-stable@freebsd.org Message-ID: <37bf1f27-0cdd-b5a9-7345-d16eb228c4cb@yandex.ru> Subject: Re: SLAAC not working References: <1646645.UkMcyRZBVl@flake.tharned.org> <3078071.oYt2PD7K2Q@flake.tharned.org> <ce430a71-06da-1a83-f5b4-f9bfbc75afd7@yandex.ru> <16545541.lkKC6IFVDn@flake.tharned.org> In-Reply-To: <16545541.lkKC6IFVDn@flake.tharned.org> --C109CfQVE3TMPM0Qhj6uGhAq2G50nVmAx Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 05.09.2017 00:20, Greg Rivers wrote: > Thanks. Trying your same experiment, I do get output for duplicate dete= ction, though it doesn't include the interface identifier or a check for = the auto generated link-local address (maybe you're running -CURRENT?): Yes, it is CURRENT, but auto generated address is there because lagg0 did not have enabled IPv6 at beginning of test. > # ifconfig lagg0 inet6 fe80::8/64 > # ifconfig lagg0 inet6 fe80::8/64 delete > # dmesg | tail -2 > lagg0: starting DAD for fe80:c::8 > lagg0: DAD complete for fe80:c::8 - no duplicates found >=20 > What puzzles me is that there are two Cisco routers on this network tha= t each send RAs every ~10 minutes, yet nothing is ever logged on the host= , and the RAs, which should trigger address auto-configuration, are compl= etely ignored. You can try to use dtrace to detect that RA is received by IPv6 stack. # kldload dtraceall # dtrace -n 'fbt::nd6_ra_input:entry {m =3D (struct mbuf *)arg0; ip6 =3D= (struct ip6_hdr *)m->m_data; printf("RA from %s received on %s", inet_ntoa6(&ip6->ip6_src), stringof(m->m_pkthdr.rcvif->if_xname));}' It should produce the output like this: dtrace: description 'fbt::nd6_ra_input:entry ' matched 1 probe CPU ID FUNCTION:NAME 2 37912 nd6_ra_input:entry RA from fe80:1::92e2:baff:fe6a:c7c received on ix0 2 37912 nd6_ra_input:entry RA from fe80:1::92e2:baff:fe6a:c7c received on ix0 > $ ping6 fe80:XXXX:XXXX:4013:23::2%lagg0 > ping6: UDP connect: Network is unreachable Hmm. Can you show the second word of address in this example? Is it not zero? I.e. fe80:XXXX: is correct or you missed '::' part? --=20 WBR, Andrey V. Elsukov --C109CfQVE3TMPM0Qhj6uGhAq2G50nVmAx-- --WnBkXtkm3BXLpF4gAqPHekiFLTfW4f9is Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlmugbQACgkQAcXqBBDI oXpeGQgAo3bx7JDUJiCUrXjLocLqOIeo5OiFkMxUpDTY6iAt0Xw41I/K14/LVURO r+fG3MBnib4NY8SbkkzaOLC8mFF8bVzOWEO52cLFkxFmE+9931oltLjzABFpC+CJ 6D4AuqA6Ziy1oqDP4520N3MIA8PXH2FNUAK326loTwlqcMmAGbCzJYP8Zr2hi2na ow33Y9Cta7bkXSE6IlMfLC5Cyp1S6yGd5Dr/arTKUcvKR8caNuvWnyj54lYRM4kg ZB0gxcTAnssPGZ9JeKJvUjIXEd/il+pyk4isz02MelqQ5rkUbGqqpv2sDYD+YRRn zOr5elhOs5SjDPkupCJezVWuvu9Hrg== =AIKX -----END PGP SIGNATURE----- --WnBkXtkm3BXLpF4gAqPHekiFLTfW4f9is--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37bf1f27-0cdd-b5a9-7345-d16eb228c4cb>