From owner-freebsd-net@FreeBSD.ORG Fri Nov 19 04:24:34 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 25713106566B for ; Fri, 19 Nov 2010 04:24:34 +0000 (UTC) (envelope-from siquijorphilips@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id CD8F68FC0A for ; Fri, 19 Nov 2010 04:24:33 +0000 (UTC) Received: by qwd7 with SMTP id 7so47825qwd.13 for ; Thu, 18 Nov 2010 20:24:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=AL+9wHGaX/uQYc2sBobHoOsNj7Vd1J0YUwyBugwf5SQ=; b=eqKtX8944mP9rEqtk+tC1Nkt2biZ1y/cJ/8HXpdX+hvlHgO0F4J/n/mkrfYrKVU/Hp 5IOLc1bp09u/PEXkS8fG7/DKe86CsyNLiY8qI3vUo82ETaJ1mAhPIYIgUZBv/KW6HT7j qDV85BxD2Qv/9vhRaasX8n8xecnwbCamJmCaY= 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; b=qpjiG8XahbXy1VhpTIhSI1mqH9XAWSIK6nfrQ3ytx/doOnugqC5uHzFYWk+hiXiAnN RyhFGTyjZbJOvuO4K9Kb32EymHNh+nl4arTmWo0WrE0XUllT+v3HQL1t2rQS1thx13XJ fMK8LVDieSmGt5hddKbexw9BimVz7RGnFljJg= MIME-Version: 1.0 Received: by 10.229.246.129 with SMTP id ly1mr1355919qcb.126.1290140672962; Thu, 18 Nov 2010 20:24:32 -0800 (PST) Received: by 10.229.32.140 with HTTP; Thu, 18 Nov 2010 20:24:32 -0800 (PST) In-Reply-To: References: Date: Fri, 19 Nov 2010 12:24:32 +0800 Message-ID: From: Siquijor Philips To: sthaug@nethelp.no Content-Type: text/plain; charset=ISO-8859-1 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 04:24:34 -0000 On Fri, Nov 19, 2010 at 11:19 AM, Siquijor Philips wrote: >> On Wed, 10 Nov 2010, sthaug@nethelp.no wrote: >> >> Hi, >> >> >> In IPv6 it should be possible to generate a Router Advertisement which >> contains no prefix options (the idea being that I want the host to >> populate its default router list but nothing else). However, I cannot >> seem to get rtadvd to do this. >> >> If I start rtadvd with no /etc/rtadvd.conf file, it sends RAs with a >> prefix option corresponding to the IPv6 address of the interface. In >> the /etc/rtadvd.conf I can explicitly specify prefixes ("addr"), but >> I can't find any way to specify that no prefix options should be sent. >> >> Any suggestions? > > 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":