Re: Results: Straw poll: autoconf vs manual conf

Iljitsch van Beijnum <iljitsch@muada.com> Tue, 02 October 2007 07:11 UTC

Return-path: <ipv6-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1Icbux-0002Xi-F2; Tue, 02 Oct 2007 03:11:43 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Icbuv-0002XF-I6 for ipv6@ietf.org; Tue, 02 Oct 2007 03:11:41 -0400
Received: from sequoia.muada.com ([83.149.65.1]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Icbup-0007y8-6d for ipv6@ietf.org; Tue, 02 Oct 2007 03:11:41 -0400
Received: from [163.117.139.34] ([163.117.139.34]) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id l92777Pc080709 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 2 Oct 2007 09:07:14 +0200 (CEST) (envelope-from iljitsch@muada.com)
In-Reply-To: <47012FE3.7090503@ca.afilias.info>
References: <C322815E.3360%alain_durand@cable.comcast.com><71A493FD-D638-4301-BB7A-54429DE8812B@apple.com><319D54578EAC3147BA8CC78DAB5467A501399AFD@FRVELSMBS12.ad2.ad.alcatel.com><EBBF4EDD-46EC-4153-BD49-850121B58CD3@muada.com><47421CC1-E755-4A8B-A0E1-E047C9D609CB@cisco.com> <18176.59456.20712.791245@gargle.gargle.HOWL> <39C363776A4E8C4A94691D2BD9D1C9A1029EDAD6@XCH-NW-7V2.nw.nos.boeing.com> <684CC96D-ACBB-421B-BE91-09A634F1C1A8@cisco.com> <47012FE3.7090503@ca.afilias.info>
Mime-Version: 1.0 (Apple Message framework v752.3)
Content-Type: text/plain; charset="US-ASCII"; delsp="yes"; format="flowed"
Message-Id: <0895FF74-2540-46AF-9AF2-DFEDF637A92C@muada.com>
Content-Transfer-Encoding: 7bit
From: Iljitsch van Beijnum <iljitsch@muada.com>
Date: Mon, 01 Oct 2007 22:26:22 +0200
To: Brian Dickson <briand@ca.afilias.info>
X-Mailer: Apple Mail (2.752.3)
X-Spam-Status: No, score=-0.2 required=3.5 tests=AWL,BAYES_00 autolearn=ham version=3.0.2
X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on sequoia.muada.com
X-Spam-Score: 1.9 (+)
X-Scan-Signature: 9ed51c9d1356100bce94f1ae4ec616a9
Cc: IPV6 Mailing List <ipv6@ietf.org>
Subject: Re: Results: Straw poll: autoconf vs manual conf
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
Errors-To: ipv6-bounces@ietf.org

On 1-okt-2007, at 19:35, Brian Dickson wrote:

> I'm a bit confused by the above. It might be terminology, or your  
> use of it, but either way, it would be helpful to give some  
> examples of IOS server(s) and IOS client(s), doing DHCPv6 vanilla,  
> and DHCPv6 with PD.

You mean something like this?

!
interface Ethernet1
  ipv6 address autoconfig
  ipv6 dhcp client pd dhcpv6prefix
!
interface Ethernet2
  ipv6 address dhcpv6prefix 0:0:0:A0::/64 eui-64
!

See my message earlier today for the URL for my book that I took this  
from.  :-)

This bit of config tells the router to be a stateless autoconfig  
client on ethernet1 and to ask a DHCPv6 server for a prefix. Note  
that prefix delegation and address assignment are two completely  
different features, it's not just a case of setting the prefix length  
to 128.

The resulting prefix is stored in the variable dhcpv6prefix and  
subsequently used to number interface ethernet2, which will then  
automatically send out router advertisements using the /64 in  
question. Note that bits 56 - 63 are set to A0 here which means the  
prefix that is received must be at least a /56.

IIRC, the RAs reuse the DHCP timers so renumbering becomes very easy.

> Will assignments only occur if the prefix is /64?
> What happens if the PD is something other than /64? E.g. a /80, or  
> a /120, for examples.

In the example above you need a /56. I haven't tested it, but I  
assume a longer prefix will work if you set the ethernet2 prefix  
length to something small enough except that if you send out RAs with  
a prefix other than /64 the hosts won't autoconfigure addresses.

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------