From owner-freebsd-net@FreeBSD.ORG Thu Apr 21 15:08:38 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 727C7106566C for ; Thu, 21 Apr 2011 15:08:38 +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 AB2E28FC14 for ; Thu, 21 Apr 2011 15:08:37 +0000 (UTC) Received: (qmail 61422 invoked from network); 21 Apr 2011 15:08:35 -0000 Received: from bizet.nethelp.no (HELO localhost) (195.1.209.33) by bizet.nethelp.no with SMTP; 21 Apr 2011 15:08:35 -0000 Date: Thu, 21 Apr 2011 17:08:35 +0200 (CEST) Message-Id: <20110421.170835.78742526.sthaug@nethelp.no> To: fbsd@opal.com From: sthaug@nethelp.no In-Reply-To: <20110421105356.51d881ca@shibato.opal.com> References: <969959848.20110421024515@serebryakov.spb.ru> <20110421105356.51d881ca@shibato.opal.com> 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, lev@freebsd.org Subject: Re: stateless dhcp6 server for FreeBSD? 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: Thu, 21 Apr 2011 15:08:38 -0000 > > Is here any stateless dhcp6 solution for FreeBSD? > > > > I need only distribute IPv6 DNS server addresses to clients, but not > > prefixes or address information. > > > > DHCP is stateful. If you want stateless, you need IPv6 RDNSS router > advertisements. Claiming that DHCP is (always) stateful is wrong. DHCP can be stateful or stateless - it depends on what kind of information you ask for, and the type of DHCP request. For DHCPv4 - you can use the DHCPINFORM request to ask for DNS servers and similar, without the server storing any state. For DHCPv6 - you can use the Information-request in a similar way. See RFC 3736, "Stateless Dynamic Host Configuration Protocol (DHCP) Service for IPv6", . ISC DHCP version 4 implements Information-request. See for instance file dhcpv6.c, routine dhcpv6_information_request. Steinar Haug, Nethelp consulting, sthaug@nethelp.no