Re: [v6ops] Comments to draft-mlevy-v6ops-auto-v6-allocation-per-asn

Dino Farinacci <farinacci@gmail.com> Tue, 19 February 2013 23:02 UTC

Return-Path: <farinacci@gmail.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 542A221F8942; Tue, 19 Feb 2013 15:02:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.001
X-Spam-Level: ****
X-Spam-Status: No, score=4.001 tagged_above=-999 required=5 tests=[BAYES_50=0.001, GB_SUMOF=5, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MyYm8wnNI6gT; Tue, 19 Feb 2013 15:02:38 -0800 (PST)
Received: from mail-pb0-f51.google.com (mail-pb0-f51.google.com [209.85.160.51]) by ietfa.amsl.com (Postfix) with ESMTP id 706D921F893D; Tue, 19 Feb 2013 15:02:38 -0800 (PST)
Received: by mail-pb0-f51.google.com with SMTP id un15so2487241pbc.24 for <multiple recipients>; Tue, 19 Feb 2013 15:02:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer; bh=GqmU1V+EzYe9PISJOF7Uze+OwHcWGvwl4GMlqMNJg18=; b=vzsT7En1K9Vh4yKyTH9P8u6wcBhvq0RGwUqsynHFgZ6WnIaX8j2fSfMK8ctXdpBflj hkudR0ajbjn1b0CMvpzg+6DT+J+oDnT8bxxtzhiR4ys1YZjE3RFaGdPEn48wUcRmEGq0 ogULFefqOYDV+lVhdxGWk6VVZWiDU0l0cxFIjAHfSVwGtLc/bUS78K3so22GeJjLjn/U VzaKErEh7ERzWDvDM49dSLhiJ1k902OZUDV8vEOKgMYmNXkGaEVaWCi/yIqaQWercZU6 g9efVCuc+ey02RivBov6jJ8g24sqiMt4EhrD0uLS+X1gSRZLzN9GYaj81EeAcNHayl5u Dnyw==
X-Received: by 10.68.48.227 with SMTP id p3mr44822952pbn.34.1361314958182; Tue, 19 Feb 2013 15:02:38 -0800 (PST)
Received: from [192.168.13.208] (c-67-180-20-82.hsd1.ca.comcast.net. [67.180.20.82]) by mx.google.com with ESMTPS id q4sm108839772paz.20.2013.02.19.15.02.35 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Feb 2013 15:02:37 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Dino Farinacci <farinacci@gmail.com>
In-Reply-To: <7466F234-1BBE-4985-BBFC-B56A38D8F5F3@delong.com>
Date: Tue, 19 Feb 2013 15:02:34 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <9D60BB7D-2325-489C-9225-22213DD6155A@gmail.com>
References: <4E8BC25E-79FF-4CF9-9E95-40904DE1D4D6@gmail.com> <7466F234-1BBE-4985-BBFC-B56A38D8F5F3@delong.com>
To: Owen DeLong <owen@delong.com>
X-Mailer: Apple Mail (2.1499)
Cc: "Martin J. Levy" <martin@he.net>, v6ops@ietf.org, "lisp@ietf.org list list" <lisp@ietf.org>
Subject: Re: [v6ops] Comments to draft-mlevy-v6ops-auto-v6-allocation-per-asn
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/v6ops>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Feb 2013 23:02:39 -0000

>>> The sum of the bits in the IANA allocated /16 prefix plus the 32 bits
>>>  of the ASN plus the /48 of user defined usage adds up to 128 bits.
>>> 
>>>                     +------+----------------------+
>>>                     | Bits |                Usage |
>>>                     +------+----------------------+
>>>                     |   16 | IANA provided prefix |
>>>                     |   32 |                  ASN |
>>>                     |   80 |         User defined |
>>>                     |  128 |                TOTAL |
>>>                     +------+----------------------+
>>> 
>>>                       Table 1: Address space math
>> 
>> Can there be some ASN values assigned to signify "no one owns the /48"? So we can have even more independent assignments. For the purposes of LISP, we don't care if these address don't perfect aggregate because these addresses will go into the LISP mapping database system which may not need to aggregate since the RLOCs associated with the prefixes will be different anyways (and therefore can't aggregate or compress).
> 
> Wouldn't the private ASN range already effectively do this?

I'm asking the intent of the authors.

>>>  The end network can allocate out of the assigned /48 as needed.  It
>>>  is assumed that the end network will use this allocation for global
>>>  routing; however the network may choose to not announce this
>>>  allocation.
>> 
>> Okay, so lets use an example to see how this can be used. Let's say a /80 comes out of Verizon's space:
>> 
>> (1) Does Verizon allocate say a /64 to each of BMW, Mercedes, and Ford so they can use Vehicle ID Numbers for the rest of the allocation for their automobile EID assignments?
>> 
> 
> First of all, you can't pull a /64 out of a /80 so I think you mean a /48 assigned to $PROVIDER.

Yes, I mistyped.

> I think permanently assigned addresses related to VINS are, in general, a bad idea. I don't see any advantage to tying the semantics of the two systems to each other. If anything, the development of LISP is the result of failing to separate the semantics of end-point addressing from the semantics of topological location. Combining the semantics of end-point addressing and VINs seems even more far-fetched to me.

An EID is opaque and not used by the protocol stack just by humans if they choose to look at them. 

>> (3) What if these auto manufactures don't want to allocate ASN numbers because they will never have any intent to run BGP either in the cars, POPs, data centers?
>> 
> 
> I don't see anything in this draft that would preclude them from using a different source of addressing.
> 
> I confess, to some extent, I wonder if this is a solution in search of a problem.

I know there are customers that want to reduce the number of total databases they have to manage at all layers of the stack.

>>>  If any route is announced from this allocation, any prefixes more
>>>  specific than the allocated /48 must not be propagated in to the
>>>  global IPv6 routing table.  This is to prevent the IPv6 routing table
>> 
>> This is fine authors, but if you are multi-home, it will require each system at the site to possess multiple addresses one from each attached ASN if they do not have their own prefix but get it out of their provider.
>> 
>> If you say that this prefix will never be associated with a provider's attachment point, then I'm okay with that and agree.
>> 
> 
> Either I misunderstand what you are saying, or, you have erred. I'm not sure which.
> 
> If a site uses a /64 from within this /48 to attach to each upstream, the more specific does not need to propagate beyond the immediate upstream router, so it still wouldn't be announced into the global routing table.

There is still PI flat routing on the scale of number of sites that use this prefix. That is the point, there is no attempt to improve the route table scaling problem. I'm not saying this draft should, just speaking generally.

>>>  from becoming too large.  Therefore, a site which uses this
>>>  allocation MUST NOT advertise a more specific than the allocated /48
>>>  routing prefix.  All native IPv6 network operators MUST filter out
>>> 
>>> 
>>> 
>>> Levy & Pounsett           Expires July 28, 2013                 [Page 3]
>>> Internet-Draft  Auto allocation mechanism for IPv6 blocks   January 2013
>>> 
>>> 
>>>  and discard any routing prefix advertisements longer than /48 from
>>>  within this /16 allocation.
>> 
>> Can you explicitly state then that this prefix for use as a PROVIDER INDEPENDENT prefix. Thanks.
>> 
> 
> I think that is inherent in the definition of the prefix. Can you clarify why you think this
> statement is necessary?

I want it explicit so there is no layers of ownership of the prefix.

>>>  ASNs are normally expressed as human-readable decimal numbers; yet
>>>  for this allocation the number should be converted into a hexadecimal
>>>  notation.  All IPv6 addresses are written in hexadecimal.  (NNNN
>>>  represents the /16 allocation by IANA)
>>> 
>>>      +----------------+--------------------+---------------------+
>>>      | ASN in decemal | ASN in hexadecimal |     Sample IP block |
>>>      +----------------+--------------------+---------------------+
>>>      |            AS1 |                  1 | NNNN:0000:0001::/48 |
>>>      |         AS6939 |               1B1B | NNNN:0000:1B1B::/48 |
>>>      |        AS29001 |               7149 | NNNN:0000:0001::/48 |
>>>      |       AS393220 |              60004 | NNNN:0006:0004::/48 |
>>>      +----------------+--------------------+---------------------+
>> 
>> What we had found in the old days of NSAP deployment (OSI) that encoding IPv4 addresses in BCD format in a hexadecimal longer address was extremely useful for management. And as we have seen for IPv6, even embedding IPv4 dotted decimal format was extremely useful.
>> 
>> Rather than having to build tools and make vendors do UI work, can we have some form of BCD format for AS number. I know this will be difficult for a 32-bit number but we could make it work for the ASNs that are <= 65535. Just a thought. But even 10 million ASNS would only take up to 8 nibbles. And since we won't and can't aggregate ASNs there is no point in making the encoding a power-of-2 value.
> 
> I would oppose doing this. If we are going to do this (and I'm not entirely convinced that we should, but also not opposed), we should support the full ASN space and doing so as a bit field is fine. I don't think any UI work is required. Tools to convert 32-bit numbers from decimal to hex are already widely available and the process is well understood. It's not like anyone will have to do this conversion on a daily basis.
> 
> perl -e 'printf "%08x\n", <as_number_in_decimal>' will solve the problem, for example.

Multiply by 1000 products coming out over different delivery times. Don't underestimate the slowness of vendors.

>>> 5.  ASN allocation
>>> 
>>>  ASNs are allocated by RIRs and this RFC does not handle that arena.
>>> 
>>>  ASNs defined as private ASNs MUST NOT use this scheme.  The special
>>>  16-bit ASN 23456 MUST NOT use this scheme.
>> 
>> I would let users do this with private ASes if they want to. Set a local/global bit in your encoding so they can use it. If you don't they will steal ASN numbers which they should not do but will.
> 
> What local/global bit?

Add one is the suggestion.

>>>  This mechanism is not expected to have any impact to the global
>>>  Internet routing table since existing policies in the RIR system
>>>  already readily provide for the allocation of provider-independent
>>>  IPv6 prefixes.  Additionally, AS number holders are likely to be
>>>  multihomed entities which were going to be independently routed in
>>>  any case.  Service Providers are, as always, not obligated to route
>>>  these IPv6 assignments and/or may establish conditions of service
>>>  which offset any additional routing cost.
>> 
>> I would say it would have the same impact as PI prefixes do today.
>> 
> 
> Which means that this has no impact because it doesn't change the impact vs. the current PI impact.

You miss the point. The problem needs to be solved. Saying this draft doesn't worsen it is not panacea.

Dino