From owner-freebsd-questions@FreeBSD.ORG Tue Feb 10 14:28:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB72F106566B for ; Tue, 10 Feb 2009 14:28:49 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 66D288FC19 for ; Tue, 10 Feb 2009 14:28:49 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 36971 invoked by uid 89); 10 Feb 2009 14:29:32 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by v6.ibctech.ca with ESMTPA; 10 Feb 2009 14:29:32 -0000 Message-ID: <49918F11.2070002@ibctech.ca> Date: Tue, 10 Feb 2009 09:28:33 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: ipfreak@yahoo.com References: <310088.20433.qm@web52102.mail.re2.yahoo.com> In-Reply-To: <310088.20433.qm@web52102.mail.re2.yahoo.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd general questions Subject: Re: ipv6 and freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 14:28:50 -0000 gahn wrote: > Ok, i meant the configuration of "ipv6_network_interface="fxp0"" alone doesn't seem to be working: [...] > how could I enable IPv6 only on the interface fxp0 instead of every interface? It is possible to completely disable IPv6 on an interface, but man (8) ndp recommends against doing this manually. However, you can pretty well achieve the same effect by informing the interfaces to not accept RAs. First (and to answer your next question), enable 'auto config'. You can put the next line in /etc/sysctl.conf to enable it at boot (without the word 'sysctl'): pearl# sysctl net.inet6.ip6.accept_rtadv=1 Now, you can disable acceptance of rtadv messages on individual interfaces by: pearl# ndp -i fxp1 -- -accept_rtadv ...or re-enable: pearl# ndp -i fxp1 -- accept_rtadv So, I think that this will suit your requirements. The only difference being is that although the unused interfaces won't accept RAs, they will still have a link-local address. Steve