From owner-freebsd-current@FreeBSD.ORG Mon Mar 28 15:28:55 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 603261065670 for ; Mon, 28 Mar 2011 15:28:55 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 356388FC19 for ; Mon, 28 Mar 2011 15:28:54 +0000 (UTC) Received: by pzk27 with SMTP id 27so635612pzk.13 for ; Mon, 28 Mar 2011 08:28:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=H9/AY1VkCwqAyPQCv4Rg4cimEOuq1s6avYrCpyFPDAY=; b=UiXZXDJ1BC8L3fDm753YdKfjez7N2cduOCuVPOv9ocutGi9Ii+X1BMSHGI+B0mArpd AiVnVmiz27naWDY/ESZB4M0yk2PZNV7gJjXJ444W+aXK6yYkT/fbtEXEZQCvKlzKLu3e MTnmnrxav5+TtXESun7CxLB8MK4+MhkTW/+xU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=tj8yjwFj4sXI8yYcVV/UIvKu12Y8lcx751o+nBd2t0xxyvKHaj92BJoWpOwg0WnV4G HVvysedpTd7UroNvSGCdR9iN7qeWPA0wRHOfpYeUJeZC4JxrMFXJe9ZLu5azF30EMXuJ uwFqqVP9Fy/XDToBPDaVHmxzcMp/iB6EMjClw= MIME-Version: 1.0 Received: by 10.142.232.20 with SMTP id e20mr3623212wfh.119.1301324826120; Mon, 28 Mar 2011 08:07:06 -0700 (PDT) Received: by 10.142.242.5 with HTTP; Mon, 28 Mar 2011 08:07:06 -0700 (PDT) In-Reply-To: <451C39DA-76B9-4767-9FFC-24F2A182E301@dons.net.au> References: <451C39DA-76B9-4767-9FFC-24F2A182E301@dons.net.au> Date: Mon, 28 Mar 2011 19:07:06 +0400 Message-ID: From: Sergey Kandaurov To: "Daniel O'Connor" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current Current Subject: Re: ipv6 / rtadv problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 28 Mar 2011 15:28:55 -0000 On 28 March 2011 16:55, Daniel O'Connor wrote: > Hi, > I am trying to get a -CURRENT box to get an IPv6 address via RTADV, howev= er I am not having any luck. > > I have tried the following in rc.conf :- > ipv6_enable=3D"YES" > ipv6_gateway_enable=3D"YES" > > ifconfig_em0_ipv6=3D"RTADV" > > (the last one I haven't seen before but it didn't seem to have an effect = anyway) > > ifconfig shows.. > em0: flags=3D8843 metric 0 mtu 15= 00 > =A0 =A0 =A0 =A0options=3D219b > =A0 =A0 =A0 =A0ether 00:25:90:32:09:1e > =A0 =A0 =A0 =A0inet6 fe80::225:90ff:fe32:91e%em0 prefixlen 64 scopeid 0x2 > =A0 =A0 =A0 =A0inet 203.31.81.43 netmask 0xffffffc0 broadcast 203.31.81.6= 3 > =A0 =A0 =A0 =A0nd6 options=3D21 > =A0 =A0 =A0 =A0media: Ethernet autoselect (100baseTX ) > =A0 =A0 =A0 =A0status: active > > I see rtadv packets on the network :- > 12:50:46.444380 IP6 fe80::204:61ff:fe79:276f > ff02::1: ICMP6, router adv= ertisement, length 56 > > Other hosts can obtain a prefix just fine. This is the only 9.0 one, I ha= ve other FreeBSD boxes but they are 8.x ish. > Hi. 1) ipv6_enable is obsolete in HEAD, see UPDATING. 2) Normally hosts ignore rtadv packets if ipv6_gateway_enable is also set (as per rfc4861). All you need is something like ifconfig_em0_ipv6=3D"inet6 accept_rtadv" --=20 wbr, pluknet