Re: [BEHAVE] CGN REQ: Port Set Assignment
"Dan Wing" <dwing@cisco.com> Thu, 17 March 2011 18:05 UTC
Return-Path: <dwing@cisco.com>
X-Original-To: behave@core3.amsl.com
Delivered-To: behave@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 840F93A6A04 for <behave@core3.amsl.com>; Thu, 17 Mar 2011 11:05:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.349
X-Spam-Level:
X-Spam-Status: No, score=-110.349 tagged_above=-999 required=5 tests=[AWL=0.250, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B1wrQGDKAwzM for <behave@core3.amsl.com>; Thu, 17 Mar 2011 11:05:07 -0700 (PDT)
Received: from rtp-iport-1.cisco.com (rtp-iport-1.cisco.com [64.102.122.148]) by core3.amsl.com (Postfix) with ESMTP id C34843A6AE8 for <behave@ietf.org>; Thu, 17 Mar 2011 11:05:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=dwing@cisco.com; l=4208; q=dns/txt; s=iport; t=1300385193; x=1301594793; h=from:to:cc:references:in-reply-to:subject:date: message-id:mime-version:content-transfer-encoding; bh=0NENKydCvSybA2UWaSRfFVtP0RgMMpWeFfx3T3EFC7g=; b=GzY+045OqwAhV90TcbbThNoMTZvzlR4CyGEo69Wx2LM3Io8K4KMYgNbF 7S91ypke33+wyjHmbbKHOo8hrp2eWgDnEOotCifqJz1NzzxdnwPZ/36O5 OMDv05uRoztYKg8UgDk8/ffNRrVi+NgpbmRBZFKlg0yWRu4FjFbN8Zfu9 4=;
X-IronPort-AV: E=Sophos;i="4.63,200,1299456000"; d="scan'208";a="226195787"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by rtp-iport-1.cisco.com with ESMTP; 17 Mar 2011 18:06:31 +0000
Received: from dwingWS ([10.32.240.196]) by rcdn-core-6.cisco.com (8.14.3/8.14.3) with ESMTP id p2HI6UXF010489; Thu, 17 Mar 2011 18:06:30 GMT
From: Dan Wing <dwing@cisco.com>
To: mohamed.boucadair@orange-ftgroup.com, Francis.Dupont@fdupont.fr
References: Your message of Wed, 16 Mar 2011 07:16:42 +0100. <94C682931C08B048B7A8645303FDC9F33C4DBA3CC6@PUEXCB1B.nanterre.francetelecom.fr> <201103161431.p2GEVqua078968@givry.fdupont.fr> <94C682931C08B048B7A8645303FDC9F33C4DBA3FCC@PUEXCB1B.nanterre.francetelecom.fr> <017a01cbe411$257172c0$70545840$@com> <94C682931C08B048B7A8645303FDC9F33C4DBA4146@PUEXCB1B.nanterre.francetelecom.fr>
In-Reply-To: <94C682931C08B048B7A8645303FDC9F33C4DBA4146@PUEXCB1B.nanterre.francetelecom.fr>
Date: Thu, 17 Mar 2011 11:06:29 -0700
Message-ID: <068901cbe4ce$0acbb7b0$20632710$@com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Acvj5ufE7eIX9/3+Se2nR9ztiTvhmAAABYcAAApyKoAAGJ2wsAAWq4uw
Content-language: en-us
Cc: behave@ietf.org, draft-ietf-behave-lsn-requirements@tools.ietf.org, 'Benson Schliesser' <bschlies@cisco.com>
Subject: Re: [BEHAVE] CGN REQ: Port Set Assignment
X-BeenThere: behave@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: mailing list of BEHAVE IETF WG <behave.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/behave>, <mailto:behave-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/behave>
List-Post: <mailto:behave@ietf.org>
List-Help: <mailto:behave-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/behave>, <mailto:behave-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Mar 2011 18:05:08 -0000
We need some common terminology. Invent something. -d > -----Original Message----- > From: mohamed.boucadair@orange-ftgroup.com > [mailto:mohamed.boucadair@orange-ftgroup.com] > Sent: Thursday, March 17, 2011 12:25 AM > To: Dan Wing; Francis.Dupont@fdupont.fr > Cc: behave@ietf.org; draft-ietf-behave-lsn-requirements@tools.ietf.org; > 'Benson Schliesser' > Subject: RE: [BEHAVE] CGN REQ: Port Set Assignment > > Re-, > > > > -----Message d'origine----- > De : Dan Wing [mailto:dwing@cisco.com] > Envoyé : mercredi 16 mars 2011 20:34 > À : BOUCADAIR Mohamed OLNC/NAD/TIP; Francis.Dupont@fdupont.fr > Cc : behave@ietf.org; draft-ietf-behave-lsn- > requirements@tools.ietf.org; 'Benson Schliesser' > Objet : RE: [BEHAVE] CGN REQ: Port Set Assignment > > > -----Original Message----- > > From: behave-bounces@ietf.org [mailto:behave-bounces@ietf.org] On > > Behalf Of mohamed.boucadair@orange-ftgroup.com > > Sent: Wednesday, March 16, 2011 7:38 AM > > To: Francis.Dupont@fdupont.fr > > Cc: 'behave' <(behave@ietf.org)>; draft-ietf-behave-lsn- > > requirements@tools.ietf.org; Benson Schliesser > > Subject: Re: [BEHAVE] CGN REQ: Port Set Assignment > > > > Hi Francis, > > > > By "random port set", I meant: > > > > * a set of ports which are randomly generated when a new outbound > > packet is received by the CGN > > * the port set is not contiguous > > * the port set is not fixe > > * for subsequent packet requiring a new port, a port from the pre- > > allocated random port set is used > > * when all the ports in the port set are in-use, a new random port > set > > is generated by the CGN, etc until reaching a quota. > > > > We can find a better name for this. > > I described a continuum from completely random to completely fixed at: > http://www.ietf.org/mail-archive/web/behave/current/msg09182.html > > which said: > > 1. for every outgoing connection, create one mapping. > 2. for an outgoing connection, create a "bin" of several mappings > using random public ports. Subsequent outgoing connections will > use ports from the "bin". When the "bin" is full, a new > connection causes a new bin to be created. A bin is smaller or > equal to the user's maximum port limit. > 3. Same as (2), but the ports allocated to a "bin" are consecutive > public ports. > > Perhaps that is a good starting point. Or perhaps this is better: > > 1. for a new outgoing flow, choose a random port and create a new > mapping. There is a limit on the maximum number of ports. > > 2. for a new outgoing flow, choose several random ports and create > a > "bin" of those ports. This outgoing flow is assigned one of > those ports. Subsequent outgoing flows will be assigned a port > from the "bin". When the "bin" is full, a new flow causes this > process to be repeated (i.e., a new bin is created). A bin is > smaller or equal to the user's maximum port limit. > > 3. Same as (2), but the ports allocated to a "bin" are consecutive > public ports. > > Med: I don't know where to put the non-contiguous one single "bin" case > (excerpt from (see http://tools.ietf.org/html/draft-bajko- > pripaddrassign-02#section-4.1) > > "a non Continuous Port Range is assigned to a given customer's > device. In this example, the Port Range Value defines 128 Continuous > Port Ranges, each one with a length of 16 port values. Note that > the two first Port Ranges are both in the well-known ports span > (i.e. 0-1023) but these two ranges are not adjacent. > > The following Port Range Mask and Port Range Value are conveyed in > DHCP messages: > - Port Range Value : 0000000001010000 (80) > - Port Range Mask : 0000000111110000 (496) > > This means that the 128 following Continuous Port Ranges are > assigned to the same device: > - from 80 to 95 > - from 592 to 607 > - ... > - from 65104 to 65119" > > > 4. Same as (3), but only one "bin" is allocated.
- [BEHAVE] CGN REQ: Port Set Assignment mohamed.boucadair
- Re: [BEHAVE] CGN REQ: Port Set Assignment Dan Wing
- [BEHAVE] RE : CGN REQ: Port Set Assignment mohamed.boucadair
- Re: [BEHAVE] CGN REQ: Port Set Assignment Dan Wing
- [BEHAVE] RE : CGN REQ: Port Set Assignment mohamed.boucadair
- Re: [BEHAVE] CGN REQ: Port Set Assignment Benson Schliesser
- Re: [BEHAVE] CGN REQ: Port Set Assignment Dan Wing
- Re: [BEHAVE] CGN REQ: Port Set Assignment Reinaldo Penno
- Re: [BEHAVE] CGN REQ: Port Set Assignment Dan Wing
- Re: [BEHAVE] CGN REQ: Port Set Assignment Reinaldo Penno
- Re: [BEHAVE] CGN REQ: Port Set Assignment Dan Wing
- Re: [BEHAVE] CGN REQ: Port Set Assignment mohamed.boucadair
- Re: [BEHAVE] CGN REQ: Port Set Assignment mohamed.boucadair
- Re: [BEHAVE] CGN REQ: Port Set Assignment mohamed.boucadair
- Re: [BEHAVE] CGN REQ: Port Set Assignment xiaohong.deng
- Re: [BEHAVE] CGN REQ: Port Set Assignment Simon Perreault
- Re: [BEHAVE] CGN REQ: Port Set Assignment Simon Perreault
- Re: [BEHAVE] CGN REQ: Port Set Assignment Francis Dupont
- Re: [BEHAVE] CGN REQ: Port Set Assignment Simon Perreault
- Re: [BEHAVE] CGN REQ: Port Set Assignment mohamed.boucadair
- Re: [BEHAVE] CGN REQ: Port Set Assignment Dan Wing
- Re: [BEHAVE] CGN REQ: Port Set Assignment Francis Dupont
- Re: [BEHAVE] CGN REQ: Port Set Assignment Dan Wing
- Re: [BEHAVE] CGN REQ: Port Set Assignment mohamed.boucadair
- Re: [BEHAVE] CGN REQ: Port Set Assignment mohamed.boucadair
- Re: [BEHAVE] CGN REQ: Port Set Assignment mohamed.boucadair
- Re: [BEHAVE] CGN REQ: Port Set Assignment mohamed.boucadair
- Re: [BEHAVE] CGN REQ: Port Set Assignment Dan Wing
- Re: [BEHAVE] CGN REQ: Port Set Assignment Benson Schliesser
- Re: [BEHAVE] CGN REQ: Port Set Assignment Benson Schliesser
- Re: [BEHAVE] CGN REQ: Port Set Assignment xiaohong.deng
- Re: [BEHAVE] CGN REQ: Port Set Assignment Simon Perreault
- Re: [BEHAVE] CGN REQ: Port Set Assignment mohamed.boucadair
- Re: [BEHAVE] CGN REQ: Port Set Assignment Benson Schliesser