From owner-freebsd-net@FreeBSD.ORG Fri Nov 19 09:01:15 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3F3D106566B for ; Fri, 19 Nov 2010 09:01:15 +0000 (UTC) (envelope-from sthaug@nethelp.no) Received: from bizet.nethelp.no (bizet.nethelp.no [195.1.209.33]) by mx1.freebsd.org (Postfix) with SMTP id E59308FC12 for ; Fri, 19 Nov 2010 09:01:14 +0000 (UTC) Received: (qmail 6782 invoked from network); 19 Nov 2010 09:01:13 -0000 Received: from bizet.nethelp.no (HELO localhost) (195.1.209.33) by bizet.nethelp.no with SMTP; 19 Nov 2010 09:01:13 -0000 Date: Fri, 19 Nov 2010 10:01:13 +0100 (CET) Message-Id: <20101119.100113.41718035.sthaug@nethelp.no> To: siquijorphilips@gmail.com From: sthaug@nethelp.no In-Reply-To: References: X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: How to generate IPv6 RA without any prefixes? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2010 09:01:15 -0000 > > You mean to say that you want your router to act as the default IPv6 > > gateway only advertising default route via RA and the IPv6 prefixes > > are managed by other means such as DHCPv6 server? Because by its the > > only way I can think of with your case now. You can specify > > 'pinfoflags' with 'l' in the /etc/rtadvd.conf to suppress the prefix > > information option being advertised. > > > > My suggestion above is not complete, you should have something in your > /etc/rtadvd.conf > > vlan0:\ > :raflags="mo":pinfoflags="l": This results in rtadvd sending RAs with "managed, other" flags, while the "pinfoflags" without a corresponding prefix ("addr") results in the default behavior: The explicit "pinfoflags" entry is ignored, interface prefix is taken from the kernel routing table and announced as a prefix info option with onlink and auto flags. Steinar Haug, Nethelp consulting, sthaug@nethelp.no