From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 6 18:49:46 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71473106566B; Fri, 6 Jan 2012 18:49:46 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2B7CF8FC12; Fri, 6 Jan 2012 18:49:45 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so3131256obb.13 for ; Fri, 06 Jan 2012 10:49:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=UeXvT56T3I/Bq9bsWwP09VIvLKrv8BPuFErTvP0OXwQ=; b=UkBS1j8jtV+SWJtZsYw3ZejpPXryX556i4EVkxZvor1xJFQpB+c0Isuv/jccnBBlcT 6MocU0lu8Kt2sls3+v22a23YDCCp5ZF3leIxnl2BS91z9/kCa53t535ymXCJ3ZjUqdNP 5QKtHYEkXhkYeVW0RGiHOJ1SHdVZ0yhpD4ORE= MIME-Version: 1.0 Received: by 10.182.42.37 with SMTP id k5mr5752547obl.40.1325875785601; Fri, 06 Jan 2012 10:49:45 -0800 (PST) Received: by 10.182.171.67 with HTTP; Fri, 6 Jan 2012 10:49:45 -0800 (PST) In-Reply-To: References: Date: Fri, 6 Jan 2012 21:49:45 +0300 Message-ID: From: Sergey Kandaurov To: Mark Felder Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: accepting rtadv broken on 9-STABLE, re driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2012 18:49:46 -0000 On 6 January 2012 22:19, Mark Felder wrote: > Hi guys, > Hi, > I upgraded my desktop at work just around christmas to 9-PRERELEASE build= s > and ipv6 has been broken since then. I've been too busy at work to fix it > but today I finally had the chance to figure it out. > > Currently I'm running: > > 12:11:15 tech304:~ > uname -a > FreeBSD tech304.office.supranet.net 9.0-STABLE FreeBSD 9.0-STABLE #2 > r229703M: Fri Jan =A06 11:01:58 CST 2012 > root@tech304.office.supranet.net:/usr/obj/tank/svn/sys/GENERIC =A0amd64 > > and my ipv6 is not working. In rc.conf I have > ipv6_enable_all_interfaces=3D"YES" which sets the link local and I had You mean ipv6_activate_all_interfaces=3D"YES" ? > net.inet6.ip6.accept_rtadv=3D1 in sysctl.conf. I can confirm that it was > indeed activated in sysctl, but ifconfig didn't think so: > > re0: flags=3D8843 metric 0 mtu 15= 00 > > =A0options=3D209b > =A0 =A0 =A0 =A0ether d0:67:e5:17:e1:32 > =A0 =A0 =A0 =A0inet6 fe80::d267:e5ff:fe17:e132%re0 prefixlen 64 scopeid 0= x2 > =A0 =A0 =A0 =A0inet 192.168.93.23 netmask 0xffffff00 broadcast 192.168.93= .255 > =A0 =A0 =A0 =A0nd6 options=3D23 =A0 =A0## Wher= e's the > ACCEPT_RTADV??? > =A0 =A0 =A0 =A0media: Ethernet autoselect (100baseTX ) > =A0 =A0 =A0 =A0status: active > > I have to manually do > > # ifconfig re0 inet6 accept_rtadv > > to get it to work. Am I missing something? Grepping /etc/rc.d/ for rtadv > finds no clues. Is this broken for everyone, for the re driver, or am I j= ust > crazy? What is in your rc.conf? Do you have "inet6 accept_rtadv" keyword in it? IIRC it should be enough to specify ifconfig_re0_ipv6=3D"inet6 accept_rtadv= " without additional tweaks. Consult with rc.conf(5). HTH, pluknet