Re: [netmod] comments on draft-ietf-netmod-routing-cfg-04

t.petch <ietfc@btconnect.com> Fri, 03 August 2012 14:38 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 09F1C21F8DB9 for <netmod@ietfa.amsl.com>; Fri, 3 Aug 2012 07:38:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.647
X-Spam-Level:
X-Spam-Status: No, score=-3.647 tagged_above=-999 required=5 tests=[AWL=-0.048, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MXt+fOYmRTWH for <netmod@ietfa.amsl.com>; Fri, 3 Aug 2012 07:38:49 -0700 (PDT)
Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe002.messaging.microsoft.com [216.32.181.182]) by ietfa.amsl.com (Postfix) with ESMTP id BB6D621F8D96 for <netmod@ietf.org>; Fri, 3 Aug 2012 07:38:48 -0700 (PDT)
Received: from mail103-ch1-R.bigfish.com (10.43.68.251) by CH1EHSOBE017.bigfish.com (10.43.70.67) with Microsoft SMTP Server id 14.1.225.23; Fri, 3 Aug 2012 14:38:47 +0000
Received: from mail103-ch1 (localhost [127.0.0.1]) by mail103-ch1-R.bigfish.com (Postfix) with ESMTP id 4DDB24E0525; Fri, 3 Aug 2012 14:38:47 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:157.55.224.141; KIP:(null); UIP:(null); IPV:NLI; H:DB3PRD0702HT001.eurprd07.prod.outlook.com; RD:none; EFVD:NLI
X-SpamScore: -26
X-BigFish: PS-26(zz9371I146fI542M1432I1418I4015Izz1202hzz1033IL8275bh8275dhz2dh2a8h5a9h668h839hd24hf0ah107ah304l)
Received: from mail103-ch1 (localhost.localdomain [127.0.0.1]) by mail103-ch1 (MessageSwitch) id 1344004725575599_23399; Fri, 3 Aug 2012 14:38:45 +0000 (UTC)
Received: from CH1EHSMHS030.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.230]) by mail103-ch1.bigfish.com (Postfix) with ESMTP id 812E54A00CE; Fri, 3 Aug 2012 14:38:45 +0000 (UTC)
Received: from DB3PRD0702HT001.eurprd07.prod.outlook.com (157.55.224.141) by CH1EHSMHS030.bigfish.com (10.43.70.30) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 3 Aug 2012 14:38:43 +0000
Received: from BL2PRD0310HT003.namprd03.prod.outlook.com (157.56.240.21) by pod51017.outlook.com (10.3.4.141) with Microsoft SMTP Server (TLS) id 14.15.108.4; Fri, 3 Aug 2012 14:38:38 +0000
Message-ID: <005a01cd7185$0fce9bc0$4001a8c0@gateway.2wire.net>
From: "t.petch" <ietfc@btconnect.com>
To: Ladislav Lhotka <lhotka@nic.cz>
References: <45BE39D9-2E92-4139-B579-B125649CD287@cisco.com> <A804D64B-3F6C-42D0-A926-99707C7390A4@nic.cz> <1157C259-DE00-4DD9-870D-2E58CD188ED8@cisco.com> <m2obmx729k.fsf@dhcp-4753.meeting.ietf.org> <5E5D58D7-824A-433A-87F1-53E08B80F991@cisco.com> <006701cd70b7$4f0b9e60$4001a8c0@gateway.2wire.net> <m2txwkopot.fsf@dhcp-16a6.meeting.ietf.org>
Date: Fri, 03 Aug 2012 15:34:05 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Originating-IP: [157.56.240.21]
X-OriginatorOrg: btconnect.com
Cc: netmod@ietf.org
Subject: Re: [netmod] comments on draft-ietf-netmod-routing-cfg-04
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Aug 2012 14:38:50 -0000

