From owner-freebsd-net@freebsd.org Mon Jan 7 11:52:58 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 693C2148F834 for ; Mon, 7 Jan 2019 11:52:58 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B2B7D8855A for ; Mon, 7 Jan 2019 11:52:56 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: by mail-ed1-x52f.google.com with SMTP id p6so634092eds.0 for ; Mon, 07 Jan 2019 03:52:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NAz9evyfPEbQn+gRAMea37NZOXp6e0Wa/Y64lCwsRYE=; b=uJaLlYogXIhWIdpQ+ptoRbnpHZ3C/PX0zOm+84VtxfWKR8hCgydrd8Qz+Tou52sJhc FSWVo0/DSCfdt4+Xkc0acV0Gs90EUXkRYpXJj7ve1lMSjGzQhREuAzlj4rotzOb6KBsI ZNgeTezGRMjfWdR8v615Ij3fiEe4HVinw22VMdAjJrezJ6d6KCYtISQLVId7YXiWe27w tre3VV/pKwIZw1H+8hgc7iKjfPiKcaXxE13CE8T4jHxjp6Yj+WagwotiHS4rm9a/OkFp zTRf7fqPQqn2iJ43mjhO97xiJHb4KNZcq0q8pjwoP5OrG1uj70z3hfxhNoLOirjqxQBW 6kEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NAz9evyfPEbQn+gRAMea37NZOXp6e0Wa/Y64lCwsRYE=; b=OPwgYWrKBE8O6K0c5rV3+h0ofCDlkdYttVZKNdyR0vBsROTHqob8gDZcegNCVAAISs cnKxOpmKfERAOkYStupzZxu0wFX6ogKy14mhqTE7iRxvhcAoJcn6chErFyBOOLS/vV9P wl0zpUfbHaG+PmmCfC3gXTj3fm9QHcjfjSjGGtvzyyQw/q5xVZhf9p0SGaBeGuRRx+1J cwU2+Cb2oYIb8cZkznSqE6ClQhymTFeMDB/6iI7wv7IvGwxocNaDaKi4VG/+s8ZPixCI 8j11PRBHfbW9nzbWBeg6QMiNpXlCUlhLmHOkZb/TkJJnsrdCVqRaD59EDs1312nYW2ts +I8g== X-Gm-Message-State: AJcUukeCgm2D+z0nJ+t04kxJK6EA/O57viDqhSTNoUU+QqJgXTweWrCU n6jxqFdCoAyZyheciITkiCGL5MY1rZb5vZE1+UOb X-Google-Smtp-Source: ALg8bN4LCflRi1NGDqDOI3MGmEjWYdT4cRCl4bjHZ3x+vOfbRaOgf7+iT8Y5ILCrDyWz0RtyP5QV0yD/TdKMpj+mU+0= X-Received: by 2002:aa7:c6d1:: with SMTP id b17mr54808142eds.249.1546861974673; Mon, 07 Jan 2019 03:52:54 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Shamim Shahriar Date: Mon, 7 Jan 2019 11:52:29 +0000 Message-ID: Subject: Re: IPv6 Broken in 12 To: Hans Petter Selasky Cc: freebsd-net@freebsd.org X-Rspamd-Queue-Id: B2B7D8855A X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=uJaLlYog; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of shamimshahriar@gmail.com designates 2a00:1450:4864:20::52f as permitted sender) smtp.mailfrom=shamimshahriar@gmail.com X-Spamd-Result: default: False [-5.50 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.97)[-0.967,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[f.2.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; HTTP_TO_IP(1.00)[]; IP_SCORE(-2.52)[ip: (-8.96), ipnet: 2a00:1450::/32(-1.89), asn: 15169(-1.67), country: US(-0.08)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2019 11:52:58 -0000 Good morning Hans, hope you had a good weekend I am happy to confirm that the patch you pointed to actually worked -- and now I can ping various hosts outside my primary network. I did not make any change to the SRC that came with the distribution, only applied the patch, built the world and the kernel, and now it is behaving as it should. Thank you so very much for the patch and the pointer, and bearing with me. Very much appreciated. Regards On Fri, 4 Jan 2019 at 14:47, Hans Petter Selasky wrote: > On 1/4/19 3:29 PM, Shamim Shahriar wrote: > > Dear List members, good afternoon and happy new year > > > > I am trying to setup a FreeBSD server v12 amd64, and it appears that IPv6 > > on that is actually broken. I have confirmed that by having same hardware > > running v11.2 (amd64), and that is working without any issue. > > > > Preamble: > > The "infrastructure" in question is running mostly Juniper devices, and > the > > routers are advertising everything. So the only thing (related to IPv6) I > > have in my rc.conf are > > > > ifconfig_em0_ipv6="inet6 accept_rtadv" > > rtsold_enable="YES" > > > > This gives the machines an IPv6 from the intended subnet, and also > > configures the defaultroute for the devices > > > > em0: flags=8843 metric 0 mtu 1500 > > > > > options=81209b > > ether 52:54:00:1a:a4:1a > > inet6 fe80::e:f:11:12:a41a%em0 prefixlen 64 scopeid 0x1 > > inet6 a:b:c:d:e:f:11:12:a41a prefixlen 64 autoconf > > inet 172.16.1.23 netmask 0xffffff00 broadcast 172.16.1.255 > > media: Ethernet autoselect (1000baseT ) > > status: active > > nd6 options=23 > > > > > > # netstat -nr > > Routing tables > > > > Internet: > > Destination Gateway Flags Netif Expire > > default 172.16.1.1 UGS em0 > > 127.0.0.1 link#2 UH lo0 > > 172.16.1.0/24 link#1 U em0 > > 172.16.1.23 link#1 UHS lo0 > > > > Internet6: > > Destination Gateway Flags > > Netif Expire > > ::/96 ::1 UGRS > > lo0 > > default fe80::e:f:11:12:200%em0 UG > > em0 > > ::1 link#2 UH > > lo0 > > ::ffff:0.0.0.0/96 ::1 UGRS > > lo0 > > a:b:c:d::/64 link#1 U > > em0 > > a:b:c:d:e:f:11:12:a41a link#1 UHS > > lo0 > > fe80::/10 ::1 UGRS > > lo0 > > fe80::%em0/64 link#1 U > > em0 > > fe80::e:f:11:12:a41a%em0 link#1 UHS > > lo0 > > fe80::%lo0/64 link#2 U > > lo0 > > fe80::1%lo0 link#2 UHS > > lo0 > > ff02::/16 > > > > > > Problem: > > In FreeBSD v12, if I do a tcpdump, it appears that the router is > constantly > > asking who has my IP, and the machine is not responding to it at all. > > > > (running on two different console on the same machine) > > ping6 mx1 > > PING6(56=40+8+8 bytes) a:b:c:d:5054:ff:fe1a:a41a --> 2222:aa:bb:cc::72 > > > > > > # tcpdump -ni em0 icmp6 > > 14:17:18.980755 IP6 a:b:c:d:e:f:11:12:a41a > 2222:aa:bb:cc::72: ICMP6, > echo > > request, seq 0, length 16 > > 14:17:19.617708 IP6 fe80::200:5eff:fe00:200 > ff02::1:ff1a:a41a: ICMP6, > > neighbor solicitation, who has a:b:c:d:e:f:11:12:a41a, length 32 > > 14:17:20.003172 IP6 a:b:c:d:e:f:11:12:a41a > 2222:aa:bb:cc::72: ICMP6, > echo > > request, seq 1, length 16 > > 14:17:20.617615 IP6 fe80::200:5eff:fe00:200 > ff02::1:ff1a:a41a: ICMP6, > > neighbor solicitation, who has a:b:c:d:e:f:11:12:a41a, length 32 > > 14:17:21.023423 IP6 a:b:c:d:e:f:11:12:a41a > 2222:aa:bb:cc::72: ICMP6, > echo > > request, seq 2, length 16 > > > > > > Whereas, if I am running FreeBSD v11.2, it is working alright. I am > getting > > the ping response and what not. > > > > NOTE: Both the v12 and v11.2 was downloaded as of today (in a matter of > > minutes -- not even hours) for setting up the machines. > > > > Could someone please confirm if what I am seeing is expected? If yes, how > > soon is this likely to be fixed? > > > > If you require further information or need me to run more tests, please > do > > let me know. I will have the machines running for some time (reasonable > > time), before I decide which of the two will prevail :D > > > > Thanks and regards > > Hi, > > Can you try the second debug patch mentioned here: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233535 > > Is this issue isolated to Link-Local IPv6 or is global IPv6 involved > aswell? > > --HPS >