From owner-freebsd-net@FreeBSD.ORG Sun Mar 20 20:08:43 2011 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 03264106566C for ; Sun, 20 Mar 2011 20:08:43 +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 33AE78FC0A for ; Sun, 20 Mar 2011 20:08:41 +0000 (UTC) Received: (qmail 77105 invoked from network); 20 Mar 2011 20:08:39 -0000 Received: from bizet.nethelp.no (HELO localhost) (195.1.209.33) by bizet.nethelp.no with SMTP; 20 Mar 2011 20:08:39 -0000 Date: Sun, 20 Mar 2011 21:08:39 +0100 (CET) Message-Id: <20110320.210839.74676285.sthaug@nethelp.no> To: sclark46@earthlink.net From: sthaug@nethelp.no In-Reply-To: <4D8642FF.6050400@earthlink.net> References: <20110318.195636.74687196.sthaug@nethelp.no> <4D846A9C.7000705@zhegan.in> <4D8642FF.6050400@earthlink.net> 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: ipv6, stateful config and non-default prefixlen 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: Sun, 20 Mar 2011 20:08:43 -0000 > How does a router that is using dhclient to get delegated a address > prefix from an upstream router obtain its default route, since dhcpv6 > can't provide a default route. > And since it is a router it can't get its default route from router > advertisements from the upstream router? It behaves both as a host and as a router: - As a host it receives a default route from RA from its upstream router - and it can also receive an address (IA_NA) or a prefix (IA_PD) using DHCPv6. - As a router it can send RA on its LAN segment(s), and it can also act as a DHCPv6 server. In principle it could subdivide a prefix obtained with DHCPv6 IA_PD (for instance a /56) into suitable /64 prefixes and announce these on separate LAN segments - thgough I don't know of any boxes that do this automagically today. Steinar Haug, Nethelp consulting, sthaug@nethelp.no