From owner-freebsd-current@FreeBSD.ORG Sat Aug 17 17:18:07 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BF1E23AD for ; Sat, 17 Aug 2013 17:18:07 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 96A0A21D0 for ; Sat, 17 Aug 2013 17:18:07 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id fa1so3093515pad.19 for ; Sat, 17 Aug 2013 10:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Nq59X63fpRz0IE94KdUjDxX9ekLBz6zNoX8byqBaUXs=; b=UUFr6Dn4VG5Aqii0WMY9+l/RiX3PBF6XpcPSf723dUhg9cw+b+I1NEkxUEGHBDieQ4 8qvZvykVZnqrfT7mJ+ZDaX4PWKdK7LFPnNuCWk1XWD+HWZEYiLh4E9yTz0g2wo8XDPXd QjFjDVh98VuRV1X/Fcy5UmNGSOazX7w8et74HgkNTw+HAgggN1c3zwbOTR0qwjAYg7jU bnC/P5mOwIvs26sbEq/ytc36v2wJlc2gvYMOxcMwhorInND4eBdudtwTjdpAcQmIkHPR JfOgLJW/9moQi180Ncs32gdmbVEghYGQaxuCASNKx5yp+X4LauyQsOzQCWM9nLxFcPkX W9rg== MIME-Version: 1.0 X-Received: by 10.68.133.71 with SMTP id pa7mr3874430pbb.133.1376759887224; Sat, 17 Aug 2013 10:18:07 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.67.14.66 with HTTP; Sat, 17 Aug 2013 10:18:07 -0700 (PDT) In-Reply-To: References: <1376632058.1841.6.camel@localhost> Date: Sat, 17 Aug 2013 10:18:07 -0700 X-Google-Sender-Auth: 7v7nwPxZBaD2abwpOxSS1xtE_MM Message-ID: Subject: Re: ipv6_activate_all_interfaces doesn't work on wireless interface. From: Kevin Oberman To: Eric Camachat Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Kimmo Paasiala , FreeBSD current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 17:18:07 -0000 On Fri, Aug 16, 2013 at 11:54 AM, Eric Camachat wrote: > OK, I will try add accept_rtadv to ifconfig_wlan0_ipv6. > > Thanks, > Eric > > > On Fri, Aug 16, 2013 at 6:19 AM, Kimmo Paasiala > wrote: > > > On Fri, Aug 16, 2013 at 8:47 AM, Eric L Camachat > > wrote: > > > Here is my /etc/rc.conf > > > ipv6_enable="YES" > > > #ip6addrctl_enable="YES" > > > #ip6addrctl_policy="ipv6_prefer" > > > #ipv6_activate_all_interfaces="YES" > > > wlans_iwn0="wlan0" > > > ifconfig_wlan0="WPA DHCP" > > > > > > rc.d system said ipv6_enable is obsoleted by > > > ipv6_activate_all_interfaces. > > > So, I tried to replaced ipv6_enable with ipv6_activate_all_interfaces > > > and ip6addrctl_*, interface wlan0 will not get ipv6 address from > router. > > > > > > After investigated, that's because of wlan0 didn't add 'accept_rtadv' > > > ipv6 option. > > > > > > -- > > > Eric > > > > > > > As far as I know, not enabling accept_rtadv is a reasonable default > > and it has been like that always. Just like DHCP is not a default > > configuration method for IPv4 addresses. > > > > -Kimmo > > > There was a revision to networks.subr in r253683 that removed accept_rtadv from default for bridge interfaces. At least the comment says that it should not be default which implies that it used to be. If there is a logic error in the commit (I just noted the change to rtadv and the comment, but did not attempt to confirm the logic), perhaps accept_rtadv got turned off on more than just bridge interfaces. 564 bridge[0-9]*) 565 # No accept_rtadv by default on if_bridge(4) 566 # to avoid a conflict with the member 567 # interfaces. 568 return 1 569 ;; 570 *) -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com