----- Original Message -----
From: "Ladislav Lhotka" <lhotka@nic.cz>
To: "t.petch" <ietfc@btconnect.com>; "Yi Yang (yiya)" <yiya@cisco.com>
Cc: <netmod@ietf.org>
Sent: Friday, August 03, 2012 12:10 AM
> "t.petch" <ietfc@btconnect.com> writes:
> > <tp>
> > In a sense I agree with you, in a sense I think the exact opposite.
> >
> > This topic of what tables there are in a box that routes packets has
> > surfaced before.  I see, in a typical I-D produced about routing,
> > reference to FIB and RIB, without any need to define or explain the
> > terms, they are that well known, they are what routers and other
boxes
> > have as a matter or course.
>
> Yes, it's been my problem that I couldn't find a precise definition of
these acronyms, and I understand most routing experts use the definition
"you know it when you see it".
>
> >
> > For me, it is the FIB that is always present; if you do not know
where
> > to send a packet, how to route it, then you are not an IP box of any
> > shape or form - you must have a FIB..  In simple boxes, like Linux
or
> > Windows, then that is all you have.
> >
> > In more sophisticated boxes, 'proper' routers, for some meaning of
the
> > word proper, then you need much more data, which may closely model
the
> > FIB, as with RIP, or may be utterly different, as with OSPF, and for
> > this, I see the term RIB used, initially with BGP but latterly with
any
> > routing protocol.  RIBs vary widely with the routing protocol and so
are
> > properly part of routing protocol extensions.
>
> So at the level of the present core routing model we are dealing with
FIBs, but as soon as a BGP module augments routes with that
sophisticated stuff a FIB gets promoted to a RIB, right? But this may be
quite confusing from the point of view of the I-D text, and in this case
I would probably prefer to avoid these acronyms entirely and use only
"routing table".
>
> >
> > So I think that this I-D gets the terminology quite wrong; as I say,
> > this has surfaced before without any visible change to the I-D.  I
was
> > surprised that this topic attracted no comment from the Routing
> > Directorate.
>
> Can you suggest what to do in order to get the terminology right?
>
> Anyway, I think that Yi Yang's comments were about "forwarding table",
i.e. a (simplified) routing table which by definition contains only
active routes.

I think this a misuse of forwarding table:-(

RIB is defined in RFC1771 (BGP) and later BGP RFC such as RFC2439 (Nov
1998) and RFC4771; it is clearly not the routing table, containing
everything including the kitchen sink and its structure is specific to
BGP.  But I see the term applied generically to what is learnt by an
instance of a routing protocol, and so could be applied to the
equivalent structures of EIGRP or IS-IS, which are very different in
kind.  Sometimes I see it used generically to include everything learnt
by all instances of all routing protocols but I think that that is
wrong.

FIB appears in RFC1812
"The goal of the next-hop selection process is to examine the entries
   in the router's Forwarding Information Base (FIB) and select the best
   route (if there is one) for the packet from those available in the
   FIB."
which is what, in popular parlance, is a routing table.  For example,
Moy, writing on OSPF, says
"A router's routing table instructs the router how to forward  packets.
Given a packet, the router performs a routing table lookup, using the
packet's IP destination address as a key.  This lookup returns the best
matching routing table entry ..."

I would not expect the term FIB to include all the baggage that routing
protocols provide nor for it to include any route which is not
available, as far as the host or router knows, for immediate use.

But the terms FIB and RIB are a bit specialised; I-Ds such as
draft-uttaro-idr-bgp-persistence-01
and
draft-ietf-grow-simple-va-11
use them without any explanation as do posters on many if not most of
the WG lists in Routing and parts of Operations Areas, but that is
probably not appropriate for this I-D, just as the terms are not used
in, eg, RFC2096, which is entitled 'IP Forwarding Table MIB' but then
defines 'IP CIDR Route Table', the DESCRIPTION of which is "This
entity's IP Routing table."; oh dear, you can't win!

So I think that conceptually, you should be defining the FIB, of usable
routes from which the next hop or interface of a packet is selected on
the basis of longest match, but probably calling it a route or routing
table since that is the term most widely used.  Where individual router
manufactuers do clever things on line cards, then that is best modelled
by clever router manufacturers, even if they are all doing something
similar - the speed and rate of change of those data structures probably
makes them unsuitable for MIB, yang or anything else.

You should allow for augmentation, or some such;  BGP revolves around
peers and path attributes (RFC4273) and avoids all mention of FIB, RIB
or the IP Route Table.  OSPF (RFC4750) covers interfaces, neighbors,
areas and link states, and has a reference to the Forwarding Table.
RIP(RFC1724) has interfaces and peers and refers to the  "the IP Route
Database by RIP"

Yup, you can't win, but referring to RFC1812 is unlikely to lose.

Tom Petch

> Thanks, Lada
>
> >
> > Tom Petch
> > </tp>
> > Yi
> >