From ospf-wireless-design-bounces@ietf.org  Thu Feb  3 15:06:45 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA02516;
	Thu, 3 Feb 2005 15:06:44 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CwnY7-0002Ma-5Q; Thu, 03 Feb 2005 15:26:01 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CwnEv-0005Mm-0T; Thu, 03 Feb 2005 15:06:09 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CwmcS-0001fr-NA
	for ospf-wireless-design@megatron.ietf.org;
	Thu, 03 Feb 2005 14:26:26 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA28455
	for <ospf-wireless-design@ietf.org>;
	Thu, 3 Feb 2005 14:26:22 -0500 (EST)
Received: from pop-a065c10.pas.sa.earthlink.net ([207.217.121.184])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1Cwmun-00017s-0E
	for ospf-wireless-design@ietf.org; Thu, 03 Feb 2005 14:45:39 -0500
Received: from dialup-4.243.140.119.dial1.sanfrancisco1.level3.net
	([4.243.140.119] helo=earthlink.net)
	by pop-a065c10.pas.sa.earthlink.net with esmtp (Exim 3.33 #1)
	id 1Cwmbg-00040C-00
	for ospf-wireless-design@ietf.org; Thu, 03 Feb 2005 11:25:36 -0800
Message-ID: <42027AAE.2060907@earthlink.net>
Date: Thu, 03 Feb 2005 11:25:34 -0800
From: Richard Ogier <rich.ogier@earthlink.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 (emach0202)
X-Accept-Language: en-us
MIME-Version: 1.0
To: ospf-wireless-design@ietf.org
Content-Type: multipart/mixed; boundary="------------040504060002020609090604"
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 57ff10f18e2d60475f799d6351b55db4
X-Mailman-Approved-At: Thu, 03 Feb 2005 15:06:08 -0500
Subject: [Ospf-wireless-design] Update to draft-ogier-manet-ospf-extension
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team  <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 0.8 (/)
X-Scan-Signature: 1c75752474da50d4e2e5f8373cbb66b5

This is a multi-part message in MIME format.
--------------040504060002020609090604
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

All,

An update to my draft is attached. The main changes are
summarized below. I will submit the final version before
the meeting deadline (February 21). Comments are welcome.

Richard

   Changes from version 02 to version 03:

   - A flexible Hello protocol is presented that allows routers to
     send either full or differential Hellos, in which either full or
     partial 2-hop neighbor information is advertised periodically.
     Partial information consists of (Backup) Dependent Neighbors.

   - The ANP CDS algorithm has been modified to allow the possibility
     that a router can be a DR of one neighbor and a Backup DR of
     another neighbor. To allow this, the algorithm now distinguishes
     between Dependent Neighbors and Backup Dependent Neighbors.

   - The flooding procedure (Section 6) has also been modified to
     distinguish between Dependent and Backup Dependent Neighbors.

   - The ANP CDS algorithm has been modified to allow a (Backup) DR
     to declare all of its neighbors to be (Backup) Dependent,
     thus making all neighbors adjacent (which is always the case
     in the other CDS algorithms).

   - The rule for forming adjacencies has been modified so that an
     adjacency is formed between two routers if and only if one of
     the routers is a (Backup) Dependent Neighbor of the other one.
     Since Hellos advertise (Backup) Dependent Neighbors, each router
     knows which neighbors it should become adjacent with.



--------------040504060002020609090604
Content-Type: text/plain;
 name="draft-ogier-manet-ospf-extension-03pre.txt"
Content-Disposition: inline;
	filename="draft-ogier-manet-ospf-extension-03pre.txt"
X-MIME-Autoconverted: from 8bit to quoted-printable by ietf.org id OAA28455
Content-Transfer-Encoding: quoted-printable




Mobile Ad Hoc and OSPF Working Groups                         R. Ogier
Internet-Draft                                        February 3, 2005


               MANET Extension of OSPF using CDS Flooding
                draft-ogier-manet-ospf-extension-03pre.txt

Status of this Memo

   This document is an Internet-Draft and is subject to all provisions
   of section 3 of RFC 3667.  By submitting this Internet-Draft, each
   author represents that any applicable patent or other IPR claims of
   which he or she is aware have been or will be disclosed, and any of
   which he or she become aware will be disclosed, in accordance with
   RFC 3668.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF), its areas, and its working groups.  Note that
   other groups may also distribute working documents as Internet-
   Drafts.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   The list of current Internet-Drafts can be accessed at
   http://www.ietf.org/ietf/1id-abstracts.html The list of Internet-
   Draft Shadow Directories can be accessed at
   http://www.ietf.org/shadow.html

   This Internet-Draft will expire on August 3, 2005.

   Copyright (C) The Internet Society (2005).

Abstract

   This document describes and evaluates a family of interoperable
   flooding methods for mobile ad-hoc networks, which use a distributed
   algorithm for computing a connected dominating set (CDS) based on
   2-hop neighbor information. The different methods are interoperable
   because the CDS computed by each method contains a "minimal" CDS,
   which is computed by the most efficient of the described methods.
   Simulations are presented to compare the different methods with
   respect to CDS size and average stretch factor.  This document also
   describes how the proposed CDS algorithms can be used to achieve
   reliable flooding of LSAs in OSPF. In this context, the CDS nodes
   generalize the concept of a Designated Router to a multi-hop network.



Ogier                    Expires August 3, 2005                 [Page 1]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


1. Introduction

   Flooding is useful in mobile ad-hoc networks for the dissemination of
   topology information (in link-state routing protocols) and other
   information, and for route discovery (in reactive routing protocols).
   Because mobile networks typically have less bandwidth than wired
   networks, an efficient flooding mechanism is needed, in which only a
   relatively small subset of nodes forward a given flooded packet. Once
   choice for such a subset of nodes is a connected dominating set
   (CDS).

   This document presents distributed CDS algorithms in which each node
   decides whether it is in the CDS based on 2-hop neighbor information.
   This allows fast reaction to topology changes, since the decision to
   be in the CDS does not depend on information that must be propagated
   across the network.

   We present a family of distributed CDS algorithms, which are related
   and interoperable since the CDS computed by each algorithm contains a
   minimal CDS, called the Essential CDS, which is computed by the most
   efficient of the distributed algorithms. Thus, a CDS will be obtained
   as long as each node runs any algorithm in the family.  More
   generally, any CDS algorithm can be used as long as it results in the
   node selecting itself whenever it belongs to the Essential CDS.

   The two performance measures that we consider are CDS size and
   stretch factor, defined as the average length of a min-hop path
   between a source and a destination using only CDS nodes as
   intermediate nodes, divided by the average min-hop path length using
   any nodes. As we show using simulations, some of the CDS algorithms
   achieve a smaller stretch factor at the cost of a larger CDS. A small
   stretch factor (close to 1) is desirable because each flooded packet
   travels fewer hops on average.

   In addition, a small stretch factor is beneficial if the CDS is used
   for unicast routing, i.e., if unicast routes are constrained to use
   only CDS nodes as intermediate nodes.  This would be the case if only
   links adjacent to CDS nodes are disseminated in LSAs, as described in
   Section 5. Thus, a small stretch factor allows overhead to be reduced
   dramatically by allowing the dissemination of a relatively small
   portion of the full topology.

   This document also describes how the proposed CDS methods can be used
   to achieve reliable flooding of LSAs in OSPF. In this context, the
   CDS nodes generalize the concept of a Designated Router (DR) to
   MANETs, and the proposed CDS selection algorithms generalize OSPF=E2=80=
=99s
   algorithm for selecting a DR and Backup DR.  Therefore, we extend the
   term "Designated Router" to refer to a CDS node, and thus a MANET can



Ogier                    Expires August 3, 2005                 [Page 2]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


   have several DRs. Much of the functionality of a DR in legacy OSPF
   [RFC2328, RFC2740] remains the same for a generalized DR. For
   example, adjacencies are formed only between each DR/Backup DR and
   its neighbors, and only DRs (and possibly Backup DRs) forward LSAs in
   the flooding process.

   Each CDS algorithm has a persistent and a non-persistent version.  In
   the persistent versions, each (generalized) DR remains a DR until the
   existence of higher priority neighboring DRs make it redundant, as in
   legacy OSPF.  In the non-persistent versions, DRs are recalculated
   whenever the 2-hop neighborhood changes, regardless of which nodes
   are currently DRs.  The persistent versions have the advantage that
   DRs do not change as often, and are therefore recommended for
   reliable flooding, since an adjacency must be formed (with database
   synchronization) between each new DR and some or all of its
   neighbors.  The non-persistent versions are useful for periodic,
   unreliable flooding, which does not require database synchronization.

   The 2-hop neighbor information required for DR selection is obtained
   from Hello packets. Section 10 describes a differential Hello
   protocol in which either partial or full 2-hop neighbor information
   is advertised in Hellos.  One of the advantages of the proposed
   solution is that only partial 2-hop neighbor information is required,
   thus reducing overhead.

   Section 2 summarizes the features of the solution proposed in this
   document. Section 3 discusses the relative benefits of CDS flooding
   versus MPR flooding. Section 4 describes the proposed family of CDS
   algorithms. Section 5 specifies which neighbors should be adjacent,
   and which should be included in LSAs.  Section 6 describes the
   flooding procedure, and Sections 7 and 8 describe the procedures for
   retransmitting LSAs and sending Link State acknowledgments,
   respectively.  Section 9 proposes three enhancements for reducing
   overhead, including more efficient database exchange, multicasting
   retransmitted LSAs, and non-ackable LSAs.  Section 10 describes the
   differential Hello protocol, and Section 11 presents simulation
   results comparing different algorithms in the proposed family of CDS
   algorithms.


2. Summary of Features of the Proposed Solution

   The following bullets summarize the main features of the solution
   presented in this document:

   - The document presents a family of interoperable CDS algorithms,
     which allow a tradeoff between path optimality and CDS size.
     Simulation results are presented to show this tradeoff.



Ogier                    Expires August 3, 2005                 [Page 3]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


   - The CDS algorithms are based only on 2-hop neighbor information,
     to provide fast convergence following topology changes.

   - The CDS algorithms are interoperable because the CDS computed by
     each algorithm contains a minimal, source-independent CDS called
     the "Essential" CDS. The Essential CDS can be computed in O(d^2)
     time, where d is the number of neighbors.

   - The Essential CDS is very scalable, as shown by the simulation
     results in Section 11. In a 300 node network with average degree
     64 and diameter 5, the Essential CDS consists of only 23 (8%) of
     the nodes on average.

   - The Essential CDS provides a minimal, source-independent set
     of relays for flooding LSAs (or other flooded packets).
     The flooding procedure also allows source-dependent flooding
     (using previous-hop information) as an option, if it is desired
     to flood packets along min-hop paths.

   - For improved CDS stability, each algorithm in the family has a
     "persistent" version, in which a router in the CDS remains in
     the CDS until it becomes redundant.

   - Generalizes the OSPF concept of a Designated Router (DR) and
     Backup DR to MANETs. The set of DRs forms a CDS, and the set of
     DRs and Backup DRs forms a biconnected CDS for robustness.
     When applied to a broadcast network, the persistent version of
     each algorithm computes the same DR and Backup DR as OSPF.

   - Adjacencies are formed only between CDS nodes (DRs and Backup DRs)
     and their neighbors, as in legacy OSPF.

   - Provides a flexible choice of which neighbors to include in LSAs,
     from a minimum set of neighbors adjacent to DRs and Backup DRs,
     to the full network topology.

   - A flexible Hello protocol is presented that allows routers to send
     either full or differential Hellos, in which either full or partial
     2-hop neighbor information is advertised.


3. Comparison of CDS and MPR Flooding

   Two flooding approaches being considered for mobile ad-hoc networks
   are multipoint relays (MPRs) and a connected dominating set (CDS).
   The main difference is that MPRs are directional, so that the set of
   MPRs that forward a given flooded packet depends on the originating
   node, whereas if a CDS is used, then all CDS nodes forward each



Ogier                    Expires August 3, 2005                 [Page 4]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


   flooded packet.  In addition, flooding via MPRs results in each
   packet following a min-hop path, whereas a CDS need not provide min-
   hop paths.

   In the discussion below, for MPR flooding we assume that each node
   selects a subset of its neighbors to be MPRs based on 2-hop neighbor
   information, as in [RFC3626].  Thus CDS nodes are "self selected"
   whereas MPRs are "neighbor selected".  It is also possible for MPRs
   to be self selected, and for CDS nodes to be determined based on
   neighbor-selected MPRs as in [Adjih02].

   In the solution presented in this document, each node that selects
   itself as a CDS node also selects a set of "dependent" neighbors,
   which are analogous to MPR selectors. Thus, we present a flexible
   solution that includes both self-selected (source-independent) CDS
   nodes and self-selected MPRs in a unified manner.

   CDS-based flooding has the following advantages when compared to
   (neighbor-selected) MPR-based flooding:

   - A node need not know the previous hop of a flooded packet in
     deciding whether to forward it.

   - The previous-hop independence also simplifies reliable flooding,
     since a CDS clearly defines the set of nodes that are responsible
     for relaying LSAs and performing database synchronization with
     neighbors.

   - In the above sense, a CDS node is a natural generalization of
     OSPF=E2=80=99s Designated Router to multi-hop networks.

   - Each node decides whether it is in the CDS based only on 2-hop
     neighbor information, allowing faster recovery from link
     failures than if each node must inform its neighbors of the
     selection (as with MPRs).

   - While existing MPR selection algorithms require full 2-hop neighbor
     information, CDS selection depends only on partial 2-hop neighbor
     information which is determined naturally as part of the CDS
     algorithm.

   - A CDS need not (but can) provide min-hop paths (unlike MPRs),
     and therefore can trade off path optimality to reduce the number
     of nodes that relay each flooded packet.

   - A CDS node can determine not only the previous-hop neighbors
     that depend on it for relaying LSAs, but also the next-hop
     neighbors that must receive the LSAs. This is important for



Ogier                    Expires August 3, 2005                 [Page 5]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


     reliable flooding, since an ACK must be received from each
     such next-hop neighbor.

   Since MPRs provide min-hop paths and are neighbor selected, they
   provide the following advantage:

   - If min-hop paths are required, MPRs may result in a smaller
     number of transmissions, since the neighbor selection of MPRs
     makes it easier to identify and eliminate redundant MPRs.


4. Proposed Family of CDS Algorithms

   In this section, we describe a family of distributed CDS algorithms
   based on 2-hop neighbor information, which is obtained from Hellos as
   described in Section 10.  The algorithms are first presented assuming
   each node has a single MANET interface; the extension to multiple
   interfaces is described in Section 4.4.

   By 2-hop neighbor information, we mean that each node knows the set
   (denoted N) of its 2-way (1-hop) neighbors and, for each 2-way
   neighbor j, the set (denoted N_j) of node j=E2=80=99s 2-way neighbors.=
  In
   addition, we assume that each node knows the Router Priority (RtrPri)
   and Router ID (RID) of each of its neighbors, as in legacy OSPF.
   These values will be used by the CDS algorithms in a way that
   generalizes OSPF=E2=80=99s algorithms for selecting a Designated Route=
r.  As
   noted above, the term Designated Router (DR) will be used to mean a
   CDS node, thus generalizing the OSPF concept of a DR.  Similarly, the
   term Backup DR (BDR) will be used to denote a redundant CDS node, in
   a way that generalizes the OSPF concept of a Backup DR.

   When we say that the pair (RtrPri, RID) is larger for node i than for
   node j, we mean that the pair for node i is lexicographically greater
   than the pair for node j, i.e., either the RtrPri is larger for node
   i than for node j, or the RtrPri is the same for both nodes and the
   RID is larger for node i than for node j.

   We note that a node can select its Router Priority based on any
   criteria, including the following:

   - node degree: higher priority for larger degree

   - neighbor stability (average lifetime of neighbors): higher
     priority for higher stability

   - bandwidth capacity of node: higher priority for higher bandwidth

   - battery life: low priority if battery life is low



Ogier                    Expires August 3, 2005                 [Page 6]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


   - willingness to be a relay

   The simulation results presented in Section 11 will compare the CDS
   algorithms when RtrPri is equal to node degree, versus using the same
   RtrPri for all nodes.

   For each CDS algorithm, we first describe the non-persistent version
   of the algorithm, in which each node runs the algorithm to decide
   whether to select itself as a DR (or a Backup DR) whenever a change
   occurs to its 2-hop neighborhood, independent of the current DR
   status of itself or its neighbors.  We then describe how to modify
   the algorithm to obtain its persistent version, in which a DR
   continues to be a DR until it becomes redundant due to the existence
   of neighboring DRs with larger values of (RtrPri, RID).

4.1 The Essential CDS Algorithm

    We first describe the Essential CDS algorithm, which computes the
    smallest CDS (called the Essential CDS) of the algorithms to be
    presented.  The CDS computed by each of the other algorithms
    presented in this document will contain the Essential CDS.  In the
    following description, node i denotes the node performing the
    calculation.

    Essential CDS Algorithm (Non-Persistent Version)

    Phase 1 (DR Selection)

    1.1. If node i has a larger value of (RtrPri, RID) than any of its
         neighbors, then node i selects itself as a DR.

    1.2. Else, let j be the neighbor of node i that has the largest
         value of (RtrPri, RID). If there exists a path (with one or
         more hops, based on node i=E2=80=99s 2-hop neighbor information)=
 from
         node j to each other neighbor of node i, using only
         intermediate nodes that are neighbors of node i and that have
         a larger value of (RtrPri, RID) than node i, then node i does
         not select itself as a DR; otherwise node i selects itself as
         a DR.

    Phase 2 (Backup DR Selection)

    2. If node i does not select itself as a DR in Phase 1, and if
       there exist two node-disjoint paths from node j to each other
       neighbor of node i, using only intermediate nodes that are
       neighbors of node i and that have a larger value of (RtrPri, RID)
       than node i, then node i does not select itself as a Backup DR;
       otherwise node i selects itself as a Backup DR.



Ogier                    Expires August 3, 2005                 [Page 7]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


    The selected DRs have two purposes: (1) to provide a minimal set of
    relays for flooding LSAs, and (2) to provide a minimal set of
    adjacencies for routing (not necessarily along min-hop paths).

    The selected Backup DRs also have two purposes: (1) to provide
    backup relays to retransmit flooded LSAs when flooding by DRs does
    not succeed, and (2) to provide additional adjacencies for routing,
    which provide redundant routes.  If Backup DRs are not desired, then
    Phase 2 can be omitted.

    The set of DRs computed by Phase 1 forms a CDS, and the union of the
    DRs and Backup DRs computed in both phases forms a redundant CDS
    with the following properties: each non-CDS node will have at least
    two neighbors in the CDS, and the graph consisting of all links
    adjacent to CDS nodes will be biconnected.  Note that there may be
    fewer Backup DRs than DRs, since the DRs themselves may already
    provide some redundancy.

    The persistent version of the above algorithm is similar to the non-
    persistent version given above, except that existing DRs are given
    higher priority than existing Backup DRs, which are given higher
    priority than other nodes. To describe the persistent version
    concisely, we introduce the variable DRLevel, which is equal to 2 if
    the node is a DR, 1 if the node is a Backup DR, and 0 otherwise.
    The persistent version of the above algorithm is obtained simply by
    replacing each occurrence of (RtrPri, RID) with (DRLevel, RtrPri,
    RID).  Thus, a node that is currently a DR is given the highest
    priority for remaining a DR.

    The persistent version of the Essential CDS algorithm is a true
    generalization of OSPF=E2=80=99s algorithm for selecting a DR and Bac=
kup DR.
    That is, in a single-hop network (where every node is a neighbor of
    every other node), both algorithms will select the same nodes as DR
    and Backup DR. This is a desirable property, since we are extending
    OSPF.

    Note that in the above CDS algorithm (and the others presented
    below), intermediate nodes are required to be neighbors of node i.
    With 2-hop neighbor information, it is possible to drop this
    requirement (and allow nodes that are two hops away to be
    intermediate nodes), to potentially obtain a smaller CDS. However,
    this would require node i to know the Router Priority of each 2-hop
    neighbor, which could be achieved by modifying Hellos to include the
    Router Priority of each neighbor.  This can also result in slower
    response to topology changes, since it may take longer to realize
    that a 2-hop neighbor is no longer a DR. Finally, simulation results
    indicate that dropping this requirement reduces the average CDS size
    only slightly.



Ogier                    Expires August 3, 2005                 [Page 8]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


    The Essential CDS algorithm can be implemented in O(d^2) time, where
    d is the number of neighbors. Step 1.2 can be implemented using a
    breadth-first-search (BFS) algorithm to compute min-hop paths from
    node j to all other neighbor of node i, modified to allow a node as
    an intermediate node only if its value of (RtrPri, RID) [or
    (DRLevel, RtrPri, RID) for the persistent version] is larger than
    that of node i.

    The BFS algorithm for Step 1.2 of the non-persistent version is as
    follows. The algorithm uses a FIFO queue so that all nodes 1 hop
    from node j are processed first, then 2 hops, etc. When the BFS
    algorithm terminates, hops(u), for each neighbor node u of node i,
    will be equal to the minimum number of hops from node j to node u,
    using only intermediate nodes that are neighbors of node i and that
    have a larger value of (RtrPri, RID) than node i.

      a. Set hops(u) =3D infinity for all neighbors u other than j.
      b. Set hops(j) =3D 0.
      c. Add node j to the queue.
      d. While the queue is nonempty:
         Remove the node at the head of the queue; call it node u.
         For each neighbor v of node u that is a neighbor of node i:
           If hops(u) + 1 < hops(v), then set hops(v) =3D hops(u) + 1,
           and set pred(v) =3D u.
           If node u has a larger value of (RtrPri, RID) than node i,
           then add node u to the tail of the queue.
      e. If hops(u) is finite for all neighbors u of node i, then
         node i does not select itself as a DR; otherwise, node i
         selects itself as a DR.

    Phase 2 of the algorithm can be implemented using a modification of
    the algorithm [Suurballe84] to find disjoint paths. However, the
    following algorithm is simpler, although it it imposes a more
    restrictive condition on the two disjoint paths (that they both have
    the same length) and therefore may result in a larger number of
    BDRs.  (Note that such an algorithm is compliant with the
    specification, since a node that would be a BDR using the Essential
    CDS algorithm will also be a BDR using this algorithm.)

      a. Let node j and d(u) be as computed in Phase 1.
      b. Set BDR_flag =3D 0.
      c. For each node u that is a neighbor of node i and is *not*
         a neighbor of j:
         If there exist two neighbors v and w of node u that are
         neighbors of node i, have a larger value of (RtrPri, RID) than
         node i, and satisfy d(v) =3D d(w) =3D d(u) - 1, then do nothing;
         otherwise, set BDR_flag =3D 1.
      d. For each node u that is a neighbor of node i and *is* a



Ogier                    Expires August 3, 2005                 [Page 9]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


         neighbor of j:
         If there exists a neighbor v of node u that is a neighbor of
         node i, and has a larger value of (RtrPri, RID) than node i,
         then do nothing; otherwise, set BDR_flag =3D 1.
      e. If BDR_flag =3D 1, node i selects itself as a BDR.

    Step d above ensures that BDRs not only provide alternate relays to
    reach 2-hop neighbors of node j, but also to reach 1-hop neighbors
    of node j, which is important since the link from node j to such a
    neighbor can break.

    The Essential CDS algorithm computes a minimal CDS (the DRs) and a
    minimal redundant (biconnected) CDS (the DRs and BDRs).  However, it
    may be desirable to use a CDS algorithm that computes a larger CDS,
    for example, to obtain a CDS that achieves a smaller stretch factor
    (defined above).  Such an algorithm will be interoperable with the
    Essential CDS algorithm as long as it computes a CDS that contains
    the Essential CDS, i.e., as long as each node that is in the
    Essential CDS selects itself as a DR. Thus, to ensure
    interoperability, each node in the Essential CDS MUST select itself
    as a DR. However, a node that is not in the Essential CDS MAY select
    itself as DR.

    The next section describes two subfamilies of distributed CDS
    algorithms, each of which computes a CDS that contains the Essential
    CDS.  As shown in simulations results presented below, some of these
    algorithms achieve a smaller stretch factor at the cost of a larger
    CDS.

4.2. Max-Priority-Neighbor (MPN) CDS Algorithm Family

    In the Essential CDS algorithm, node i selects itself as a DR if it
    cannot find a path from the neighbor j with maximum value of
    (RtrPri, RID) to each other neighbor, using only intermediate nodes
    with a larger value of (RtrPri, RID) than node i.  The MPN CDS
    algorithm family is similar, but requires that each such path be at
    most h1 hops long, where the parameter h1 is an integer greater than
    or equal to 2. By choosing h1 to be small, a larger CDS is obtained,
    but hopefully the CDS has a smaller stretch factor and can thus be
    used to provide shorter paths.

    The MPN CDS algorithm uses a second parameter h2 for computing
    Backup DRs in Phase 2. Phase 2 requires that there exist two
    disjoint paths from neighbor j to each other neighbor, with each
    path having at most h2 hops.  It is possible for h2 to be either
    larger or smaller than h1.  The MPN CDS algorithm with parameters h1
    and h2 will be denoted MPN(h1, h2).




Ogier                    Expires August 3, 2005                [Page 10]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


    MPN(h1, h2) CDS Algorithm (Non-Persistent Version)

    Phase 1 (DR Selection)

    1.1. If node i has a larger value of (RtrPri, RID) than any of
         its neighbors, then node i selects itself as a DR.

    1.2. Else, let j denote the neighbor of node i that has the largest
         value of (RtrPri, RID). If there exists a path with at most h1
         hops (based on node i=E2=80=99s 2-hop neighbor information) from=
 node j
         to each other neighbor of node i, using only intermediate nodes
         that are neighbors of node i and that have a larger value of
         (RtrPri, RID) than node i, then node i does not select itself
         as a DR; otherwise node i selects itself as a DR.

    Phase 2 (Backup DR Selection)

    2. If node i does not select itself as a DR in Phase 1, and if
       there exist two node-disjoint paths from node j to each other
       neighbor of node i, each with at most h2 hops, using only
       intermediate nodes that are neighbors of node i and that have
       a larger value of (RtrPri, RID) than node i, then node i does
       not select itself as a Backup DR; otherwise node i selects
       itself as a Backup DR.

    As with the Essential CDS algorithm, the persistent version of the
    MPN algorithm can be obtained simply by replacing each occurrence of
    (RtrPri, RID) with (DRLevel, RtrPri, RID).  It is clear that the CDS
    computed by the MPN algorithm contains the CDS computed by the
    Essential CDS algorithm, since if Phase 1 of the MPN algorithm does
    not result in node i selecting itself as a DR, then a path exists
    between node j and each other neighbor of node i, and thus Phase 1
    of the Essential CDS algorithm will not result in node i selecting
    itself as a DR.  The Essential CDS algorithm is equivalent to the
    MPN algorithm with h1 and h2 equal to infinity.

    The MPN CDS algorithm can be implemented in O(d^2) time.  The
    implementation is the same as that described for the Essential CDS
    algorithm, the only difference being that the computed distances
    d(u), for each neighbor u, must be at most h1 for Phase 1, and at
    most h2 for Phase 2, for node i not to select itself as a DR (Phase
    1) or BDR (Phase 2).

4.3. All-Neighbor-Pairs (ANP) CDS Algorithm Family

    The ANP CDS algorithm family is similar to the MPN CDS algorithm
    family, with the same parameters h1 and h2, but the requirements
    imposed on the existence of paths from the neighbor j (with maximum



Ogier                    Expires August 3, 2005                [Page 11]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


    value of (RtrPri, RID)) to all other neighbors, are now imposed on
    the existence of paths from *every* neighbor of node i to all other
    neighbors. As a result, the CDS computed by ANP(h1, h2) contains
    (and is usually larger than) the CDS computed by MPN(h1, h2).
    Although ANP computes a larger CDS than MPN, the benefit is that it
    is more likely to have a smaller stretch factor. In fact, if either
    h1 =3D 2 or h2 =3D 2, then ANP is guaranteed to achieve a stretch fac=
tor
    of 1, i.e., the CDS consisting of DRs and BDRs will provide min-hop
    paths between any pair of nodes.  Selecting h1 =3D 3 and h2 =3D 2
    results in a relatively small set of DRs (resulting in a small
    flooding overhead), while providing min-hop paths via the
    adjacencies induced by the BDRs.

    Each node running the ANP algorithm maintains a list of Dependent
    Neighbors and a list of Backup Dependent Neighbors.  The use of
    (Backup) Dependent Neighbors is described in Sections 5 and 6.  For
    the Essential CDS and MPN CDS algorithms, all neighbors of a DR are
    Dependent Neighbors, and all neighbors of a BDR are Backup Dependent
    Neighbors.

    A node running the ANP algorithm is called a DR if it has at least
    one Dependent Neighbor, and a BDR if it has at least one Backup
    Dependent Neighbor.  Since a node can have both a Dependent Neighbor
    and a Backup Dependent Neighbor, a node can be both a DR and a BDR.
    However, a neighbor that is Dependent cannot also be Backup
    Dependent.  Also, a node cannot be both an Essential DR and an
    Essential BDR (defined in Section 6).

    ANP(h1, h2) CDS Algorithm (Non-Persistent Version)

    Phase 1 (DR Selection)

    1.1. If node i has a larger value of (RtrPri, RID) than any of its
         neighbors, then node i selects itself as a DR, adds all
         neighbors to the list of Dependent Neighbors, and exits.

    1.2. Initialize the list of Dependent Neighbors to be empty.
         For each neighbor node j, if there exists a path with at
         most h1 hops (based on node i=E2=80=99s 2-hop neighbor informati=
on)
         from neighbor j to each other neighbor of node i,
         using only intermediate nodes that are neighbors of node i
         and that have a larger value of (RtrPri, RID) than node i,
         then do not add node j to the list of Dependent Neighbors;
         otherwise, add node j to the list.

    1.3. If the list of Dependent Neighbors is not empty, then node i
         selects itself as a DR. In this case, node i MAY include all
         neighbors in the list of Dependent Neighbors (not recommended



Ogier                    Expires August 3, 2005                [Page 12]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


         if h1 =3D 2).

    Phase 2 (Backup DR Selection)

    2.1. Initialize the list of Dependent Neighbors to be empty.
         For each neighbor node j that was not selected as a Dependent
         Neighbor in Phase 1, if there exist two node-disjoint
         paths from neighbor j to each other neighbor of node i, each
         with at most h2 hops, using only intermediate nodes that are
         neighbors of node i and that have a larger value of
         (RtrPri, RID) than node i, then do not add node j to the list
         of Backup Dependent Neighbors; otherwise, add node j to the
         list.

    2.2. If the list of Backup Dependent Neighbors is not empty, then
         node i selects itself as a Backup DR. In this case, node i MAY
         include all neighbors in the list of Backup Dependent Neighbors
         (not recommended if h2 =3D 2).

    As with the MPN algorithm, the persistent version of the ANP
    algorithm can be obtained simply by replacing each occurrence of
    (RtrPri, RID) with (DRLevel, RtrPri, RID).

    The ANP CDS algorithm can be implemented in O(d^3) time.  The
    implementation is the same as for the MPN algorithm, except that BFS
    must be run for each neighbor of node i, instead of a single
    neighbor.  Note that O(d^2) time is required just to cycle through
    all neighbors=E2=80=99 neighbors. Given this and the fact that proces=
sor
    speeds are much faster than when OSPF was first used in the 1980s, a
    time complexity of O(d^3) is quite reasonable, especially since the
    real bottleneck for MANETs is bandwidth, not processing. Also, note
    that the ANP algorithm is optional.

    The following important relationship exists between the set of DRs
    computed by ANP and MPN (for the same value of h1): A router is
    selected as a DR by the MPN algorithm if and only if either it has a
    larger (RtrPri, RID) than all of its neighbors, or the neighbor node
    j with the largest value of (RtrPri, RID) is selected as a Dependent
    Neighbor by the ANP algorithm.  (Such a router is called an
    Essential DR, as defined in Section 6.)  As a result, a node that
    runs the ANP algorithm can quickly determine whether it belongs to
    the smaller CDS computed by the MPN algorithm, and can choose to
    relay LSAs only if it belongs to the smaller CDS (thus reducing
    overhead).







Ogier                    Expires August 3, 2005                [Page 13]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


4.4. Multiple Interfaces

    The above descriptions of the CDS algorithms assume that each
    router has a single MANET interface. If a router has multiple MANET
    interfaces, each router sends and receives Hellos (as described in
    Section 10) on each interface. Using the 2-hop neighbor information
    obtained from Hellos received on all interfaces, node i constructs
    the set N_j of neighbors of each neighbor node j, via any interface
    that is common to both nodes i and j.  The above CDS algorithms are
    then applied using this 2-hop neighbor information based on all
    interfaces.

    If a MANET router also has one or more non-MANET interfaces, then
    the router MAY also use 2-hop neighbor information obtained from
    LSAs originating from neighboring routers attached to its non-MANET
    interfaces. For example, if two neighboring MANET routers are also
    attached to the same broadcast network, then it may not be necessary
    for both routers to forward LSAs from the MANET to the broadcast
    network, and vice versa. (Note that we are assuming the MANET and
    the broadcast network belong to the same area.)

4.5. Relation of the Proposed CDS Algorithms to Other Algorithms

    In TBRPF [RFC3684], the set of all nodes that have at least one
    "reported neighbor" (and therefore forward link-state updates
    originating from other nodes) is a CDS, which is the same as the CDS
    computed by Phase 1 of the ANP algorithm with h1 =3D 2 and RtrPri the
    same for all nodes.

    Phase 1 of the ANP algorithm with h1 =3D 2 is also equivalent to Phas=
e
    1 of the CDS algorithm of [Lin03] if RtrPri is equal to the node
    degree. However, the simulations presented in [Lin03] assume that a
    flooded packet is forwarded only if it is received from the
    equivalent of a Dependent Neighbor, as in step (b) of the forwarding
    procedure given in Section 6 of this document.

    Phase 1 of the MPN algorithm with h1 =3D 2 and RtrPri the same for al=
l
    nodes is similar to the MPR-based CDS algorithm in [Adjih02] using
    the min-ID algorithm for computing MPRs. The main difference is that
    the MPN algorithm does not compute neighbor-selected MPRs.
    (However, one can say that the MPN algorithm determines whether the
    neighbor j with maximum (RtrPri, RID) would select node i as an
    MPR.)








Ogier                    Expires August 3, 2005                [Page 14]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


5. Adjacencies and LSAs

   Adjacencies are formed only between DR/BDR routers and their
   neighbors, as in legacy OSPF. Thus, adjacencies are not allowed
   between two DR_Other (non-DR/BDR) routers. However, if the ANP CDS
   algorithm is used, a DR/BDR router need not be adjacent to all of its
   neighbors. The requirement is that a router must form an adjacency
   with each (Backup) Dependent Neighbor.  If the Essential CDS or MPN
   CDS algorithm is used, then all neighbors of each DR/BDR router are
   (Backup) Dependent. But this may not be true if the ANP algorithm is
   used (although the ANP algorithm allows this as an option).

   It is possible for router B to be a Dependent Neighbor of router A,
   even if router A is not a Dependent Neighbor of router B. Thus, an
   adjacency must be formed between two routers if either of them is a
   (backup) Dependent Neighbor of the other.  A router knows which
   neighbors have selected it as a (Backup) Dependent Neighbor, since
   this information is advertised in Hello packets as described in
   Section 10.  Once formed, an adjacency between two routers A and B
   continues as long as either router is a Dependent Neighbor of the
   other router.

   Another question is which neighbors to include in the Router LSA
   originated by a MANET router.  Each such neighbor is represented as a
   Type 1 link (point-to-point) in the Router LSA.  The minimum
   requirement is that a router must include all (Backup) Dependent
   Neighbors in its LSA.  Since DR_Other routers have no Dependent
   Neighbors, this implies that the LSA originated by such a router can
   be empty (contain no neighbors), thus reducing overhead
   significantly.  (Such a router will still have adjacencies with
   neighboring DRs and BDRs, which can be used to construct the
   shortest-path tree.)  However, a better choice may be to include all
   adjacent neighbors in the LSA, in which case the LSA originated by a
   DR_Other router will include only DR and BDR neighbors.

   In addition, a router MAY include any non-adjacent, bidirectional
   neighbors in its LSA. For example, in the full topology case, every
   router includes all of its bidirectional neighbors in its LSA.

   The above choices, along with the choices for the CDS algorithm,
   allows much flexibility. Interoperability is ensured even if
   different routers make different choices, as long as the minimum
   requirements are satisfied. Some examples of possible choices are as
   follows:

   1. Select DRs and BDRs using MPN with h1 =3D h2 =3D 3. Each DR/BDR
      router forms adjacencies with all neighbors. Each router
      includes all neighbors in its LSA (full topology).



Ogier                    Expires August 3, 2005                [Page 15]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


   2. Select DRs and BDRs using ANP with h1 =3D h2 =3D 3.
      Each DR/BDR router forms adjacencies with all neighbors.
      Each router includes only adjacent neighbors in its LSA.
      The resulting routes will be very close to min-hop as shown
      by the simulation results presented in Section 11.

   3. Select DRs and BDRs using ANP with h1 =3D 3 and h2 =3D 2. Each
      DR/BDR router forms adjacencies only with Dependent Neighbors.
      Each router includes only adjacent neighbors in its LSA.
      This provides min-hop routing because h2 =3D 2.

   4. Same as 3, but use h1 =3D 2 and h2 =3D 2. This will not only
      provide min-hop routing (because h1 =3D 2), but will also
      result in flooding along min-hop paths, if the optional step (b)
      of the flooding procedure below is used.


6. Flooding Procedure

   This section describes the flooding procedure.  Much of the procedure
   is the same as described in Section 13 of RFC 2328, so we focus on
   the differences.

   The processing of received LSAs is the same as in Section 13 of RFC
   2328, Steps (1) through (8), except that a router MUST process an LSA
   received from any 2-way neighbor (not just from adjacent neighbors in
   Exchange state or higher), in order to take advantage of multicast
   transmissions to reduce the number of retransmissions.

   On MANET interfaces, LSU packets that do not contain retransmitted
   LSAs are always multicast to AllSPFRouters.

   The procedure for forwarding LSAs is as in Section 13.3 of RFC 2328,
   with the following modifications.  Replace Step 1c with the
   following: If the new LSA, or an ACK for the new LSA, was received
   from this neighbor, examine the next neighbor.  Remove Steps 3 and 4,
   and replace Step 5 with the Forwarding Procedure below, which
   requires the following definition:

   A DR is called an Essential DR if it has a larger value of (RtrPri,
   RID) than all of its neighbors, or if the neighbor with maximum
   (RtrPri, RID) is a Dependent Neighbor.  A BDR is called an Essential
   BDR if the neighbor with maximum (RtrPri, RID) is a Backup Dependent
   Neighbor.  If the persistent version of a CDS algorithm is used, then
   (DRLevel, RtrPri, RID) is used instead of (RtrPri, RID).  If the
   Essential CDS or MPN CDS algorithm is used, then all neighbors of a
   (Backup) DR are (Backup) Dependent, so a (Backup) DR is always
   Essential in this case.



Ogier                    Expires August 3, 2005                [Page 16]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


   Forwarding Procedure

   (a) If the router is an Essential DR, then the new LSA MUST be
       flooded out the minimum ID interface corresponding to each
       adjacent router from which the new LSA has not been received,
       and that is not a neighbor (based on 2-hop neighbor information)
       of the router from which the new LSA was received.

   (b) Else, if the router is a DR and the neighbor from which the new
       LSA was received is a Dependent Neighbor, then the new LSA MAY
       be flooded out the minimum ID interface corresponding to each
       adjacent router from which the new LSA has not been received,
       and that is not a neighbor (based on 2-hop neighbor information)
       of the router from which the new LSA was received.

   (c) If the router is an Essential BDR, then the router waits
       BackupWaitInterval seconds after receiving the new LSA.
       After this interval, the new LSA MUST be flooded out the
       minimum ID interface corresponding to each adjacent router
       from which the new LSA has not been received, and that is
       not a neighbor (based on 2-hop neighbor information) of
       any router from which the new LSA was received.

   (d) Else, if the router is a BDR and the neighbor from which the
       new LSA was received is a Backup Dependent Neighbor, then the
       router waits BackupWaitInterval seconds after receiving the new
       LSA. After this Interval, the new LSA MAY be flooded out the
       minimum ID interface corresponding to each adjacent router
       from which the new LSA has not been received, and that is
       not a neighbor (based on 2-hop neighbor information) of
       any router from which the new LSA was received.

   Note that duplicate LSAs are not forwarded; a new LSA is considered
   for forwarding only the first time it is received.  Step (a) of the
   Flooding Rule ensures that the LSA is forwarded by all nodes in the
   Essential CDS, regardless of which optional CDS algorithm is used,
   and regardless of the order in which nodes transmit a given LSA.  The
   optional step (b) can be used to reduce the flooding delay, at the
   cost of some additional overhead. If the ANP algorithm is used with
   h1 =3D 2, then Step (b) ensures that LSAs are flooded along min-hop
   paths.

   One of the duties of a BDR is to forward a new LSA when one its
   neighboring DRs fails to transmit the LSA.  Step (c) requires an
   Essential BDR to forward the new LSA after a small delay
   (BackupWaitInterval) if the neighbors that are known to have
   transmitted the new LSA do not cover all adjacent neighbors.
   BackupWaitInterval must be less than RxmtInterval, to avoid



Ogier                    Expires August 3, 2005                [Page 17]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


   unnecessary retransmissions.  The optional step (d) is similar to the
   optional step (b), but for a BDR instead of a DR.

   A Backup DR is analogous to a "non-active overlapping relay" in
   Cisco=E2=80=99s proposed solution [Chandra04], and the parameter
   BackupWaitInterval is equivalent to PushbackInterval in their draft.


7. Retransmitting LSAs

   LSAs are retransmitted according to Section 13.6 of RFC 2328.  As in
   legacy OSPF, LSAs are retransmitted only to adjacent routers.  Thus,
   since the proposed solution does not allow an adjacency to be formed
   between two DR_Other routers, a DR_Other router never retransmits an
   LSA to another DR_Other router (only to a DR or BDR router as in
   legacy OSPF). As in OSPF, retransmitted LSAs are unicast, but see
   Section 9.2 for a proposed modification that allows retransmitted
   LSAs to be multicast.

   One advantage of allowing only DR and BDR routers to retransmit LSAs
   to DR_Other routers is that DR and BDR routers can group together
   several retransmitted LSAs into the same LSU packet, thus reducing
   overhead. In particular, if a DR_Other router originates an LSA, it
   only needs to retransmit its LSA to DR and BDR neighbors.


8. Link State Acknowledgments

   As proposed in [Chandra04], all Link State Acknowledgments (LS ACKs)
   are multicast, a duplicate received LSA is not acknowledged unless it
   is a unicast retransmission, and each router maintains a database of
   all recently received LS ACKs.  As in legacy OSPF, a forwarded LSA is
   treated as an implicit ACK, and multiple delayed ACKs may be bundled
   into a single packet.

   As in legacy OSPF, LS ACKs are processed only by adjacent neighbors.
   Therefore, since we do not allow two DR_Other routers to be adjacent,
   an ACK sent by a DR_Other router will be processed only by DR and BDR
   routers (as in legacy OSPF).  Thus, ACKs and retransmitted LSAs are
   sent only between adjacent routers. Retransmitted LSAs are sent only
   to adjacent routers from which an explicit or implicit ACK has not
   been received.


9. Proposed Enhancements

   We propose three enhancements which can be used to reduce overhead:
   more efficient database exchange, multicasting retransmitted LSAs,



Ogier                    Expires August 3, 2005                [Page 18]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


   and non-ackable LSAs.

9.1. More Efficient Database Exchange

    When a router becomes a DR or BDR, it must form adjacencies with
    some or all of its neighbors, which can consume a lot of bandwidth
    in dense networks, since a complete set of Database Description (DD)
    packets is unicast to and from each neighbor in legacy OSPF.  Two
    modifications can be used to significantly reduce the overhead of
    this exchange. First, it is not necessary for the slave to send a
    complete set of DD packets; it is sufficient for the slave to
    include in its DD packet(s) only LSA headers that are more recent or
    are not included in the DD packets sent by the master.  To
    accomplish this, the slave does not include any LSA headers in its
    DD packets until the master has sent its last DD packet (indicated
    by the "more" bit being 0), so that it knows which LSA headers to
    include in its DD packets to the master.

    The second modification is for a new DR/BDR that has decided to form
    adjacencies with all of its neighbors (which is the case if the
    Essential CDS or MPN CDS algorithm is used).  Just as a router
    transmits LSAs as multicasts, and then retransmits them as unicasts
    when necessary, a new DR or BDR can first send a complete set of DD
    packets as multicasts, and then retransmit them as unicasts when
    necessary. To make this work, the new DR or BDR should be the
    master, and all of its neighbors should be slaves.  When such a
    slave sees a multicast DD packet from a 2-Way neighbor that is not
    yet fully adjacent, it replies by unicasting a (possibly empty) DD
    packet having the same DD sequence number.  In the ideal case (where
    all nodes are already synchronized and no retransmissions are
    needed) the master will multicast a complete set of DD packets, and
    its neighbors (that are not yet fully adjacent) will respond by
    sending only empty DD packets, thus saving a lot of overhead.  If
    the master multicasts a DD packet but does not receive an
    acknowledgment (i.e., a possibly empty DD packet with the same
    sequence number) from some neighbor that is not yet fully adjacent,
    then the master retransmits the DD packet as a unicast.

    Alternatively, retransmitted DD packets can be multicast instead of
    unicast, using the same idea as described below for multicasting
    retransmitted LSAs. A new TLV would be defined to list the neighbors
    that must acknowledge the DD packet.

9.2. Multicasting Retransmitted LSAs

    If a router must retransmit a given LSA to several neighbors, it
    would be more efficient to retransmit the LSA as a multicast.
    However, since each router acknowledges a multicast LSA only the



Ogier                    Expires August 3, 2005                [Page 19]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


    first time it is received, a modification is needed to ensure that
    the intended recipients acknowledge the retransmitted LSA.  This can
    be accomplished by defining a new TLV that provides a list of the
    neighbors that must acknowledge the LSA.  If the LSA must be
    retransmitted again, the neighbors from which an ACK has been
    received are removed from the list. This idea was proposed several
    years ago by the MANET working group.

9.3. Non-Ackable LSAs

    In a highly mobile network, it is possible that a router almost
    always originates a new LSA every MinLSInterval seconds. In this
    case, it should not be necessary to send ACKs for such an LSA, or to
    retransmit such an LSA as a unicast. In this case, the originator of
    an LSA MAY indicate that the LSA is "non-ackable" via a new option
    bit. For example, the originator can use an exponential moving
    average to determine that a new LSA is originated every
    MinLSInterval seconds with probability greater than 90 percent.
    (Simulations are needed to determine the best threshold.)

    A non-ackable LSA is never ACKed, nor is it ever retransmitted as a
    unicast. However, the originating router and each Essential DR (as
    defined in Section 6) must periodically retransmit a non-ackable LSA
    as a multicast. The retransmission period should be slightly larger
    than MinLSInterval (e.g., MinLSInterval + 1) so that a new instance
    of the LSA is usually received before the previous one is
    retransmitted.  Note that the reception of a retransmitted
    (duplicate) LSA does not result in immediate forwarding of the LSA;
    only a new LSA (with a larger sequence number) may be forwarded
    immediately, according to the forwarding procedure of Section 6.  In
    addition, non-ackable LSAs need not be described in DD packets.


10. Differential Hello Protocol

   Hellos are used both for neighbor discovery and for obtaining 2-hop
   neighbor information. Although it is possible to obtain 2-hop
   neighbor information from LSAs originated by neighbors, we choose to
   use Hellos for this purpose, for the following reasons:

   - The content of LSAs, and the the flooding of LSAs, depend on which
     neighbors are adjacent, and 2-hop neighbor information is needed
     before a router can decide which neighbors should be adjacent.

   - 2-hop information can be different from that obtainable from LSAs.
     For example, LSAs may report only partial topology, whereas a node
     may report all of its (2-way) neighbors to provide full 2-hop
     neighbor information.



Ogier                    Expires August 3, 2005                [Page 20]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


   - By making the flooding protocol independent of LSAs, it can be
     used in MANET applications other than OSPF.

   One of the advantages of the proposed method (versus using neighbor-
   selected MPRs) is that full 2-hop neighbor information is not
   required. In fact, it is only necessary for each router to keep all
   neighbors informed of its (Backup) Dependent Neighbors.  This can
   reduce overhead dramatically in a highly mobile, dense network.

   The Hello protocol described below is flexible in that a router can
   send full Hellos that provide full 2-hop neighbor information, or can
   send differential Hellos and provide only *partial* 2-hop neighbor
   information by periodically including a list of its Dependent
   Neighbors in a Hello (to reduce overhead).  It can also send
   differential Hellos and provide *full* 2-hop neighbor information by
   periodically sending a full Hello.  This latter approach reduces
   overhead by sending full Hellos less frequently (e.g., every 10
   seconds), while sending differential Hellos more frequently (e.g.,
   every 2 seconds) to allow faster response to topology changes.

10.1. Full Hellos

    We first describe the contents of a full Hello packet, which depends
    on the state of each neighbor (Down, Init, 2-Way, etc. as in legacy
    OSPF), and on whether each neighbor is Dependent. (A neighbor in
    state 2-Way or higher may or may not be Dependent.)  A full Hello
    contains three lists of Router IDs, which are formatted as TLVs:

    - Heard Neighbor List (HNL): Includes all neighbors in state
      Init or higher that are not included in the Dependent Neighbor
      List or the Non-Dependent Neighbor List.

    - Dependent Neighbor List (DNL): Includes all Dependent and
      Backup Dependent neighbors. (Such neighbors are in state 2-Way
      or higher.)

    - Non-Dependent Neighbor List (NDNL): Includes all neighbors
      in state 2-Way or higher that are not (Backup) Dependent.

    Note that a full Hello includes the Router ID of each neighbor that
    is in state Init or higher, as does a Hello in legacy OSPF.  A
    router that chooses not to send differential Hellos must send a full
    Hello every HelloInterval seconds.

10.2. Differential Hellos

    A differential Hello includes neighbors whose status has recently
    changed, and also includes a full Dependent Neighbor List



Ogier                    Expires August 3, 2005                [Page 21]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


    periodically, at least once every 2HopRefresh seconds (typically
    equal to a few Hello intervals).  If the router chooses to report
    full 2-hop neighbor information, indicated by the parameter
    Full2HopNbrInfo being equal to 1, then a full Non-Dependent Neighbor
    List must also be included in a Hello every 2HopRefresh seconds.
    (Alternatively, a full Hello may be sent every 2HopRefresh seconds.)

    In a differential Hello, the HNL, DNL, and NDNL lists can be partial
    or full, indicated by an option bit.  In addition to these lists, a
    differential Hello may also include the following list:

    - Lost Neighbor List (LNL): Includes neighbors that recently
      transitioned to the Down state.

    Whenever the status of a neighbor changes (as defined below), the
    neighbor is included in the appropriate list of the next
    RouterDeadCount (typically 3) Hellos, or until the status changes
    again. Each Hello contains a Hello Sequence Number (HSN), which is
    incremented with each Hello sent on a given interface.  This allows
    a router to determine whether it has missed RouterDeadCount
    consecutive Hellos sent by a neighbor, and thus may have missed a
    status change reported by the neighbor, as described in the section
    on receiving Hellos.

    The status changes that are reported in Hellos, and the
    corresponding list in which the neighbor is included, are as
    follows:

    - The neighbor state changes to Down: Lost Neighbor List.

    - The neighbor state changes to Init: Heard Neighbor List

    - The neighbor becomes Dependent: Dependent Neighbor List

    - The neighbor state changes to 2-Way (or higher) and the neighbor
      is not (Backup) Dependent: Heard Neighbor List if Full2HopNbrInfo
      is 0; otherwise Non-Dependent Neighbor List.

    - The neighbor changes from (Backup) Dependent to non-dependent, but
      is still 2-Way (or higher): Heard Neighbor List if Full2HopNbrInfo
      is 0; otherwise Non-Dependent Neighbor List.

    Note that a neighbor that is included in a differential Hello
    appears in the same list as it would in a full Hello, except that if
    Full2HopNbrInfo is 0, then a non-dependent neighbor appears in the
    Heard list instead of the Non-Dependent list. (The latter list is
    never included in a Hello if Full2HopNbrInfo is 0.)




Ogier                    Expires August 3, 2005                [Page 22]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


    Note that if the state of a neighbor changes from Down to Init (and
    the neighbor is therefore included in the next 3 Hellos), and the
    state of the neighbor later changes to 2-Way, then the neighbor must
    again be included in 3 consecutive Hellos (assuming RouterDeadCount
    is 3).  This is to ensure that the neighbor will either see itself
    in one of the Hellos, or will declare the sending router Down after
    missing 3 Hellos.

    There is one exception to the above rule.  If the state of a
    neighbor changes from Down to Init (and the neighbor is therefore
    included in the next 3 Hellos), and the state changes to 2-Way
    before the fourth Hello is sent, then the neighbor need not be
    included in additional Hellos (since the neighbor must have received
    one of the 3 Hellos that included the neighbor, or will declare the
    sending router Down).

10.3. Receiving Hellos

    A received Hello is processed first to update the state of the
    sending neighbor, and then to update the 2-hop neighbor information.
    The neighbor state can be affected by the following events related
    to received Hellos:

    SufficientHellosReceived
      A Hello has been received from the neighbor. To ensure good link
      quality, and to employ hysteresis, a stricter condition may be
      imposed, such as requiring that two consecutive Hellos have been
      received.

    2-WayReceived
       Router sees itself in any list of the neighbor=E2=80=99s Hello
       packet except for the Lost Neighbors list.

    1-WayReceived
       Router sees itself in the Lost Neighbors list of the neighbor=E2=80=
=99s
       Hello packet, or does not see itself in any list of a full
       Hello packet.

    InsufficientHellosReceived
       A Hello has been received whose sequence number indicates that
       the last RouterDeadCount Hellos were missed. To ensure good
       link quality, other criteria may be used, such as missing k of
       the last n Hellos (for some k and n). However, this event MUST
       occur whenever the last RouterDeadCount Hellos were missed.

    InactivityTimer
       No Hello has been received from the neighbor for
       RouterDeadInterval, which must be at least RouterDeadCount



Ogier                    Expires August 3, 2005                [Page 23]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


       times HelloInterval.

    These events cause the following neighbor state changes, which in
    turn may affect the contents of future Hello packets as described
    above.

      Event                        Old State(s)    New State
      ------------------------     ------------    ---------
      SufficientHellosReceived     Down             Init

      2-WayReceived                Init             2-Way

      1-WayReceived                2-Way or higher  Init

      InsufficientHellosReceived   Init or higher   Down

      InactivityTimer              Init or higher   Down


10.4. Processing a Hello for 2-hop Neighbor Information

    Each router maintains, for each neighbor j in state Init or higher,
    a list DN_j of (Backup) Dependent neighbors reported by node j, and
    a list NDN_j of non-dependent neighbors reported by node j. (The
    latter list will be empty if node j is not reporting full 2-hop
    neighbor information.)  The union of these two lists is N_j, the
    list of all neighbors reported by node j.  The list N_j for all
    neighbors j that are in state 2-Way or higher constitutes the 2-hop
    neighbor information, which is used by the CDS algorithm.

    If partial 2-hop neighbor information is used, it is possible that
    two neighbors j and k are such that j is in N_k but k is not in N_j.
    Therefore, when computing paths between neighbors in the CDS
    algorithms, a bidirectional link is assumed to exist between two
    neighbors j and k if *either* j is in N_k or k is in N_j.

    If a Hello that contains a full DNL (respectively, NDNL) is received
    from neighbor j, then the router simply stores the list in its
    database as DN_j (respectively, NDN_j), replacing the old database
    copy.

    If a Hello that contains a partial DNL (respectively, NDNL) is
    received from neighbor j, then the router adds the Router IDs in the
    received list to DN_j (respectively, NDN_j).

    A router is deleted from DN_j (respectively, NDN_j) if it appears in
    any list other than the DNL (respectively, NDNL) in a Hello received
    from neighbor j.  This provides fast reporting of deleted 2-hop



Ogier                    Expires August 3, 2005                [Page 24]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


    neighbor information in differential Hellos.  (Note that a given
    router can appear in at most one list in a Hello.)

10.5. Comparison to Other Differential Hello Protocols

    The proposed Hello protocol differs in several ways from three
    existing Hello protocols that also use differential Hellos: TBRPF
    [RFC3684], OLSR [RFC3626], and Cisco=E2=80=99s proposed OSPF extensio=
n
    [Chandra04].

    First, TBRPF and Cisco=E2=80=99s protocol do not use Hellos to advert=
ise
    2-hop neighbor information, although OLSR does.  However, OLSR
    advertises full 2-hop neighbor information and is not easily
    modified to advertise only partial 2-hop neighbor information, since
    all neighbors must be included in a Hello periodically. (Note that
    the proposed Hello protocol works even if the router has no
    Dependent Neighbors and therefore reports no 2-hop neighbor
    information.)  In fact, OLSR requires full 2-hop neighbor
    information for the selection of MPRs, whereas the proposed protocol
    requires only partial 2-hop neighbor information for the selection
    of (Backup) DRs and (Backup) Dependent Neighbors.

    Also, Cisco=E2=80=99s protocol requires that a node unicast a Hello r=
equest
    message to a neighbor from which a Hello was missed.  In highly
    mobile, dense networks, Hello requests can occur frequently, thus
    generating a large amount of overhead.  The proposed Hello protocol
    avoids the use of a Hello request by reporting each neighbor state
    change a few (RouterDeadCount) times.


11. Simulation Comparison of CDS Algorithms

   This section compares five algorithms from the family of CDS
   algorithms presented in Section 4: Essential CDS, MPN (h1 =3D 3), ANP
   (h1 =3D 3), MPN (h1 =3D 2), ANP (h1 =3D 3). Only DRs (not Backup DRs) =
are
   computed, and only the non-persistent version of each algorithm is
   considered. Each algorithm is compared with RtrPri the same for all
   nodes, and with RtrPri equal to the node degree.  The algorithms are
   compared with respect to average CDS size (number of DRs) and average
   stretch factor (defined in the Introduction).

   For each experiment, each algorithm was run on 100 randomly generated
   graphs, with the CDS size and stretch factor averaged over these
   graphs.  The number of nodes ranges from 50 to 300, with the nodes
   randomly placed in a unit square. Two values were used for the
   transmission radius: 0.3 and 0.5. The average diameter of the graph
   is about 5 for radius 0.3, and about 3 for radius 0.5. For 100 nodes,
   the average degree was 21.38 for radius 0.3 and 48.04 for radius 0.5.



Ogier                    Expires August 3, 2005                [Page 25]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


   Table 1 gives the average CDS sizes and Table 2 gives the average
   stretch factor, for a radius of 0.3. Tables 3 and 4 give the results
   for a radius of 0.5.

   As expected, the most scalable of the CDS algorithms is the Essential
   CDS algorithm, whose CDS size increased only slightly, from 20.36 to
   23.26, when the number of nodes was increased from 100 to 300, for
   radius 0.3.  In contrast, ANP with h1 =3D 2 and RtrPri equal to the
   node degree, resulted in a CDS size that increased from 49.58 to
   167.94 when the number of nodes was increased from 100 to 300.  For
   300 nodes, this algorithm selected about 56% of the nodes, while the
   Essential CDS algorithm selected about 8% of the nodes.  However,
   note that the forwarding procedure of Section 6 results in only a
   subset of the CDS nodes forwarding a given LSA, if the ANP algorithm
   is used.

   Surprisingly, the Essential CDS algorithm, and all CDS algorithms
   with h1 =3D 3, gave a smaller CDS *without* using node degree, when th=
e
   number of nodes was greater than 100.  Thus, the most scalable
   algorithms do not use node degree.  Another advantage of not using
   node degree is that it results in a more stable CDS in a mobile
   network (since the node degree changes as the topology changes).

   As expected, the average stretch factor is smaller for ANP than for
   MPN (for the same value of h1), and is smaller with h1 =3D 2 than with
   h1 =3D 3.  It is interesting that using node degree always results in =
a
   smaller stretch factor.  Of course, the stretch factor for ANP with
   h1 =3D 2 is always 1, since this algorithm provides flooding along min=
-
   hop paths.

   The choice of which algorithm to use depends on what stretch factor
   is considered acceptable.  For example, if one wishes to obtain the
   smallest CDS that has a stretch factor less than 1.05 in a 200 node
   network, then the best choice would be ANP with h1 =3D 3 and RtrPri
   equal to node degree.  Note that all of these algorithms are
   interoperable since the CDS computed by each algorithm contains the
   Essential CDS. Therefore, different routers MAY use different
   algorithms from the proposed family of CDS algorithms.













Ogier                    Expires August 3, 2005                [Page 26]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


                                      Number of Nodes
           --------------------------------------------------
           Algorithm   RtrPri    50     100     200     300
           --------------------------------------------------
           Essential     1      17.50   20.36   22.14   23.26
           Essential   degree   13.79   18.66   27.42   33.14
           --------------------------------------------------
           MPN (h1=3D3)    1      18.03   21.32   23.35   24.50
           MPN (h1=3D3)  degree   13.84   18.74   27.49   34.21
           --------------------------------------------------
           ANP (h1=3D3)    1      18.53   23.70   26.70   28.26
           ANP (h1=3D3)  degree   14.52   20.26   28.79   35.50
           --------------------------------------------------
           MPN (h1=3D2)    1      22.96   35.01   48.31   57.96
           MPN (h1=3D2)  degree   15.25   24.03   37.55   48.67
           ---------------------------------------------------
           ANP (h1=3D2)    1      30.41   62.69  128.73  194.71
           ANP (h1=3D2)  degree   23.67   49.58  108.15  167.94
        ---------------------------------------------------

                Table 1.  Average CDS size for radius 0.3


                                      Number of Nodes
           --------------------------------------------------
           Algorithm   RtrPri    50     100     200     300
           --------------------------------------------------
           Essential     1      1.108   1.167   1.188   1.191
           Essential   degree   1.046   1.071   1.070   1.072
           --------------------------------------------------
           MPN (h1=3D3)    1      1.087   1.137   1.158   1.165
           MPN (h1=3D3)  degree   1.044   1.067   1.068   1.071
           --------------------------------------------------
           ANP (h1=3D3)    1      1.062   1.098   1.119   1.126
           ANP (h1=3D3)  degree   1.034   1.032   1.036   1.060
           --------------------------------------------------
           MPN (h1=3D2)    1      1.034   1.044   1.053   1.054
           MPN (h1=3D2)  degree   1.027   1.032   1.036   1.037
           ---------------------------------------------------
           ANP (h1=3D2)    1      1.000   1.000   1.000   1.000
           ANP (h1=3D2)  degree   1.000   1.000   1.000   1.000
           ---------------------------------------------------

             Table 2.  Average stretch factor for radius 0.3







Ogier                    Expires August 3, 2005                [Page 27]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


                                      Number of Nodes
           --------------------------------------------------
           Algorithm   RtrPri    50     100     200     300
           --------------------------------------------------
           Essential     1       7.02    7.59    8.21    8.46
           Essential   degree    5.14    8.03   13.47   18.54
           --------------------------------------------------
           MPN (h1=3D3)    1       7.19    7.76    8.41    8.69
           MPN (h1=3D3)  degree    5.14    8.03   13.47   18.54
           --------------------------------------------------
           ANP (h1=3D3)    1       7.55    8.44    9.36    9.60
           ANP (h1=3D3)  degree    5.16    8.03   13.47   18.54
           --------------------------------------------------
           MPN (h1=3D2)    1      10.37   12.53   15.32   16.21
           MPN (h1=3D2)  degree    5.14    8.03   13.47   18.54
           ---------------------------------------------------
           ANP (h1=3D2)    1      19.32   36.03   64.37   91.56
           ANP (h1=3D2)  degree   11.77   22.80   43.81   64.95
           ---------------------------------------------------

                Table 3.  Average CDS size for radius 0.5


                                      Number of Nodes
           --------------------------------------------------
           Algorithm   RtrPri    50     100     200     300
           --------------------------------------------------
           Essential     1      1.088   1.091   1.093   1.091
           Essential   degree   1.017   1.016   1.013   1.012
           --------------------------------------------------
           MPN (h1=3D3)    1      1.079   1.083   1.083   1.081
           MPN (h1=3D3)  degree   1.017   1.016   1.013   1.012
           --------------------------------------------------
           ANP (h1=3D3)    1      1.061   1.065   1.063   1.063
           ANP (h1=3D3)  degree   1.016   1.016   1.013   1.012
           --------------------------------------------------
           MPN (h1=3D2)    1      1.033   1.034   1.035   1.036
           MPN (h1=3D2)  degree   1.017   1.016   1.013   1.012
           ---------------------------------------------------
           ANP (h1=3D2)    1      1.000   1.000   1.000   1.000
           ANP (h1=3D2)  degree   1.000   1.000   1.000   1.000
           ---------------------------------------------------

             Table 4.  Average stretch factor for radius 0.5







Ogier                    Expires August 3, 2005                [Page 28]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


12. Major Changes

   Changes from version 02 to version 03:

   - A flexible Hello protocol is presented that allows routers to
     send either full or differential Hellos, in which either full or
     partial 2-hop neighbor information is advertised periodically.
     Partial information consists of (Backup) Dependent Neighbors.

   - The ANP CDS algorithm has been modified to allow the possibility
     that a router can be a DR of one neighbor and a Backup DR of
     another neighbor. To allow this, the algorithm now distinguishes
     between Dependent Neighbors and Backup Dependent Neighbors.

   - The flooding procedure (Section 6) has also been modified to
     distinguish between Dependent and Backup Dependent Neighbors.

   - The ANP CDS algorithm has been modified to allow a (Backup) DR
     to declare all of its neighbors to be (Backup) Dependent,
     thus making all neighbors adjacent (which is always the case
     in the other CDS algorithms).

   - The rule for forming adjacencies has been modified so that an
     adjacency is formed between two routers if and only if one of
     the routers is a (Backup) Dependent Neighbor of the other one.
     Since Hellos advertise (Backup) Dependent Neighbors, each router
     knows which neighbors it should become adjacent with.


References

   [Adjih02] C. Adjih, P. Jacquet, and L. Viennot. "Computing connected
        dominated sets with multipoint relays", INRIA research report
        No. 4597, October 2002.

   [Chandra04] M.W. Chandra, Editor. "Extensions to OSPF to Support
        Mobile Ad Hoc Networking", Internet-Draft (work in progress),
        draft-chandra-ospf-manet-ext-02.txt, October 2004.

   [Lin03] T. Lin, S.F. Midkiff, and J.S. Park. "A Framework for
        Wireless Ad Hoc Routing Protocols", IEEE WCNC, March 2003.

   [RFC2328] J. Moy. "OSPF Version 2", RFC 2328, April 1998.

   [RFC2740] R. Coltun, D. Ferguson, and J. Moy. "OSPF for IPv6", RFC
        2740, December 1999.

   [RFC3626] T. Clausen, P. Jacquet (ed). "Optimized Link State Routing



Ogier                    Expires August 3, 2005                [Page 29]
=0C
Internet-Draft           MANET Extension of OSPF           February 2005


        Protocol (OLSR)", RFC 3626, October 2003.

   [RFC3684] R. Ogier, F. Templin, and M. Lewis. "Topology Dissemination
        Based on Reverse Path Forwarding", RFC 3684, February 2004.

   [Suurballe84] J.W. Suurballe and R.E. Tarjan. "A Quick Method for
        Finding Shortest Pairs of Disjoint Paths", Networks, Vol. 14,
        pp. 325-336.


Author=E2=80=99s Address

   Richard G. Ogier
   EMail: rich.ogier@earthlink.net


Disclaimer of Validity

   This document and the information contained herein are provided on an
   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
   ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
   INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
   INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.


Copyright Statement

   Copyright (C) The Internet Society (2005). This document is subject
   to the rights, licenses and restrictions contained in BCP 78, and
   except as set forth therein, the authors retain all their rights.



















Ogier                    Expires August 3, 2005                [Page 30]

--------------040504060002020609090604
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design

--------------040504060002020609090604--




From ospf-wireless-design-bounces@ietf.org  Thu Feb  3 18:10:10 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA04305;
	Thu, 3 Feb 2005 18:10:10 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CwqPh-0003Py-Uz; Thu, 03 Feb 2005 18:29:30 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CwpvW-0002C8-6v; Thu, 03 Feb 2005 17:58:18 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Cwppt-0007dG-7w
	for ospf-wireless-design@megatron.ietf.org;
	Thu, 03 Feb 2005 17:52:29 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA02365
	for <ospf-wireless-design@ietf.org>;
	Thu, 3 Feb 2005 17:52:26 -0500 (EST)
Received: from rtp-iport-2.cisco.com ([64.102.122.149])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1Cwq8X-0002vL-Q1
	for ospf-wireless-design@ietf.org; Thu, 03 Feb 2005 18:11:46 -0500
Received: from rtp-core-1.cisco.com (64.102.124.12)
	by rtp-iport-2.cisco.com with ESMTP; 03 Feb 2005 17:51:58 -0500
X-BrightmailFiltered: true
X-Brightmail-Tracker: AAAAAA==
Received: from mchandra-u10.cisco.com (mchandra-u10.cisco.com [64.102.48.252])
	by rtp-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id
	j13MptjZ029209; Thu, 3 Feb 2005 17:51:55 -0500 (EST)
Received: (mchandra@localhost) by mchandra-u10.cisco.com (8.11.2/CISCO.WS.1.2)
	id j13MptX27827; Thu, 3 Feb 2005 17:51:55 -0500 (EST)
Date: Thu, 3 Feb 2005 17:51:55 -0500
From: "Madhavi W. Chandra" <mchandra@cisco.com>
To: ospf-wireless-design@ietf.org
Message-ID: <20050203225155.GA27795@cisco.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b280b4db656c3ca28dd62e5e0b03daa8
Subject: [Ospf-wireless-design] Simulation needed: CDS vs. Overlapping Relays
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team  <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 73734d43604d52d23b3eba644a169745

Hi All,

I've read Richard's paper on CDS algorithms, and I must say
that it is very well written and insightful! We have some
comments/thoughts that I'd like to bring to light.  I'll bring
these up, so that others can ponder on them also.  However, I
think that we (DT) need to do simulations to really understand
and compare the behavior of the CDS algorithms and Overlapping
Relays.  It wouldn't be fruitful to embark on a theoretical
debate without the simulations.

How can we work as a DT to have Richard's models and Boeing's models
on the same simulation platform...maybe Richard's models can be ported
to the GTnetS simulation engine that Tom released?  This would be very
helpful in running simulations to compare CDS and Overlapping
relays.  Of course, we would need to validate the simulation models
to ensure that they faithfully represent the algorithms before we
can confidently use them as decision tools.

I've included the comments at the end of this email.

Thanks,
Madhavi

Comments on CDS paper:

- It seems that the response time (convergence time) of CDS algorithms
is not faster than Overlapping Relays.  Rather, it seems that
Overlapping Relays are no worse...and in fact, they may be better since
a Hello can be sent immediately after the Overlapping Relay set changes.
Even removing the optimization of sending a Hello early for Overlapping
Relays, both algorithms react only after Hello time. For example,

   - Overlapping Relays: Overlapping Relay set is learned in Hello.
                         Overlapping Relays perform immediately.

   - CDS:   Neighbor changes learned in Hello.
            CDS Computation
            CDS nodes bring up adjacencies
            CDS set performs

So, both rely on Hello time, and it seems that the latency after Hello
time is less for Overlapping Relays since there is no computation and
potentially establishing multiple additional adjacencies.

- A Hello packet can be sent early in both algorithms to reduce the
response time.  In the case of Overlapping relays, the early Hello
will indicate a changed relay set.  In the case of CDS algorithms,
a Hello can also be sent earlier so that neighbor changes and necessary
parameters can be learned earlier.  But, they are both different
performance/overhead hits.  Meaning, in CDS algorithms, it would
require ALL nodes to send a Hello immediately after ANY neighbor
changes...which is much more overhead than sending a Hello early if
the Overlapping relay set changes.

- It seems that tieing the control plane and data plane together will
have an impact on the latency imposed on the data forwarding.  Meaning,
when the CDS set changes, the new DR's need to bring up multiple
adjacencies before being able to reliably forward data traffic.  This
will impact packet delivery ratios. We're also wondering about the
implications on burdening the same set of nodes with control and
data traffic, e.g., power.  It may be desirable to use a larger
set of links (maybe all) for data plane, while keeping the smaller
set of CDS links for the control plane.

- While the persistent mode will mitigate the effect of toggling
CDS sets, it seems that it will still lead to the 'hokey-pokey'
effect (term coined by Acee).  That is, a node can keep
putting itself in the set and removing itself from the set (based
on connectivity, overlap, and redundancy).  Each time, the adjacencies
need to be either torn down...or brought back up, which is a nontrivial
effort and overhead in terms of database exchange.  Even if database
exchange is optimized, it is still wasted and unnecessary effort.

- The hokey-pokey effect will not arise in Overlapping Relays since the
selector node will not change the relay set, and allow an Overlapping
Relay to stay an Overlapping relay as long as coverage is not
compromised.

- We need to look at Packet Delivery Ratio and Network Throughput
(measure combined data and control traffic), and also look at the
tradeoff between complexity and convergence time.

_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design


From ospf-wireless-design-bounces@ietf.org  Thu Feb  3 23:52:05 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA03211;
	Thu, 3 Feb 2005 23:52:05 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1Cwvke-0004Z6-6U; Fri, 04 Feb 2005 00:11:28 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CwvJK-0001tw-7W; Thu, 03 Feb 2005 23:43:14 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Cwv9X-0007tP-6e
	for ospf-wireless-design@megatron.ietf.org;
	Thu, 03 Feb 2005 23:33:07 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA01615
	for <ospf-wireless-design@ietf.org>;
	Thu, 3 Feb 2005 23:33:04 -0500 (EST)
Received: from pop-a065c32.pas.sa.earthlink.net ([207.217.121.247])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CwvSC-0003vx-7L
	for ospf-wireless-design@ietf.org; Thu, 03 Feb 2005 23:52:26 -0500
Received: from dialup-4.243.134.1.dial1.sanfrancisco1.level3.net
	([4.243.134.1] helo=earthlink.net)
	by pop-a065c32.pas.sa.earthlink.net with esmtp (Exim 3.33 #1)
	id 1Cwv9Q-0000cQ-00; Thu, 03 Feb 2005 20:33:00 -0800
Message-ID: <4202FAF9.5090004@earthlink.net>
Date: Thu, 03 Feb 2005 20:32:57 -0800
From: Richard Ogier <rich.ogier@earthlink.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 (emach0202)
X-Accept-Language: en-us
MIME-Version: 1.0
To: "Madhavi W. Chandra" <mchandra@cisco.com>
Subject: Re: [Ospf-wireless-design] Simulation needed: CDS vs. Overlapping
	Relays
References: <20050203225155.GA27795@cisco.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 2.9 (++)
X-Scan-Signature: e1924de3f9fb68e58c31920136007eb1
Content-Transfer-Encoding: 7bit
Cc: ospf-wireless-design@ietf.org
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team  <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 2.9 (++)
X-Scan-Signature: f2728948111f2edaaf8980b5b9de55af
Content-Transfer-Encoding: 7bit

Hi Madhavi,

Thanks for your comments.  Please see my response below.

Madhavi W. Chandra wrote:

>Hi All,
>
>I've read Richard's paper on CDS algorithms, and I must say
>that it is very well written and insightful! We have some
>comments/thoughts that I'd like to bring to light.  I'll bring
>these up, so that others can ponder on them also.  However, I
>think that we (DT) need to do simulations to really understand
>and compare the behavior of the CDS algorithms and Overlapping
>Relays.  It wouldn't be fruitful to embark on a theoretical
>debate without the simulations.
>
Yes, I agree.  Theoretical debates can be misleading.
I think that Tom's group is planning to implement some
of the algorithms from my draft in the GTnetS simulation.
I can also help with this.

>
>
>How can we work as a DT to have Richard's models and Boeing's models
>on the same simulation platform...maybe Richard's models can be ported
>to the GTnetS simulation engine that Tom released?  This would be very
>helpful in running simulations to compare CDS and Overlapping
>relays.  Of course, we would need to validate the simulation models
>to ensure that they faithfully represent the algorithms before we
>can confidently use them as decision tools.
>
Right. It is easy to make a given method look bad by not
implementing it in the best way, e.g., using the wrong
parameters.  Also, it is important to compare the methods
in larger networks (e.g., 100 nodes or more), since scalability
is clearly a desirable attribute.

>
>
>I've included the comments at the end of this email.
>
>Thanks,
>Madhavi
>
>Comments on CDS paper:
>
>- It seems that the response time (convergence time) of CDS algorithms
>is not faster than Overlapping Relays.  Rather, it seems that
>Overlapping Relays are no worse...and in fact, they may be better since
>a Hello can be sent immediately after the Overlapping Relay set changes.
>
If a Hello is sent immediately after the overlapping relay set changes,
that would make the response time the same for both methods (although
it would require additional overhead for the extra Hello),
since it would avoid the additional delay of having to inform the
neighbor that it is an overlapping relay (which is avoided in a
CDS algorithm in which a node selects itself as a relay).
Or am I missing something?

There are a lot of features in my draft that reduce overhead in
highly mobile, dense networks, such as not requiring all routers
to originate full LSAs whenever one (of possibly 100) neighbors
changes state.  In fact, a new advantage added to my draft is
that nodes do not even have to advertise their full neighbor
set to their neighbors (either in Hellos or LSAs).  This is
called "partial 2-hop neighbor information".  If each node
has n = 100 neighbors, and therefore includes 100 neighbors in
either an LSA or Hello, this creates n^2 = 10,000 router IDs
of overhead. My draft avoids this.

I think it is worthwhile understanding why partial 2-hop
neighbor information is more easily done with a CDS
algorithm than with MPRs (overlapping relays).
However, I will leave this to a future discussion.

>
>Even removing the optimization of sending a Hello early for Overlapping
>Relays, both algorithms react only after Hello time. For example,
>
>   - Overlapping Relays: Overlapping Relay set is learned in Hello.
>                         Overlapping Relays perform immediately.
>
Why did you leave out the following?
    2-hop neighbor information learned in LSA originated by neighbor
    Overlapping relays computed based on new information
    Overlapping relays reported in Hello (same Hello as your first step)

The first step actually could take MinLSInterval = 5 seconds, since that
is the time between LSA originations if neighbor changes are frequent.

>
>
>   - CDS:   Neighbor changes learned in Hello.
>            CDS Computation
>            CDS nodes bring up adjacencies
>            CDS set performs
>

A CDS node (DR or Backup DR) can be used for flooding before a
full adjacency is formed, as in legacy OSPF.
Adjacencies are not an issue anyway, since either my solution
or your solution could operate with or without adjacencies.
In your case, adjacencies could be formed between each router
and its MPRs.

>
>
>So, both rely on Hello time, and it seems that the latency after Hello
>time is less for Overlapping Relays since there is no computation and
>potentially establishing multiple additional adjacencies.
>
No computation? The most efficient CDS algorithm in my draft
requires O(n^2) time, the same as the time required to compute MPRs.

>
>
>- A Hello packet can be sent early in both algorithms to reduce the
>response time.  In the case of Overlapping relays, the early Hello
>will indicate a changed relay set.  In the case of CDS algorithms,
>a Hello can also be sent earlier so that neighbor changes and necessary
>parameters can be learned earlier.  But, they are both different
>performance/overhead hits.  Meaning, in CDS algorithms, it would
>require ALL nodes to send a Hello immediately after ANY neighbor
>changes...which is much more overhead than sending a Hello early if
>the Overlapping relay set changes.
>

Again, you are ignoring how 2-hop neighbor information is learned
in your solution (via LSAs). Sending a Hello early in the case
of a CDS algorithm would be for the purpose of learning 2-hop
neighbor information faster. In your solution, this information
is learned via full LSAs, which are much bigger than differential
Hellos. I guess you are assuming LSAs are sent anyway and therefore
come for free. My draft does not assume that. But if we do assume
that full LSAs are originated (which is a lot of overhead in a
highly mobile, dense network), then we cannot ignore the possible
MinLSInterval delay in obtaining 2-hop neighbor information.

Anyway, if differential Hellos are used (as described in
my draft), then they can be sent every 1 or 2 seconds, so there
would not be much need to send an early Hello.

>
>
>- It seems that tieing the control plane and data plane together will
>have an impact on the latency imposed on the data forwarding.  Meaning,
>when the CDS set changes, the new DR's need to bring up multiple
>adjacencies before being able to reliably forward data traffic.  This
>will impact packet delivery ratios. We're also wondering about the
>implications on burdening the same set of nodes with control and
>data traffic, e.g., power.  It may be desirable to use a larger
>set of links (maybe all) for data plane, while keeping the smaller
>set of CDS links for the control plane.
>

Regarding your first point on latency, that is why adjacencies
are also established between Backup DRs and neighbors, to provide
redundant routes that are ready to be used if the topology changes.
Of course, it is also possible to use all links for
data traffic, and my draft allows this.  A larger metric could
be assigned to links that go to DRs (to avoid them).
However, flooding all possible links in LSAs may be too much
overhead, so it is good to allow the other options.

Regarding your point about burdening the same set of nodes
with an unfair share of power consumption, the RtrPri
can be reduced after a node has been a DR/BDR for
some interval of time, so that another node will take
its place, and the burden is shared.

>
>
>- While the persistent mode will mitigate the effect of toggling
>CDS sets, it seems that it will still lead to the 'hokey-pokey'
>effect (term coined by Acee).  That is, a node can keep
>putting itself in the set and removing itself from the set (based
>on connectivity, overlap, and redundancy).  Each time, the adjacencies
>need to be either torn down...or brought back up, which is a nontrivial
>effort and overhead in terms of database exchange.  Even if database
>exchange is optimized, it is still wasted and unnecessary effort.
>
>- The hokey-pokey effect will not arise in Overlapping Relays since the
>selector node will not change the relay set, and allow an Overlapping
>Relay to stay an Overlapping relay as long as coverage is not
>compromised.
>

There is an equivalence between MPRs (overlapping relays) and CDS
nodes, the main difference being whether they are neighbor-selected
or self-selected. Otherwise, the set of relays can be exactly the
same, for example, if priority is given to the largest Router ID.
Thus, the hokey-pokey effect should be the same for both methods:
in either case, a "persistent" version can allow an MPR or DR to
remain an MPR or DR for "as long as coverage is not compromised".

Regarding the formation of adjacencies, as I said above, either
solution can operate with or without adjacencies, so it is just
a matter of deciding whether or not it helps performance to form
full adjacencies. Simulations can help to answer this question.
Even without optimizing database exchange (as proposed in
Section 9 of my draft), the simulation results presented in
draft-spagnolo-manet-ospf-design-00.txt
showed that the overhead due to adjacency forming is minimal.

Most importantly, I agree with your following point. :-)

>It wouldn't be fruitful to embark on a theoretical
>debate without the simulations.
>

Regards,
Richard

>
>
>- We need to look at Packet Delivery Ratio and Network Throughput
>(measure combined data and control traffic), and also look at the
>tradeoff between complexity and convergence time.
>
>
>
>_______________________________________________
>Ospf-wireless-design mailing list
>Ospf-wireless-design@lists.ietf.org
>https://www1.ietf.org/mailman/listinfo/ospf-wireless-design
>



_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design


From ospf-wireless-design-bounces@ietf.org  Fri Feb  4 08:32:33 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA25527;
	Fri, 4 Feb 2005 08:32:32 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1Cx3sL-0001TD-Co; Fri, 04 Feb 2005 08:51:59 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Cx3Ss-0006zw-Fy; Fri, 04 Feb 2005 08:25:38 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Cww0G-0004i1-IB
	for ospf-wireless-design@megatron.ietf.org;
	Fri, 04 Feb 2005 00:27:36 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA06465
	for <ospf-wireless-design@ietf.org>;
	Fri, 4 Feb 2005 00:27:33 -0500 (EST)
Received: from rtp-iport-2.cisco.com ([64.102.122.149])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CwwIw-0005bD-AZ
	for ospf-wireless-design@ietf.org; Fri, 04 Feb 2005 00:46:56 -0500
Received: from rtp-core-2.cisco.com (64.102.124.13)
	by rtp-iport-2.cisco.com with ESMTP; 04 Feb 2005 00:27:03 -0500
X-BrightmailFiltered: true
X-Brightmail-Tracker: AAAAAA==
Received: from fruitpie.cisco.com (IDENT:mirapoint@fruitpie.cisco.com
	[64.102.16.27])
	by rtp-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id j145R0QL020734; 
	Fri, 4 Feb 2005 00:27:00 -0500 (EST)
Received: from [10.82.225.169] (rtp-vpn1-425.cisco.com [10.82.225.169])
	by fruitpie.cisco.com (MOS 3.4.6-GR) with ESMTP id BFB73617;
	Thu, 3 Feb 2005 21:26:57 -0800 (PST)
Message-ID: <420307A1.6070406@cisco.com>
Date: Fri, 04 Feb 2005 00:26:57 -0500
From: Acee Lindem <acee@cisco.com>
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Richard Ogier <rich.ogier@earthlink.net>
Subject: Re: [Ospf-wireless-design] Update to draft-ogier-manet-ospf-extension
References: <42027AAE.2060907@earthlink.net>
In-Reply-To: <42027AAE.2060907@earthlink.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 4208ba1d03db6edc52ee4af7d4c1dc86
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by ietf.org id AAA06465
X-Mailman-Approved-At: Fri, 04 Feb 2005 08:25:37 -0500
Cc: ospf-wireless-design@ietf.org
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team  <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: cdf833a55aaade94140cab15fdb96dc5
Content-Transfer-Encoding: quoted-printable

Hi Richard,
Could you add some details on the actual protocol encoding
changes you envision (either inline or in an appendix). It doesn't
have to be WG last call quality just precise enough so someone
could code it for a simulation. You can LLS or backward compatible
mechanisms.

Thanks,
Acee

Richard Ogier wrote:

> All,
>
> An update to my draft is attached. The main changes are
> summarized below. I will submit the final version before
> the meeting deadline (February 21). Comments are welcome.
>
> Richard
>
> Changes from version 02 to version 03:
>
> - A flexible Hello protocol is presented that allows routers to
> send either full or differential Hellos, in which either full or
> partial 2-hop neighbor information is advertised periodically.
> Partial information consists of (Backup) Dependent Neighbors.
>
> - The ANP CDS algorithm has been modified to allow the possibility
> that a router can be a DR of one neighbor and a Backup DR of
> another neighbor. To allow this, the algorithm now distinguishes
> between Dependent Neighbors and Backup Dependent Neighbors.
>
> - The flooding procedure (Section 6) has also been modified to
> distinguish between Dependent and Backup Dependent Neighbors.
>
> - The ANP CDS algorithm has been modified to allow a (Backup) DR
> to declare all of its neighbors to be (Backup) Dependent,
> thus making all neighbors adjacent (which is always the case
> in the other CDS algorithms).
>
> - The rule for forming adjacencies has been modified so that an
> adjacency is formed between two routers if and only if one of
> the routers is a (Backup) Dependent Neighbor of the other one.
> Since Hellos advertise (Backup) Dependent Neighbors, each router
> knows which neighbors it should become adjacent with.
>
>
>------------------------------------------------------------------------
>
>
>
>
>Mobile Ad Hoc and OSPF Working Groups                         R. Ogier
>Internet-Draft                                        February 3, 2005
>
>
>               MANET Extension of OSPF using CDS Flooding
>                draft-ogier-manet-ospf-extension-03pre.txt
>
>Status of this Memo
>
>   This document is an Internet-Draft and is subject to all provisions
>   of section 3 of RFC 3667.  By submitting this Internet-Draft, each
>   author represents that any applicable patent or other IPR claims of
>   which he or she is aware have been or will be disclosed, and any of
>   which he or she become aware will be disclosed, in accordance with
>   RFC 3668.
>
>   Internet-Drafts are working documents of the Internet Engineering
>   Task Force (IETF), its areas, and its working groups.  Note that
>   other groups may also distribute working documents as Internet-
>   Drafts.
>
>   Internet-Drafts are draft documents valid for a maximum of six months
>   and may be updated, replaced, or obsoleted by other documents at any
>   time.  It is inappropriate to use Internet-Drafts as reference
>   material or to cite them other than as "work in progress."
>
>   The list of current Internet-Drafts can be accessed at
>   http://www.ietf.org/ietf/1id-abstracts.html The list of Internet-
>   Draft Shadow Directories can be accessed at
>   http://www.ietf.org/shadow.html
>
>   This Internet-Draft will expire on August 3, 2005.
>
>   Copyright (C) The Internet Society (2005).
>
>Abstract
>
>   This document describes and evaluates a family of interoperable
>   flooding methods for mobile ad-hoc networks, which use a distributed
>   algorithm for computing a connected dominating set (CDS) based on
>   2-hop neighbor information. The different methods are interoperable
>   because the CDS computed by each method contains a "minimal" CDS,
>   which is computed by the most efficient of the described methods.
>   Simulations are presented to compare the different methods with
>   respect to CDS size and average stretch factor.  This document also
>   describes how the proposed CDS algorithms can be used to achieve
>   reliable flooding of LSAs in OSPF. In this context, the CDS nodes
>   generalize the concept of a Designated Router to a multi-hop network.
>
>
>
>Ogier                    Expires August 3, 2005                 [Page 1]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>1. Introduction
>
>   Flooding is useful in mobile ad-hoc networks for the dissemination of
>   topology information (in link-state routing protocols) and other
>   information, and for route discovery (in reactive routing protocols).
>   Because mobile networks typically have less bandwidth than wired
>   networks, an efficient flooding mechanism is needed, in which only a
>   relatively small subset of nodes forward a given flooded packet. Once
>   choice for such a subset of nodes is a connected dominating set
>   (CDS).
>
>   This document presents distributed CDS algorithms in which each node
>   decides whether it is in the CDS based on 2-hop neighbor information.
>   This allows fast reaction to topology changes, since the decision to
>   be in the CDS does not depend on information that must be propagated
>   across the network.
>
>   We present a family of distributed CDS algorithms, which are related
>   and interoperable since the CDS computed by each algorithm contains a
>   minimal CDS, called the Essential CDS, which is computed by the most
>   efficient of the distributed algorithms. Thus, a CDS will be obtained
>   as long as each node runs any algorithm in the family.  More
>   generally, any CDS algorithm can be used as long as it results in the
>   node selecting itself whenever it belongs to the Essential CDS.
>
>   The two performance measures that we consider are CDS size and
>   stretch factor, defined as the average length of a min-hop path
>   between a source and a destination using only CDS nodes as
>   intermediate nodes, divided by the average min-hop path length using
>   any nodes. As we show using simulations, some of the CDS algorithms
>   achieve a smaller stretch factor at the cost of a larger CDS. A small
>   stretch factor (close to 1) is desirable because each flooded packet
>   travels fewer hops on average.
>
>   In addition, a small stretch factor is beneficial if the CDS is used
>   for unicast routing, i.e., if unicast routes are constrained to use
>   only CDS nodes as intermediate nodes.  This would be the case if only
>   links adjacent to CDS nodes are disseminated in LSAs, as described in
>   Section 5. Thus, a small stretch factor allows overhead to be reduced
>   dramatically by allowing the dissemination of a relatively small
>   portion of the full topology.
>
>   This document also describes how the proposed CDS methods can be used
>   to achieve reliable flooding of LSAs in OSPF. In this context, the
>   CDS nodes generalize the concept of a Designated Router (DR) to
>   MANETs, and the proposed CDS selection algorithms generalize OSPF=E2=80=
=99s
>   algorithm for selecting a DR and Backup DR.  Therefore, we extend the
>   term "Designated Router" to refer to a CDS node, and thus a MANET can
>
>
>
>Ogier                    Expires August 3, 2005                 [Page 2]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>   have several DRs. Much of the functionality of a DR in legacy OSPF
>   [RFC2328, RFC2740] remains the same for a generalized DR. For
>   example, adjacencies are formed only between each DR/Backup DR and
>   its neighbors, and only DRs (and possibly Backup DRs) forward LSAs in
>   the flooding process.
>
>   Each CDS algorithm has a persistent and a non-persistent version.  In
>   the persistent versions, each (generalized) DR remains a DR until the
>   existence of higher priority neighboring DRs make it redundant, as in
>   legacy OSPF.  In the non-persistent versions, DRs are recalculated
>   whenever the 2-hop neighborhood changes, regardless of which nodes
>   are currently DRs.  The persistent versions have the advantage that
>   DRs do not change as often, and are therefore recommended for
>   reliable flooding, since an adjacency must be formed (with database
>   synchronization) between each new DR and some or all of its
>   neighbors.  The non-persistent versions are useful for periodic,
>   unreliable flooding, which does not require database synchronization.
>
>   The 2-hop neighbor information required for DR selection is obtained
>   from Hello packets. Section 10 describes a differential Hello
>   protocol in which either partial or full 2-hop neighbor information
>   is advertised in Hellos.  One of the advantages of the proposed
>   solution is that only partial 2-hop neighbor information is required,
>   thus reducing overhead.
>
>   Section 2 summarizes the features of the solution proposed in this
>   document. Section 3 discusses the relative benefits of CDS flooding
>   versus MPR flooding. Section 4 describes the proposed family of CDS
>   algorithms. Section 5 specifies which neighbors should be adjacent,
>   and which should be included in LSAs.  Section 6 describes the
>   flooding procedure, and Sections 7 and 8 describe the procedures for
>   retransmitting LSAs and sending Link State acknowledgments,
>   respectively.  Section 9 proposes three enhancements for reducing
>   overhead, including more efficient database exchange, multicasting
>   retransmitted LSAs, and non-ackable LSAs.  Section 10 describes the
>   differential Hello protocol, and Section 11 presents simulation
>   results comparing different algorithms in the proposed family of CDS
>   algorithms.
>
>
>2. Summary of Features of the Proposed Solution
>
>   The following bullets summarize the main features of the solution
>   presented in this document:
>
>   - The document presents a family of interoperable CDS algorithms,
>     which allow a tradeoff between path optimality and CDS size.
>     Simulation results are presented to show this tradeoff.
>
>
>
>Ogier                    Expires August 3, 2005                 [Page 3]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>   - The CDS algorithms are based only on 2-hop neighbor information,
>     to provide fast convergence following topology changes.
>
>   - The CDS algorithms are interoperable because the CDS computed by
>     each algorithm contains a minimal, source-independent CDS called
>     the "Essential" CDS. The Essential CDS can be computed in O(d^2)
>     time, where d is the number of neighbors.
>
>   - The Essential CDS is very scalable, as shown by the simulation
>     results in Section 11. In a 300 node network with average degree
>     64 and diameter 5, the Essential CDS consists of only 23 (8%) of
>     the nodes on average.
>
>   - The Essential CDS provides a minimal, source-independent set
>     of relays for flooding LSAs (or other flooded packets).
>     The flooding procedure also allows source-dependent flooding
>     (using previous-hop information) as an option, if it is desired
>     to flood packets along min-hop paths.
>
>   - For improved CDS stability, each algorithm in the family has a
>     "persistent" version, in which a router in the CDS remains in
>     the CDS until it becomes redundant.
>
>   - Generalizes the OSPF concept of a Designated Router (DR) and
>     Backup DR to MANETs. The set of DRs forms a CDS, and the set of
>     DRs and Backup DRs forms a biconnected CDS for robustness.
>     When applied to a broadcast network, the persistent version of
>     each algorithm computes the same DR and Backup DR as OSPF.
>
>   - Adjacencies are formed only between CDS nodes (DRs and Backup DRs)
>     and their neighbors, as in legacy OSPF.
>
>   - Provides a flexible choice of which neighbors to include in LSAs,
>     from a minimum set of neighbors adjacent to DRs and Backup DRs,
>     to the full network topology.
>
>   - A flexible Hello protocol is presented that allows routers to send
>     either full or differential Hellos, in which either full or partial
>     2-hop neighbor information is advertised.
>
>
>3. Comparison of CDS and MPR Flooding
>
>   Two flooding approaches being considered for mobile ad-hoc networks
>   are multipoint relays (MPRs) and a connected dominating set (CDS).
>   The main difference is that MPRs are directional, so that the set of
>   MPRs that forward a given flooded packet depends on the originating
>   node, whereas if a CDS is used, then all CDS nodes forward each
>
>
>
>Ogier                    Expires August 3, 2005                 [Page 4]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>   flooded packet.  In addition, flooding via MPRs results in each
>   packet following a min-hop path, whereas a CDS need not provide min-
>   hop paths.
>
>   In the discussion below, for MPR flooding we assume that each node
>   selects a subset of its neighbors to be MPRs based on 2-hop neighbor
>   information, as in [RFC3626].  Thus CDS nodes are "self selected"
>   whereas MPRs are "neighbor selected".  It is also possible for MPRs
>   to be self selected, and for CDS nodes to be determined based on
>   neighbor-selected MPRs as in [Adjih02].
>
>   In the solution presented in this document, each node that selects
>   itself as a CDS node also selects a set of "dependent" neighbors,
>   which are analogous to MPR selectors. Thus, we present a flexible
>   solution that includes both self-selected (source-independent) CDS
>   nodes and self-selected MPRs in a unified manner.
>
>   CDS-based flooding has the following advantages when compared to
>   (neighbor-selected) MPR-based flooding:
>
>   - A node need not know the previous hop of a flooded packet in
>     deciding whether to forward it.
>
>   - The previous-hop independence also simplifies reliable flooding,
>     since a CDS clearly defines the set of nodes that are responsible
>     for relaying LSAs and performing database synchronization with
>     neighbors.
>
>   - In the above sense, a CDS node is a natural generalization of
>     OSPF=E2=80=99s Designated Router to multi-hop networks.
>
>   - Each node decides whether it is in the CDS based only on 2-hop
>     neighbor information, allowing faster recovery from link
>     failures than if each node must inform its neighbors of the
>     selection (as with MPRs).
>
>   - While existing MPR selection algorithms require full 2-hop neighbor
>     information, CDS selection depends only on partial 2-hop neighbor
>     information which is determined naturally as part of the CDS
>     algorithm.
>
>   - A CDS need not (but can) provide min-hop paths (unlike MPRs),
>     and therefore can trade off path optimality to reduce the number
>     of nodes that relay each flooded packet.
>
>   - A CDS node can determine not only the previous-hop neighbors
>     that depend on it for relaying LSAs, but also the next-hop
>     neighbors that must receive the LSAs. This is important for
>
>
>
>Ogier                    Expires August 3, 2005                 [Page 5]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>     reliable flooding, since an ACK must be received from each
>     such next-hop neighbor.
>
>   Since MPRs provide min-hop paths and are neighbor selected, they
>   provide the following advantage:
>
>   - If min-hop paths are required, MPRs may result in a smaller
>     number of transmissions, since the neighbor selection of MPRs
>     makes it easier to identify and eliminate redundant MPRs.
>
>
>4. Proposed Family of CDS Algorithms
>
>   In this section, we describe a family of distributed CDS algorithms
>   based on 2-hop neighbor information, which is obtained from Hellos as
>   described in Section 10.  The algorithms are first presented assuming
>   each node has a single MANET interface; the extension to multiple
>   interfaces is described in Section 4.4.
>
>   By 2-hop neighbor information, we mean that each node knows the set
>   (denoted N) of its 2-way (1-hop) neighbors and, for each 2-way
>   neighbor j, the set (denoted N_j) of node j=E2=80=99s 2-way neighbors=
.  In
>   addition, we assume that each node knows the Router Priority (RtrPri)
>   and Router ID (RID) of each of its neighbors, as in legacy OSPF.
>   These values will be used by the CDS algorithms in a way that
>   generalizes OSPF=E2=80=99s algorithms for selecting a Designated Rout=
er.  As
>   noted above, the term Designated Router (DR) will be used to mean a
>   CDS node, thus generalizing the OSPF concept of a DR.  Similarly, the
>   term Backup DR (BDR) will be used to denote a redundant CDS node, in
>   a way that generalizes the OSPF concept of a Backup DR.
>
>   When we say that the pair (RtrPri, RID) is larger for node i than for
>   node j, we mean that the pair for node i is lexicographically greater
>   than the pair for node j, i.e., either the RtrPri is larger for node
>   i than for node j, or the RtrPri is the same for both nodes and the
>   RID is larger for node i than for node j.
>
>   We note that a node can select its Router Priority based on any
>   criteria, including the following:
>
>   - node degree: higher priority for larger degree
>
>   - neighbor stability (average lifetime of neighbors): higher
>     priority for higher stability
>
>   - bandwidth capacity of node: higher priority for higher bandwidth
>
>   - battery life: low priority if battery life is low
>
>
>
>Ogier                    Expires August 3, 2005                 [Page 6]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>   - willingness to be a relay
>
>   The simulation results presented in Section 11 will compare the CDS
>   algorithms when RtrPri is equal to node degree, versus using the same
>   RtrPri for all nodes.
>
>   For each CDS algorithm, we first describe the non-persistent version
>   of the algorithm, in which each node runs the algorithm to decide
>   whether to select itself as a DR (or a Backup DR) whenever a change
>   occurs to its 2-hop neighborhood, independent of the current DR
>   status of itself or its neighbors.  We then describe how to modify
>   the algorithm to obtain its persistent version, in which a DR
>   continues to be a DR until it becomes redundant due to the existence
>   of neighboring DRs with larger values of (RtrPri, RID).
>
>4.1 The Essential CDS Algorithm
>
>    We first describe the Essential CDS algorithm, which computes the
>    smallest CDS (called the Essential CDS) of the algorithms to be
>    presented.  The CDS computed by each of the other algorithms
>    presented in this document will contain the Essential CDS.  In the
>    following description, node i denotes the node performing the
>    calculation.
>
>    Essential CDS Algorithm (Non-Persistent Version)
>
>    Phase 1 (DR Selection)
>
>    1.1. If node i has a larger value of (RtrPri, RID) than any of its
>         neighbors, then node i selects itself as a DR.
>
>    1.2. Else, let j be the neighbor of node i that has the largest
>         value of (RtrPri, RID). If there exists a path (with one or
>         more hops, based on node i=E2=80=99s 2-hop neighbor information=
) from
>         node j to each other neighbor of node i, using only
>         intermediate nodes that are neighbors of node i and that have
>         a larger value of (RtrPri, RID) than node i, then node i does
>         not select itself as a DR; otherwise node i selects itself as
>         a DR.
>
>    Phase 2 (Backup DR Selection)
>
>    2. If node i does not select itself as a DR in Phase 1, and if
>       there exist two node-disjoint paths from node j to each other
>       neighbor of node i, using only intermediate nodes that are
>       neighbors of node i and that have a larger value of (RtrPri, RID)
>       than node i, then node i does not select itself as a Backup DR;
>       otherwise node i selects itself as a Backup DR.
>
>
>
>Ogier                    Expires August 3, 2005                 [Page 7]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>    The selected DRs have two purposes: (1) to provide a minimal set of
>    relays for flooding LSAs, and (2) to provide a minimal set of
>    adjacencies for routing (not necessarily along min-hop paths).
>
>    The selected Backup DRs also have two purposes: (1) to provide
>    backup relays to retransmit flooded LSAs when flooding by DRs does
>    not succeed, and (2) to provide additional adjacencies for routing,
>    which provide redundant routes.  If Backup DRs are not desired, then
>    Phase 2 can be omitted.
>
>    The set of DRs computed by Phase 1 forms a CDS, and the union of the
>    DRs and Backup DRs computed in both phases forms a redundant CDS
>    with the following properties: each non-CDS node will have at least
>    two neighbors in the CDS, and the graph consisting of all links
>    adjacent to CDS nodes will be biconnected.  Note that there may be
>    fewer Backup DRs than DRs, since the DRs themselves may already
>    provide some redundancy.
>
>    The persistent version of the above algorithm is similar to the non-
>    persistent version given above, except that existing DRs are given
>    higher priority than existing Backup DRs, which are given higher
>    priority than other nodes. To describe the persistent version
>    concisely, we introduce the variable DRLevel, which is equal to 2 if
>    the node is a DR, 1 if the node is a Backup DR, and 0 otherwise.
>    The persistent version of the above algorithm is obtained simply by
>    replacing each occurrence of (RtrPri, RID) with (DRLevel, RtrPri,
>    RID).  Thus, a node that is currently a DR is given the highest
>    priority for remaining a DR.
>
>    The persistent version of the Essential CDS algorithm is a true
>    generalization of OSPF=E2=80=99s algorithm for selecting a DR and Ba=
ckup DR.
>    That is, in a single-hop network (where every node is a neighbor of
>    every other node), both algorithms will select the same nodes as DR
>    and Backup DR. This is a desirable property, since we are extending
>    OSPF.
>
>    Note that in the above CDS algorithm (and the others presented
>    below), intermediate nodes are required to be neighbors of node i.
>    With 2-hop neighbor information, it is possible to drop this
>    requirement (and allow nodes that are two hops away to be
>    intermediate nodes), to potentially obtain a smaller CDS. However,
>    this would require node i to know the Router Priority of each 2-hop
>    neighbor, which could be achieved by modifying Hellos to include the
>    Router Priority of each neighbor.  This can also result in slower
>    response to topology changes, since it may take longer to realize
>    that a 2-hop neighbor is no longer a DR. Finally, simulation results
>    indicate that dropping this requirement reduces the average CDS size
>    only slightly.
>
>
>
>Ogier                    Expires August 3, 2005                 [Page 8]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>    The Essential CDS algorithm can be implemented in O(d^2) time, where
>    d is the number of neighbors. Step 1.2 can be implemented using a
>    breadth-first-search (BFS) algorithm to compute min-hop paths from
>    node j to all other neighbor of node i, modified to allow a node as
>    an intermediate node only if its value of (RtrPri, RID) [or
>    (DRLevel, RtrPri, RID) for the persistent version] is larger than
>    that of node i.
>
>    The BFS algorithm for Step 1.2 of the non-persistent version is as
>    follows. The algorithm uses a FIFO queue so that all nodes 1 hop
>    from node j are processed first, then 2 hops, etc. When the BFS
>    algorithm terminates, hops(u), for each neighbor node u of node i,
>    will be equal to the minimum number of hops from node j to node u,
>    using only intermediate nodes that are neighbors of node i and that
>    have a larger value of (RtrPri, RID) than node i.
>
>      a. Set hops(u) =3D infinity for all neighbors u other than j.
>      b. Set hops(j) =3D 0.
>      c. Add node j to the queue.
>      d. While the queue is nonempty:
>         Remove the node at the head of the queue; call it node u.
>         For each neighbor v of node u that is a neighbor of node i:
>           If hops(u) + 1 < hops(v), then set hops(v) =3D hops(u) + 1,
>           and set pred(v) =3D u.
>           If node u has a larger value of (RtrPri, RID) than node i,
>           then add node u to the tail of the queue.
>      e. If hops(u) is finite for all neighbors u of node i, then
>         node i does not select itself as a DR; otherwise, node i
>         selects itself as a DR.
>
>    Phase 2 of the algorithm can be implemented using a modification of
>    the algorithm [Suurballe84] to find disjoint paths. However, the
>    following algorithm is simpler, although it it imposes a more
>    restrictive condition on the two disjoint paths (that they both have
>    the same length) and therefore may result in a larger number of
>    BDRs.  (Note that such an algorithm is compliant with the
>    specification, since a node that would be a BDR using the Essential
>    CDS algorithm will also be a BDR using this algorithm.)
>
>      a. Let node j and d(u) be as computed in Phase 1.
>      b. Set BDR_flag =3D 0.
>      c. For each node u that is a neighbor of node i and is *not*
>         a neighbor of j:
>         If there exist two neighbors v and w of node u that are
>         neighbors of node i, have a larger value of (RtrPri, RID) than
>         node i, and satisfy d(v) =3D d(w) =3D d(u) - 1, then do nothing=
;
>         otherwise, set BDR_flag =3D 1.
>      d. For each node u that is a neighbor of node i and *is* a
>
>
>
>Ogier                    Expires August 3, 2005                 [Page 9]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>         neighbor of j:
>         If there exists a neighbor v of node u that is a neighbor of
>         node i, and has a larger value of (RtrPri, RID) than node i,
>         then do nothing; otherwise, set BDR_flag =3D 1.
>      e. If BDR_flag =3D 1, node i selects itself as a BDR.
>
>    Step d above ensures that BDRs not only provide alternate relays to
>    reach 2-hop neighbors of node j, but also to reach 1-hop neighbors
>    of node j, which is important since the link from node j to such a
>    neighbor can break.
>
>    The Essential CDS algorithm computes a minimal CDS (the DRs) and a
>    minimal redundant (biconnected) CDS (the DRs and BDRs).  However, it
>    may be desirable to use a CDS algorithm that computes a larger CDS,
>    for example, to obtain a CDS that achieves a smaller stretch factor
>    (defined above).  Such an algorithm will be interoperable with the
>    Essential CDS algorithm as long as it computes a CDS that contains
>    the Essential CDS, i.e., as long as each node that is in the
>    Essential CDS selects itself as a DR. Thus, to ensure
>    interoperability, each node in the Essential CDS MUST select itself
>    as a DR. However, a node that is not in the Essential CDS MAY select
>    itself as DR.
>
>    The next section describes two subfamilies of distributed CDS
>    algorithms, each of which computes a CDS that contains the Essential
>    CDS.  As shown in simulations results presented below, some of these
>    algorithms achieve a smaller stretch factor at the cost of a larger
>    CDS.
>
>4.2. Max-Priority-Neighbor (MPN) CDS Algorithm Family
>
>    In the Essential CDS algorithm, node i selects itself as a DR if it
>    cannot find a path from the neighbor j with maximum value of
>    (RtrPri, RID) to each other neighbor, using only intermediate nodes
>    with a larger value of (RtrPri, RID) than node i.  The MPN CDS
>    algorithm family is similar, but requires that each such path be at
>    most h1 hops long, where the parameter h1 is an integer greater than
>    or equal to 2. By choosing h1 to be small, a larger CDS is obtained,
>    but hopefully the CDS has a smaller stretch factor and can thus be
>    used to provide shorter paths.
>
>    The MPN CDS algorithm uses a second parameter h2 for computing
>    Backup DRs in Phase 2. Phase 2 requires that there exist two
>    disjoint paths from neighbor j to each other neighbor, with each
>    path having at most h2 hops.  It is possible for h2 to be either
>    larger or smaller than h1.  The MPN CDS algorithm with parameters h1
>    and h2 will be denoted MPN(h1, h2).
>
>
>
>
>Ogier                    Expires August 3, 2005                [Page 10]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>    MPN(h1, h2) CDS Algorithm (Non-Persistent Version)
>
>    Phase 1 (DR Selection)
>
>    1.1. If node i has a larger value of (RtrPri, RID) than any of
>         its neighbors, then node i selects itself as a DR.
>
>    1.2. Else, let j denote the neighbor of node i that has the largest
>         value of (RtrPri, RID). If there exists a path with at most h1
>         hops (based on node i=E2=80=99s 2-hop neighbor information) fro=
m node j
>         to each other neighbor of node i, using only intermediate nodes
>         that are neighbors of node i and that have a larger value of
>         (RtrPri, RID) than node i, then node i does not select itself
>         as a DR; otherwise node i selects itself as a DR.
>
>    Phase 2 (Backup DR Selection)
>
>    2. If node i does not select itself as a DR in Phase 1, and if
>       there exist two node-disjoint paths from node j to each other
>       neighbor of node i, each with at most h2 hops, using only
>       intermediate nodes that are neighbors of node i and that have
>       a larger value of (RtrPri, RID) than node i, then node i does
>       not select itself as a Backup DR; otherwise node i selects
>       itself as a Backup DR.
>
>    As with the Essential CDS algorithm, the persistent version of the
>    MPN algorithm can be obtained simply by replacing each occurrence of
>    (RtrPri, RID) with (DRLevel, RtrPri, RID).  It is clear that the CDS
>    computed by the MPN algorithm contains the CDS computed by the
>    Essential CDS algorithm, since if Phase 1 of the MPN algorithm does
>    not result in node i selecting itself as a DR, then a path exists
>    between node j and each other neighbor of node i, and thus Phase 1
>    of the Essential CDS algorithm will not result in node i selecting
>    itself as a DR.  The Essential CDS algorithm is equivalent to the
>    MPN algorithm with h1 and h2 equal to infinity.
>
>    The MPN CDS algorithm can be implemented in O(d^2) time.  The
>    implementation is the same as that described for the Essential CDS
>    algorithm, the only difference being that the computed distances
>    d(u), for each neighbor u, must be at most h1 for Phase 1, and at
>    most h2 for Phase 2, for node i not to select itself as a DR (Phase
>    1) or BDR (Phase 2).
>
>4.3. All-Neighbor-Pairs (ANP) CDS Algorithm Family
>
>    The ANP CDS algorithm family is similar to the MPN CDS algorithm
>    family, with the same parameters h1 and h2, but the requirements
>    imposed on the existence of paths from the neighbor j (with maximum
>
>
>
>Ogier                    Expires August 3, 2005                [Page 11]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>    value of (RtrPri, RID)) to all other neighbors, are now imposed on
>    the existence of paths from *every* neighbor of node i to all other
>    neighbors. As a result, the CDS computed by ANP(h1, h2) contains
>    (and is usually larger than) the CDS computed by MPN(h1, h2).
>    Although ANP computes a larger CDS than MPN, the benefit is that it
>    is more likely to have a smaller stretch factor. In fact, if either
>    h1 =3D 2 or h2 =3D 2, then ANP is guaranteed to achieve a stretch fa=
ctor
>    of 1, i.e., the CDS consisting of DRs and BDRs will provide min-hop
>    paths between any pair of nodes.  Selecting h1 =3D 3 and h2 =3D 2
>    results in a relatively small set of DRs (resulting in a small
>    flooding overhead), while providing min-hop paths via the
>    adjacencies induced by the BDRs.
>
>    Each node running the ANP algorithm maintains a list of Dependent
>    Neighbors and a list of Backup Dependent Neighbors.  The use of
>    (Backup) Dependent Neighbors is described in Sections 5 and 6.  For
>    the Essential CDS and MPN CDS algorithms, all neighbors of a DR are
>    Dependent Neighbors, and all neighbors of a BDR are Backup Dependent
>    Neighbors.
>
>    A node running the ANP algorithm is called a DR if it has at least
>    one Dependent Neighbor, and a BDR if it has at least one Backup
>    Dependent Neighbor.  Since a node can have both a Dependent Neighbor
>    and a Backup Dependent Neighbor, a node can be both a DR and a BDR.
>    However, a neighbor that is Dependent cannot also be Backup
>    Dependent.  Also, a node cannot be both an Essential DR and an
>    Essential BDR (defined in Section 6).
>
>    ANP(h1, h2) CDS Algorithm (Non-Persistent Version)
>
>    Phase 1 (DR Selection)
>
>    1.1. If node i has a larger value of (RtrPri, RID) than any of its
>         neighbors, then node i selects itself as a DR, adds all
>         neighbors to the list of Dependent Neighbors, and exits.
>
>    1.2. Initialize the list of Dependent Neighbors to be empty.
>         For each neighbor node j, if there exists a path with at
>         most h1 hops (based on node i=E2=80=99s 2-hop neighbor informat=
ion)
>         from neighbor j to each other neighbor of node i,
>         using only intermediate nodes that are neighbors of node i
>         and that have a larger value of (RtrPri, RID) than node i,
>         then do not add node j to the list of Dependent Neighbors;
>         otherwise, add node j to the list.
>
>    1.3. If the list of Dependent Neighbors is not empty, then node i
>         selects itself as a DR. In this case, node i MAY include all
>         neighbors in the list of Dependent Neighbors (not recommended
>
>
>
>Ogier                    Expires August 3, 2005                [Page 12]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>         if h1 =3D 2).
>
>    Phase 2 (Backup DR Selection)
>
>    2.1. Initialize the list of Dependent Neighbors to be empty.
>         For each neighbor node j that was not selected as a Dependent
>         Neighbor in Phase 1, if there exist two node-disjoint
>         paths from neighbor j to each other neighbor of node i, each
>         with at most h2 hops, using only intermediate nodes that are
>         neighbors of node i and that have a larger value of
>         (RtrPri, RID) than node i, then do not add node j to the list
>         of Backup Dependent Neighbors; otherwise, add node j to the
>         list.
>
>    2.2. If the list of Backup Dependent Neighbors is not empty, then
>         node i selects itself as a Backup DR. In this case, node i MAY
>         include all neighbors in the list of Backup Dependent Neighbors
>         (not recommended if h2 =3D 2).
>
>    As with the MPN algorithm, the persistent version of the ANP
>    algorithm can be obtained simply by replacing each occurrence of
>    (RtrPri, RID) with (DRLevel, RtrPri, RID).
>
>    The ANP CDS algorithm can be implemented in O(d^3) time.  The
>    implementation is the same as for the MPN algorithm, except that BFS
>    must be run for each neighbor of node i, instead of a single
>    neighbor.  Note that O(d^2) time is required just to cycle through
>    all neighbors=E2=80=99 neighbors. Given this and the fact that proce=
ssor
>    speeds are much faster than when OSPF was first used in the 1980s, a
>    time complexity of O(d^3) is quite reasonable, especially since the
>    real bottleneck for MANETs is bandwidth, not processing. Also, note
>    that the ANP algorithm is optional.
>
>    The following important relationship exists between the set of DRs
>    computed by ANP and MPN (for the same value of h1): A router is
>    selected as a DR by the MPN algorithm if and only if either it has a
>    larger (RtrPri, RID) than all of its neighbors, or the neighbor node
>    j with the largest value of (RtrPri, RID) is selected as a Dependent
>    Neighbor by the ANP algorithm.  (Such a router is called an
>    Essential DR, as defined in Section 6.)  As a result, a node that
>    runs the ANP algorithm can quickly determine whether it belongs to
>    the smaller CDS computed by the MPN algorithm, and can choose to
>    relay LSAs only if it belongs to the smaller CDS (thus reducing
>    overhead).
>
>
>
>
>
>
>
>Ogier                    Expires August 3, 2005                [Page 13]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>4.4. Multiple Interfaces
>
>    The above descriptions of the CDS algorithms assume that each
>    router has a single MANET interface. If a router has multiple MANET
>    interfaces, each router sends and receives Hellos (as described in
>    Section 10) on each interface. Using the 2-hop neighbor information
>    obtained from Hellos received on all interfaces, node i constructs
>    the set N_j of neighbors of each neighbor node j, via any interface
>    that is common to both nodes i and j.  The above CDS algorithms are
>    then applied using this 2-hop neighbor information based on all
>    interfaces.
>
>    If a MANET router also has one or more non-MANET interfaces, then
>    the router MAY also use 2-hop neighbor information obtained from
>    LSAs originating from neighboring routers attached to its non-MANET
>    interfaces. For example, if two neighboring MANET routers are also
>    attached to the same broadcast network, then it may not be necessary
>    for both routers to forward LSAs from the MANET to the broadcast
>    network, and vice versa. (Note that we are assuming the MANET and
>    the broadcast network belong to the same area.)
>
>4.5. Relation of the Proposed CDS Algorithms to Other Algorithms
>
>    In TBRPF [RFC3684], the set of all nodes that have at least one
>    "reported neighbor" (and therefore forward link-state updates
>    originating from other nodes) is a CDS, which is the same as the CDS
>    computed by Phase 1 of the ANP algorithm with h1 =3D 2 and RtrPri th=
e
>    same for all nodes.
>
>    Phase 1 of the ANP algorithm with h1 =3D 2 is also equivalent to Pha=
se
>    1 of the CDS algorithm of [Lin03] if RtrPri is equal to the node
>    degree. However, the simulations presented in [Lin03] assume that a
>    flooded packet is forwarded only if it is received from the
>    equivalent of a Dependent Neighbor, as in step (b) of the forwarding
>    procedure given in Section 6 of this document.
>
>    Phase 1 of the MPN algorithm with h1 =3D 2 and RtrPri the same for a=
ll
>    nodes is similar to the MPR-based CDS algorithm in [Adjih02] using
>    the min-ID algorithm for computing MPRs. The main difference is that
>    the MPN algorithm does not compute neighbor-selected MPRs.
>    (However, one can say that the MPN algorithm determines whether the
>    neighbor j with maximum (RtrPri, RID) would select node i as an
>    MPR.)
>
>
>
>
>
>
>
>
>Ogier                    Expires August 3, 2005                [Page 14]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>5. Adjacencies and LSAs
>
>   Adjacencies are formed only between DR/BDR routers and their
>   neighbors, as in legacy OSPF. Thus, adjacencies are not allowed
>   between two DR_Other (non-DR/BDR) routers. However, if the ANP CDS
>   algorithm is used, a DR/BDR router need not be adjacent to all of its
>   neighbors. The requirement is that a router must form an adjacency
>   with each (Backup) Dependent Neighbor.  If the Essential CDS or MPN
>   CDS algorithm is used, then all neighbors of each DR/BDR router are
>   (Backup) Dependent. But this may not be true if the ANP algorithm is
>   used (although the ANP algorithm allows this as an option).
>
>   It is possible for router B to be a Dependent Neighbor of router A,
>   even if router A is not a Dependent Neighbor of router B. Thus, an
>   adjacency must be formed between two routers if either of them is a
>   (backup) Dependent Neighbor of the other.  A router knows which
>   neighbors have selected it as a (Backup) Dependent Neighbor, since
>   this information is advertised in Hello packets as described in
>   Section 10.  Once formed, an adjacency between two routers A and B
>   continues as long as either router is a Dependent Neighbor of the
>   other router.
>
>   Another question is which neighbors to include in the Router LSA
>   originated by a MANET router.  Each such neighbor is represented as a
>   Type 1 link (point-to-point) in the Router LSA.  The minimum
>   requirement is that a router must include all (Backup) Dependent
>   Neighbors in its LSA.  Since DR_Other routers have no Dependent
>   Neighbors, this implies that the LSA originated by such a router can
>   be empty (contain no neighbors), thus reducing overhead
>   significantly.  (Such a router will still have adjacencies with
>   neighboring DRs and BDRs, which can be used to construct the
>   shortest-path tree.)  However, a better choice may be to include all
>   adjacent neighbors in the LSA, in which case the LSA originated by a
>   DR_Other router will include only DR and BDR neighbors.
>
>   In addition, a router MAY include any non-adjacent, bidirectional
>   neighbors in its LSA. For example, in the full topology case, every
>   router includes all of its bidirectional neighbors in its LSA.
>
>   The above choices, along with the choices for the CDS algorithm,
>   allows much flexibility. Interoperability is ensured even if
>   different routers make different choices, as long as the minimum
>   requirements are satisfied. Some examples of possible choices are as
>   follows:
>
>   1. Select DRs and BDRs using MPN with h1 =3D h2 =3D 3. Each DR/BDR
>      router forms adjacencies with all neighbors. Each router
>      includes all neighbors in its LSA (full topology).
>
>
>
>Ogier                    Expires August 3, 2005                [Page 15]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>   2. Select DRs and BDRs using ANP with h1 =3D h2 =3D 3.
>      Each DR/BDR router forms adjacencies with all neighbors.
>      Each router includes only adjacent neighbors in its LSA.
>      The resulting routes will be very close to min-hop as shown
>      by the simulation results presented in Section 11.
>
>   3. Select DRs and BDRs using ANP with h1 =3D 3 and h2 =3D 2. Each
>      DR/BDR router forms adjacencies only with Dependent Neighbors.
>      Each router includes only adjacent neighbors in its LSA.
>      This provides min-hop routing because h2 =3D 2.
>
>   4. Same as 3, but use h1 =3D 2 and h2 =3D 2. This will not only
>      provide min-hop routing (because h1 =3D 2), but will also
>      result in flooding along min-hop paths, if the optional step (b)
>      of the flooding procedure below is used.
>
>
>6. Flooding Procedure
>
>   This section describes the flooding procedure.  Much of the procedure
>   is the same as described in Section 13 of RFC 2328, so we focus on
>   the differences.
>
>   The processing of received LSAs is the same as in Section 13 of RFC
>   2328, Steps (1) through (8), except that a router MUST process an LSA
>   received from any 2-way neighbor (not just from adjacent neighbors in
>   Exchange state or higher), in order to take advantage of multicast
>   transmissions to reduce the number of retransmissions.
>
>   On MANET interfaces, LSU packets that do not contain retransmitted
>   LSAs are always multicast to AllSPFRouters.
>
>   The procedure for forwarding LSAs is as in Section 13.3 of RFC 2328,
>   with the following modifications.  Replace Step 1c with the
>   following: If the new LSA, or an ACK for the new LSA, was received
>   from this neighbor, examine the next neighbor.  Remove Steps 3 and 4,
>   and replace Step 5 with the Forwarding Procedure below, which
>   requires the following definition:
>
>   A DR is called an Essential DR if it has a larger value of (RtrPri,
>   RID) than all of its neighbors, or if the neighbor with maximum
>   (RtrPri, RID) is a Dependent Neighbor.  A BDR is called an Essential
>   BDR if the neighbor with maximum (RtrPri, RID) is a Backup Dependent
>   Neighbor.  If the persistent version of a CDS algorithm is used, then
>   (DRLevel, RtrPri, RID) is used instead of (RtrPri, RID).  If the
>   Essential CDS or MPN CDS algorithm is used, then all neighbors of a
>   (Backup) DR are (Backup) Dependent, so a (Backup) DR is always
>   Essential in this case.
>
>
>
>Ogier                    Expires August 3, 2005                [Page 16]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>   Forwarding Procedure
>
>   (a) If the router is an Essential DR, then the new LSA MUST be
>       flooded out the minimum ID interface corresponding to each
>       adjacent router from which the new LSA has not been received,
>       and that is not a neighbor (based on 2-hop neighbor information)
>       of the router from which the new LSA was received.
>
>   (b) Else, if the router is a DR and the neighbor from which the new
>       LSA was received is a Dependent Neighbor, then the new LSA MAY
>       be flooded out the minimum ID interface corresponding to each
>       adjacent router from which the new LSA has not been received,
>       and that is not a neighbor (based on 2-hop neighbor information)
>       of the router from which the new LSA was received.
>
>   (c) If the router is an Essential BDR, then the router waits
>       BackupWaitInterval seconds after receiving the new LSA.
>       After this interval, the new LSA MUST be flooded out the
>       minimum ID interface corresponding to each adjacent router
>       from which the new LSA has not been received, and that is
>       not a neighbor (based on 2-hop neighbor information) of
>       any router from which the new LSA was received.
>
>   (d) Else, if the router is a BDR and the neighbor from which the
>       new LSA was received is a Backup Dependent Neighbor, then the
>       router waits BackupWaitInterval seconds after receiving the new
>       LSA. After this Interval, the new LSA MAY be flooded out the
>       minimum ID interface corresponding to each adjacent router
>       from which the new LSA has not been received, and that is
>       not a neighbor (based on 2-hop neighbor information) of
>       any router from which the new LSA was received.
>
>   Note that duplicate LSAs are not forwarded; a new LSA is considered
>   for forwarding only the first time it is received.  Step (a) of the
>   Flooding Rule ensures that the LSA is forwarded by all nodes in the
>   Essential CDS, regardless of which optional CDS algorithm is used,
>   and regardless of the order in which nodes transmit a given LSA.  The
>   optional step (b) can be used to reduce the flooding delay, at the
>   cost of some additional overhead. If the ANP algorithm is used with
>   h1 =3D 2, then Step (b) ensures that LSAs are flooded along min-hop
>   paths.
>
>   One of the duties of a BDR is to forward a new LSA when one its
>   neighboring DRs fails to transmit the LSA.  Step (c) requires an
>   Essential BDR to forward the new LSA after a small delay
>   (BackupWaitInterval) if the neighbors that are known to have
>   transmitted the new LSA do not cover all adjacent neighbors.
>   BackupWaitInterval must be less than RxmtInterval, to avoid
>
>
>
>Ogier                    Expires August 3, 2005                [Page 17]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>   unnecessary retransmissions.  The optional step (d) is similar to the
>   optional step (b), but for a BDR instead of a DR.
>
>   A Backup DR is analogous to a "non-active overlapping relay" in
>   Cisco=E2=80=99s proposed solution [Chandra04], and the parameter
>   BackupWaitInterval is equivalent to PushbackInterval in their draft.
>
>
>7. Retransmitting LSAs
>
>   LSAs are retransmitted according to Section 13.6 of RFC 2328.  As in
>   legacy OSPF, LSAs are retransmitted only to adjacent routers.  Thus,
>   since the proposed solution does not allow an adjacency to be formed
>   between two DR_Other routers, a DR_Other router never retransmits an
>   LSA to another DR_Other router (only to a DR or BDR router as in
>   legacy OSPF). As in OSPF, retransmitted LSAs are unicast, but see
>   Section 9.2 for a proposed modification that allows retransmitted
>   LSAs to be multicast.
>
>   One advantage of allowing only DR and BDR routers to retransmit LSAs
>   to DR_Other routers is that DR and BDR routers can group together
>   several retransmitted LSAs into the same LSU packet, thus reducing
>   overhead. In particular, if a DR_Other router originates an LSA, it
>   only needs to retransmit its LSA to DR and BDR neighbors.
>
>
>8. Link State Acknowledgments
>
>   As proposed in [Chandra04], all Link State Acknowledgments (LS ACKs)
>   are multicast, a duplicate received LSA is not acknowledged unless it
>   is a unicast retransmission, and each router maintains a database of
>   all recently received LS ACKs.  As in legacy OSPF, a forwarded LSA is
>   treated as an implicit ACK, and multiple delayed ACKs may be bundled
>   into a single packet.
>
>   As in legacy OSPF, LS ACKs are processed only by adjacent neighbors.
>   Therefore, since we do not allow two DR_Other routers to be adjacent,
>   an ACK sent by a DR_Other router will be processed only by DR and BDR
>   routers (as in legacy OSPF).  Thus, ACKs and retransmitted LSAs are
>   sent only between adjacent routers. Retransmitted LSAs are sent only
>   to adjacent routers from which an explicit or implicit ACK has not
>   been received.
>
>
>9. Proposed Enhancements
>
>   We propose three enhancements which can be used to reduce overhead:
>   more efficient database exchange, multicasting retransmitted LSAs,
>
>
>
>Ogier                    Expires August 3, 2005                [Page 18]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>   and non-ackable LSAs.
>
>9.1. More Efficient Database Exchange
>
>    When a router becomes a DR or BDR, it must form adjacencies with
>    some or all of its neighbors, which can consume a lot of bandwidth
>    in dense networks, since a complete set of Database Description (DD)
>    packets is unicast to and from each neighbor in legacy OSPF.  Two
>    modifications can be used to significantly reduce the overhead of
>    this exchange. First, it is not necessary for the slave to send a
>    complete set of DD packets; it is sufficient for the slave to
>    include in its DD packet(s) only LSA headers that are more recent or
>    are not included in the DD packets sent by the master.  To
>    accomplish this, the slave does not include any LSA headers in its
>    DD packets until the master has sent its last DD packet (indicated
>    by the "more" bit being 0), so that it knows which LSA headers to
>    include in its DD packets to the master.
>
>    The second modification is for a new DR/BDR that has decided to form
>    adjacencies with all of its neighbors (which is the case if the
>    Essential CDS or MPN CDS algorithm is used).  Just as a router
>    transmits LSAs as multicasts, and then retransmits them as unicasts
>    when necessary, a new DR or BDR can first send a complete set of DD
>    packets as multicasts, and then retransmit them as unicasts when
>    necessary. To make this work, the new DR or BDR should be the
>    master, and all of its neighbors should be slaves.  When such a
>    slave sees a multicast DD packet from a 2-Way neighbor that is not
>    yet fully adjacent, it replies by unicasting a (possibly empty) DD
>    packet having the same DD sequence number.  In the ideal case (where
>    all nodes are already synchronized and no retransmissions are
>    needed) the master will multicast a complete set of DD packets, and
>    its neighbors (that are not yet fully adjacent) will respond by
>    sending only empty DD packets, thus saving a lot of overhead.  If
>    the master multicasts a DD packet but does not receive an
>    acknowledgment (i.e., a possibly empty DD packet with the same
>    sequence number) from some neighbor that is not yet fully adjacent,
>    then the master retransmits the DD packet as a unicast.
>
>    Alternatively, retransmitted DD packets can be multicast instead of
>    unicast, using the same idea as described below for multicasting
>    retransmitted LSAs. A new TLV would be defined to list the neighbors
>    that must acknowledge the DD packet.
>
>9.2. Multicasting Retransmitted LSAs
>
>    If a router must retransmit a given LSA to several neighbors, it
>    would be more efficient to retransmit the LSA as a multicast.
>    However, since each router acknowledges a multicast LSA only the
>
>
>
>Ogier                    Expires August 3, 2005                [Page 19]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>    first time it is received, a modification is needed to ensure that
>    the intended recipients acknowledge the retransmitted LSA.  This can
>    be accomplished by defining a new TLV that provides a list of the
>    neighbors that must acknowledge the LSA.  If the LSA must be
>    retransmitted again, the neighbors from which an ACK has been
>    received are removed from the list. This idea was proposed several
>    years ago by the MANET working group.
>
>9.3. Non-Ackable LSAs
>
>    In a highly mobile network, it is possible that a router almost
>    always originates a new LSA every MinLSInterval seconds. In this
>    case, it should not be necessary to send ACKs for such an LSA, or to
>    retransmit such an LSA as a unicast. In this case, the originator of
>    an LSA MAY indicate that the LSA is "non-ackable" via a new option
>    bit. For example, the originator can use an exponential moving
>    average to determine that a new LSA is originated every
>    MinLSInterval seconds with probability greater than 90 percent.
>    (Simulations are needed to determine the best threshold.)
>
>    A non-ackable LSA is never ACKed, nor is it ever retransmitted as a
>    unicast. However, the originating router and each Essential DR (as
>    defined in Section 6) must periodically retransmit a non-ackable LSA
>    as a multicast. The retransmission period should be slightly larger
>    than MinLSInterval (e.g., MinLSInterval + 1) so that a new instance
>    of the LSA is usually received before the previous one is
>    retransmitted.  Note that the reception of a retransmitted
>    (duplicate) LSA does not result in immediate forwarding of the LSA;
>    only a new LSA (with a larger sequence number) may be forwarded
>    immediately, according to the forwarding procedure of Section 6.  In
>    addition, non-ackable LSAs need not be described in DD packets.
>
>
>10. Differential Hello Protocol
>
>   Hellos are used both for neighbor discovery and for obtaining 2-hop
>   neighbor information. Although it is possible to obtain 2-hop
>   neighbor information from LSAs originated by neighbors, we choose to
>   use Hellos for this purpose, for the following reasons:
>
>   - The content of LSAs, and the the flooding of LSAs, depend on which
>     neighbors are adjacent, and 2-hop neighbor information is needed
>     before a router can decide which neighbors should be adjacent.
>
>   - 2-hop information can be different from that obtainable from LSAs.
>     For example, LSAs may report only partial topology, whereas a node
>     may report all of its (2-way) neighbors to provide full 2-hop
>     neighbor information.
>
>
>
>Ogier                    Expires August 3, 2005                [Page 20]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>   - By making the flooding protocol independent of LSAs, it can be
>     used in MANET applications other than OSPF.
>
>   One of the advantages of the proposed method (versus using neighbor-
>   selected MPRs) is that full 2-hop neighbor information is not
>   required. In fact, it is only necessary for each router to keep all
>   neighbors informed of its (Backup) Dependent Neighbors.  This can
>   reduce overhead dramatically in a highly mobile, dense network.
>
>   The Hello protocol described below is flexible in that a router can
>   send full Hellos that provide full 2-hop neighbor information, or can
>   send differential Hellos and provide only *partial* 2-hop neighbor
>   information by periodically including a list of its Dependent
>   Neighbors in a Hello (to reduce overhead).  It can also send
>   differential Hellos and provide *full* 2-hop neighbor information by
>   periodically sending a full Hello.  This latter approach reduces
>   overhead by sending full Hellos less frequently (e.g., every 10
>   seconds), while sending differential Hellos more frequently (e.g.,
>   every 2 seconds) to allow faster response to topology changes.
>
>10.1. Full Hellos
>
>    We first describe the contents of a full Hello packet, which depends
>    on the state of each neighbor (Down, Init, 2-Way, etc. as in legacy
>    OSPF), and on whether each neighbor is Dependent. (A neighbor in
>    state 2-Way or higher may or may not be Dependent.)  A full Hello
>    contains three lists of Router IDs, which are formatted as TLVs:
>
>    - Heard Neighbor List (HNL): Includes all neighbors in state
>      Init or higher that are not included in the Dependent Neighbor
>      List or the Non-Dependent Neighbor List.
>
>    - Dependent Neighbor List (DNL): Includes all Dependent and
>      Backup Dependent neighbors. (Such neighbors are in state 2-Way
>      or higher.)
>
>    - Non-Dependent Neighbor List (NDNL): Includes all neighbors
>      in state 2-Way or higher that are not (Backup) Dependent.
>
>    Note that a full Hello includes the Router ID of each neighbor that
>    is in state Init or higher, as does a Hello in legacy OSPF.  A
>    router that chooses not to send differential Hellos must send a full
>    Hello every HelloInterval seconds.
>
>10.2. Differential Hellos
>
>    A differential Hello includes neighbors whose status has recently
>    changed, and also includes a full Dependent Neighbor List
>
>
>
>Ogier                    Expires August 3, 2005                [Page 21]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>    periodically, at least once every 2HopRefresh seconds (typically
>    equal to a few Hello intervals).  If the router chooses to report
>    full 2-hop neighbor information, indicated by the parameter
>    Full2HopNbrInfo being equal to 1, then a full Non-Dependent Neighbor
>    List must also be included in a Hello every 2HopRefresh seconds.
>    (Alternatively, a full Hello may be sent every 2HopRefresh seconds.)
>
>    In a differential Hello, the HNL, DNL, and NDNL lists can be partial
>    or full, indicated by an option bit.  In addition to these lists, a
>    differential Hello may also include the following list:
>
>    - Lost Neighbor List (LNL): Includes neighbors that recently
>      transitioned to the Down state.
>
>    Whenever the status of a neighbor changes (as defined below), the
>    neighbor is included in the appropriate list of the next
>    RouterDeadCount (typically 3) Hellos, or until the status changes
>    again. Each Hello contains a Hello Sequence Number (HSN), which is
>    incremented with each Hello sent on a given interface.  This allows
>    a router to determine whether it has missed RouterDeadCount
>    consecutive Hellos sent by a neighbor, and thus may have missed a
>    status change reported by the neighbor, as described in the section
>    on receiving Hellos.
>
>    The status changes that are reported in Hellos, and the
>    corresponding list in which the neighbor is included, are as
>    follows:
>
>    - The neighbor state changes to Down: Lost Neighbor List.
>
>    - The neighbor state changes to Init: Heard Neighbor List
>
>    - The neighbor becomes Dependent: Dependent Neighbor List
>
>    - The neighbor state changes to 2-Way (or higher) and the neighbor
>      is not (Backup) Dependent: Heard Neighbor List if Full2HopNbrInfo
>      is 0; otherwise Non-Dependent Neighbor List.
>
>    - The neighbor changes from (Backup) Dependent to non-dependent, but
>      is still 2-Way (or higher): Heard Neighbor List if Full2HopNbrInfo
>      is 0; otherwise Non-Dependent Neighbor List.
>
>    Note that a neighbor that is included in a differential Hello
>    appears in the same list as it would in a full Hello, except that if
>    Full2HopNbrInfo is 0, then a non-dependent neighbor appears in the
>    Heard list instead of the Non-Dependent list. (The latter list is
>    never included in a Hello if Full2HopNbrInfo is 0.)
>
>
>
>
>Ogier                    Expires August 3, 2005                [Page 22]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>    Note that if the state of a neighbor changes from Down to Init (and
>    the neighbor is therefore included in the next 3 Hellos), and the
>    state of the neighbor later changes to 2-Way, then the neighbor must
>    again be included in 3 consecutive Hellos (assuming RouterDeadCount
>    is 3).  This is to ensure that the neighbor will either see itself
>    in one of the Hellos, or will declare the sending router Down after
>    missing 3 Hellos.
>
>    There is one exception to the above rule.  If the state of a
>    neighbor changes from Down to Init (and the neighbor is therefore
>    included in the next 3 Hellos), and the state changes to 2-Way
>    before the fourth Hello is sent, then the neighbor need not be
>    included in additional Hellos (since the neighbor must have received
>    one of the 3 Hellos that included the neighbor, or will declare the
>    sending router Down).
>
>10.3. Receiving Hellos
>
>    A received Hello is processed first to update the state of the
>    sending neighbor, and then to update the 2-hop neighbor information.
>    The neighbor state can be affected by the following events related
>    to received Hellos:
>
>    SufficientHellosReceived
>      A Hello has been received from the neighbor. To ensure good link
>      quality, and to employ hysteresis, a stricter condition may be
>      imposed, such as requiring that two consecutive Hellos have been
>      received.
>
>    2-WayReceived
>       Router sees itself in any list of the neighbor=E2=80=99s Hello
>       packet except for the Lost Neighbors list.
>
>    1-WayReceived
>       Router sees itself in the Lost Neighbors list of the neighbor=E2=80=
=99s
>       Hello packet, or does not see itself in any list of a full
>       Hello packet.
>
>    InsufficientHellosReceived
>       A Hello has been received whose sequence number indicates that
>       the last RouterDeadCount Hellos were missed. To ensure good
>       link quality, other criteria may be used, such as missing k of
>       the last n Hellos (for some k and n). However, this event MUST
>       occur whenever the last RouterDeadCount Hellos were missed.
>
>    InactivityTimer
>       No Hello has been received from the neighbor for
>       RouterDeadInterval, which must be at least RouterDeadCount
>
>
>
>Ogier                    Expires August 3, 2005                [Page 23]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>       times HelloInterval.
>
>    These events cause the following neighbor state changes, which in
>    turn may affect the contents of future Hello packets as described
>    above.
>
>      Event                        Old State(s)    New State
>      ------------------------     ------------    ---------
>      SufficientHellosReceived     Down             Init
>
>      2-WayReceived                Init             2-Way
>
>      1-WayReceived                2-Way or higher  Init
>
>      InsufficientHellosReceived   Init or higher   Down
>
>      InactivityTimer              Init or higher   Down
>
>
>10.4. Processing a Hello for 2-hop Neighbor Information
>
>    Each router maintains, for each neighbor j in state Init or higher,
>    a list DN_j of (Backup) Dependent neighbors reported by node j, and
>    a list NDN_j of non-dependent neighbors reported by node j. (The
>    latter list will be empty if node j is not reporting full 2-hop
>    neighbor information.)  The union of these two lists is N_j, the
>    list of all neighbors reported by node j.  The list N_j for all
>    neighbors j that are in state 2-Way or higher constitutes the 2-hop
>    neighbor information, which is used by the CDS algorithm.
>
>    If partial 2-hop neighbor information is used, it is possible that
>    two neighbors j and k are such that j is in N_k but k is not in N_j.
>    Therefore, when computing paths between neighbors in the CDS
>    algorithms, a bidirectional link is assumed to exist between two
>    neighbors j and k if *either* j is in N_k or k is in N_j.
>
>    If a Hello that contains a full DNL (respectively, NDNL) is received
>    from neighbor j, then the router simply stores the list in its
>    database as DN_j (respectively, NDN_j), replacing the old database
>    copy.
>
>    If a Hello that contains a partial DNL (respectively, NDNL) is
>    received from neighbor j, then the router adds the Router IDs in the
>    received list to DN_j (respectively, NDN_j).
>
>    A router is deleted from DN_j (respectively, NDN_j) if it appears in
>    any list other than the DNL (respectively, NDNL) in a Hello received
>    from neighbor j.  This provides fast reporting of deleted 2-hop
>
>
>
>Ogier                    Expires August 3, 2005                [Page 24]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>    neighbor information in differential Hellos.  (Note that a given
>    router can appear in at most one list in a Hello.)
>
>10.5. Comparison to Other Differential Hello Protocols
>
>    The proposed Hello protocol differs in several ways from three
>    existing Hello protocols that also use differential Hellos: TBRPF
>    [RFC3684], OLSR [RFC3626], and Cisco=E2=80=99s proposed OSPF extensi=
on
>    [Chandra04].
>
>    First, TBRPF and Cisco=E2=80=99s protocol do not use Hellos to adver=
tise
>    2-hop neighbor information, although OLSR does.  However, OLSR
>    advertises full 2-hop neighbor information and is not easily
>    modified to advertise only partial 2-hop neighbor information, since
>    all neighbors must be included in a Hello periodically. (Note that
>    the proposed Hello protocol works even if the router has no
>    Dependent Neighbors and therefore reports no 2-hop neighbor
>    information.)  In fact, OLSR requires full 2-hop neighbor
>    information for the selection of MPRs, whereas the proposed protocol
>    requires only partial 2-hop neighbor information for the selection
>    of (Backup) DRs and (Backup) Dependent Neighbors.
>
>    Also, Cisco=E2=80=99s protocol requires that a node unicast a Hello =
request
>    message to a neighbor from which a Hello was missed.  In highly
>    mobile, dense networks, Hello requests can occur frequently, thus
>    generating a large amount of overhead.  The proposed Hello protocol
>    avoids the use of a Hello request by reporting each neighbor state
>    change a few (RouterDeadCount) times.
>
>
>11. Simulation Comparison of CDS Algorithms
>
>   This section compares five algorithms from the family of CDS
>   algorithms presented in Section 4: Essential CDS, MPN (h1 =3D 3), ANP
>   (h1 =3D 3), MPN (h1 =3D 2), ANP (h1 =3D 3). Only DRs (not Backup DRs)=
 are
>   computed, and only the non-persistent version of each algorithm is
>   considered. Each algorithm is compared with RtrPri the same for all
>   nodes, and with RtrPri equal to the node degree.  The algorithms are
>   compared with respect to average CDS size (number of DRs) and average
>   stretch factor (defined in the Introduction).
>
>   For each experiment, each algorithm was run on 100 randomly generated
>   graphs, with the CDS size and stretch factor averaged over these
>   graphs.  The number of nodes ranges from 50 to 300, with the nodes
>   randomly placed in a unit square. Two values were used for the
>   transmission radius: 0.3 and 0.5. The average diameter of the graph
>   is about 5 for radius 0.3, and about 3 for radius 0.5. For 100 nodes,
>   the average degree was 21.38 for radius 0.3 and 48.04 for radius 0.5.
>
>
>
>Ogier                    Expires August 3, 2005                [Page 25]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>   Table 1 gives the average CDS sizes and Table 2 gives the average
>   stretch factor, for a radius of 0.3. Tables 3 and 4 give the results
>   for a radius of 0.5.
>
>   As expected, the most scalable of the CDS algorithms is the Essential
>   CDS algorithm, whose CDS size increased only slightly, from 20.36 to
>   23.26, when the number of nodes was increased from 100 to 300, for
>   radius 0.3.  In contrast, ANP with h1 =3D 2 and RtrPri equal to the
>   node degree, resulted in a CDS size that increased from 49.58 to
>   167.94 when the number of nodes was increased from 100 to 300.  For
>   300 nodes, this algorithm selected about 56% of the nodes, while the
>   Essential CDS algorithm selected about 8% of the nodes.  However,
>   note that the forwarding procedure of Section 6 results in only a
>   subset of the CDS nodes forwarding a given LSA, if the ANP algorithm
>   is used.
>
>   Surprisingly, the Essential CDS algorithm, and all CDS algorithms
>   with h1 =3D 3, gave a smaller CDS *without* using node degree, when t=
he
>   number of nodes was greater than 100.  Thus, the most scalable
>   algorithms do not use node degree.  Another advantage of not using
>   node degree is that it results in a more stable CDS in a mobile
>   network (since the node degree changes as the topology changes).
>
>   As expected, the average stretch factor is smaller for ANP than for
>   MPN (for the same value of h1), and is smaller with h1 =3D 2 than wit=
h
>   h1 =3D 3.  It is interesting that using node degree always results in=
 a
>   smaller stretch factor.  Of course, the stretch factor for ANP with
>   h1 =3D 2 is always 1, since this algorithm provides flooding along mi=
n-
>   hop paths.
>
>   The choice of which algorithm to use depends on what stretch factor
>   is considered acceptable.  For example, if one wishes to obtain the
>   smallest CDS that has a stretch factor less than 1.05 in a 200 node
>   network, then the best choice would be ANP with h1 =3D 3 and RtrPri
>   equal to node degree.  Note that all of these algorithms are
>   interoperable since the CDS computed by each algorithm contains the
>   Essential CDS. Therefore, different routers MAY use different
>   algorithms from the proposed family of CDS algorithms.
>
>
>
>
>
>
>
>
>
>
>
>
>
>Ogier                    Expires August 3, 2005                [Page 26]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>                                      Number of Nodes
>           --------------------------------------------------
>           Algorithm   RtrPri    50     100     200     300
>           --------------------------------------------------
>           Essential     1      17.50   20.36   22.14   23.26
>           Essential   degree   13.79   18.66   27.42   33.14
>           --------------------------------------------------
>           MPN (h1=3D3)    1      18.03   21.32   23.35   24.50
>           MPN (h1=3D3)  degree   13.84   18.74   27.49   34.21
>           --------------------------------------------------
>           ANP (h1=3D3)    1      18.53   23.70   26.70   28.26
>           ANP (h1=3D3)  degree   14.52   20.26   28.79   35.50
>           --------------------------------------------------
>           MPN (h1=3D2)    1      22.96   35.01   48.31   57.96
>           MPN (h1=3D2)  degree   15.25   24.03   37.55   48.67
>           ---------------------------------------------------
>           ANP (h1=3D2)    1      30.41   62.69  128.73  194.71
>           ANP (h1=3D2)  degree   23.67   49.58  108.15  167.94
>        ---------------------------------------------------
>
>                Table 1.  Average CDS size for radius 0.3
>
>
>                                      Number of Nodes
>           --------------------------------------------------
>           Algorithm   RtrPri    50     100     200     300
>           --------------------------------------------------
>           Essential     1      1.108   1.167   1.188   1.191
>           Essential   degree   1.046   1.071   1.070   1.072
>           --------------------------------------------------
>           MPN (h1=3D3)    1      1.087   1.137   1.158   1.165
>           MPN (h1=3D3)  degree   1.044   1.067   1.068   1.071
>           --------------------------------------------------
>           ANP (h1=3D3)    1      1.062   1.098   1.119   1.126
>           ANP (h1=3D3)  degree   1.034   1.032   1.036   1.060
>           --------------------------------------------------
>           MPN (h1=3D2)    1      1.034   1.044   1.053   1.054
>           MPN (h1=3D2)  degree   1.027   1.032   1.036   1.037
>           ---------------------------------------------------
>           ANP (h1=3D2)    1      1.000   1.000   1.000   1.000
>           ANP (h1=3D2)  degree   1.000   1.000   1.000   1.000
>           ---------------------------------------------------
>
>             Table 2.  Average stretch factor for radius 0.3
>
>
>
>
>
>
>
>Ogier                    Expires August 3, 2005                [Page 27]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>                                      Number of Nodes
>           --------------------------------------------------
>           Algorithm   RtrPri    50     100     200     300
>           --------------------------------------------------
>           Essential     1       7.02    7.59    8.21    8.46
>           Essential   degree    5.14    8.03   13.47   18.54
>           --------------------------------------------------
>           MPN (h1=3D3)    1       7.19    7.76    8.41    8.69
>           MPN (h1=3D3)  degree    5.14    8.03   13.47   18.54
>           --------------------------------------------------
>           ANP (h1=3D3)    1       7.55    8.44    9.36    9.60
>           ANP (h1=3D3)  degree    5.16    8.03   13.47   18.54
>           --------------------------------------------------
>           MPN (h1=3D2)    1      10.37   12.53   15.32   16.21
>           MPN (h1=3D2)  degree    5.14    8.03   13.47   18.54
>           ---------------------------------------------------
>           ANP (h1=3D2)    1      19.32   36.03   64.37   91.56
>           ANP (h1=3D2)  degree   11.77   22.80   43.81   64.95
>           ---------------------------------------------------
>
>                Table 3.  Average CDS size for radius 0.5
>
>
>                                      Number of Nodes
>           --------------------------------------------------
>           Algorithm   RtrPri    50     100     200     300
>           --------------------------------------------------
>           Essential     1      1.088   1.091   1.093   1.091
>           Essential   degree   1.017   1.016   1.013   1.012
>           --------------------------------------------------
>           MPN (h1=3D3)    1      1.079   1.083   1.083   1.081
>           MPN (h1=3D3)  degree   1.017   1.016   1.013   1.012
>           --------------------------------------------------
>           ANP (h1=3D3)    1      1.061   1.065   1.063   1.063
>           ANP (h1=3D3)  degree   1.016   1.016   1.013   1.012
>           --------------------------------------------------
>           MPN (h1=3D2)    1      1.033   1.034   1.035   1.036
>           MPN (h1=3D2)  degree   1.017   1.016   1.013   1.012
>           ---------------------------------------------------
>           ANP (h1=3D2)    1      1.000   1.000   1.000   1.000
>           ANP (h1=3D2)  degree   1.000   1.000   1.000   1.000
>           ---------------------------------------------------
>
>             Table 4.  Average stretch factor for radius 0.5
>
>
>
>
>
>
>
>Ogier                    Expires August 3, 2005                [Page 28]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>12. Major Changes
>
>   Changes from version 02 to version 03:
>
>   - A flexible Hello protocol is presented that allows routers to
>     send either full or differential Hellos, in which either full or
>     partial 2-hop neighbor information is advertised periodically.
>     Partial information consists of (Backup) Dependent Neighbors.
>
>   - The ANP CDS algorithm has been modified to allow the possibility
>     that a router can be a DR of one neighbor and a Backup DR of
>     another neighbor. To allow this, the algorithm now distinguishes
>     between Dependent Neighbors and Backup Dependent Neighbors.
>
>   - The flooding procedure (Section 6) has also been modified to
>     distinguish between Dependent and Backup Dependent Neighbors.
>
>   - The ANP CDS algorithm has been modified to allow a (Backup) DR
>     to declare all of its neighbors to be (Backup) Dependent,
>     thus making all neighbors adjacent (which is always the case
>     in the other CDS algorithms).
>
>   - The rule for forming adjacencies has been modified so that an
>     adjacency is formed between two routers if and only if one of
>     the routers is a (Backup) Dependent Neighbor of the other one.
>     Since Hellos advertise (Backup) Dependent Neighbors, each router
>     knows which neighbors it should become adjacent with.
>
>
>References
>
>   [Adjih02] C. Adjih, P. Jacquet, and L. Viennot. "Computing connected
>        dominated sets with multipoint relays", INRIA research report
>        No. 4597, October 2002.
>
>   [Chandra04] M.W. Chandra, Editor. "Extensions to OSPF to Support
>        Mobile Ad Hoc Networking", Internet-Draft (work in progress),
>        draft-chandra-ospf-manet-ext-02.txt, October 2004.
>
>   [Lin03] T. Lin, S.F. Midkiff, and J.S. Park. "A Framework for
>        Wireless Ad Hoc Routing Protocols", IEEE WCNC, March 2003.
>
>   [RFC2328] J. Moy. "OSPF Version 2", RFC 2328, April 1998.
>
>   [RFC2740] R. Coltun, D. Ferguson, and J. Moy. "OSPF for IPv6", RFC
>        2740, December 1999.
>
>   [RFC3626] T. Clausen, P. Jacquet (ed). "Optimized Link State Routing
>
>
>
>Ogier                    Expires August 3, 2005                [Page 29]
>=0C
>Internet-Draft           MANET Extension of OSPF           February 2005
>
>
>        Protocol (OLSR)", RFC 3626, October 2003.
>
>   [RFC3684] R. Ogier, F. Templin, and M. Lewis. "Topology Dissemination
>        Based on Reverse Path Forwarding", RFC 3684, February 2004.
>
>   [Suurballe84] J.W. Suurballe and R.E. Tarjan. "A Quick Method for
>        Finding Shortest Pairs of Disjoint Paths", Networks, Vol. 14,
>        pp. 325-336.
>
>
>Author=E2=80=99s Address
>
>   Richard G. Ogier
>   EMail: rich.ogier@earthlink.net
>
>
>Disclaimer of Validity
>
>   This document and the information contained herein are provided on an
>   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
>   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
>   ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
>   INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
>   INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
>   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
>
>
>Copyright Statement
>
>   Copyright (C) The Internet Society (2005). This document is subject
>   to the rights, licenses and restrictions contained in BCP 78, and
>   except as set forth therein, the authors retain all their rights.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>Ogier                    Expires August 3, 2005                [Page 30]
> =20
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Ospf-wireless-design mailing list
>Ospf-wireless-design@lists.ietf.org
>https://www1.ietf.org/mailman/listinfo/ospf-wireless-design
> =20
>

_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design


From ospf-wireless-design-bounces@ietf.org  Fri Feb  4 12:39:19 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA18222;
	Fri, 4 Feb 2005 12:39:19 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1Cx7jF-0007Xo-D7; Fri, 04 Feb 2005 12:58:49 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Cx7OA-0007pZ-37; Fri, 04 Feb 2005 12:37:02 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Cx7KH-0006MH-P1
	for ospf-wireless-design@megatron.ietf.org;
	Fri, 04 Feb 2005 12:33:01 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA17681
	for <ospf-wireless-design@ietf.org>;
	Fri, 4 Feb 2005 12:32:58 -0500 (EST)
Received: from pop-a065d19.pas.sa.earthlink.net ([207.217.121.253])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1Cx7d4-0007Nk-60
	for ospf-wireless-design@ietf.org; Fri, 04 Feb 2005 12:52:28 -0500
Received: from dialup-4.243.128.153.dial1.sanfrancisco1.level3.net
	([4.243.128.153] helo=earthlink.net)
	by pop-a065d19.pas.sa.earthlink.net with esmtp (Exim 3.33 #1)
	id 1Cx7I1-0006ku-00; Fri, 04 Feb 2005 09:30:42 -0800
Message-ID: <4203B13F.8090800@earthlink.net>
Date: Fri, 04 Feb 2005 09:30:39 -0800
From: Richard Ogier <rich.ogier@earthlink.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 (emach0202)
X-Accept-Language: en-us
MIME-Version: 1.0
To: "Madhavi W. Chandra" <mchandra@cisco.com>
Subject: Re: [Ospf-wireless-design] Simulation needed: CDS vs. Overlapping
	Relays
References: <20050203225155.GA27795@cisco.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 7da5a831c477fb6ef97f379a05fb683c
Content-Transfer-Encoding: 7bit
Cc: ospf-wireless-design@ietf.org
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team  <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 932cba6e0228cc603da43d861a7e09d8
Content-Transfer-Encoding: 7bit

Madhavi,

I would like to add a few more comments for clarification.

Your comparison of neighbor selected MPRs (overlapping relays) vs.
self-selected CDS nodes (DRs/BDRs) is not really a comparison
of MPRs vs. CDS nodes. The differences you noted were mostly
due to the fact that your MPR solution uses LSAs to learn
2-hop neighbor information, and my CDS solution uses Hellos
to learn 2-hop neighbor information. My solution could easily
use LSAs to learn 2-hop neighbor information, in which case
the advantages of MPRs that you noted disappear.

I decided to use Hellos instead of LSAs to learn 2-hop neighbor
information for the following reasons:

- To learn full 2-hop neighbor information with LSAs requires
  that full LSAs must be originated and flooded, which can
  result in a huge amount of overhead in a highly mobile,
  dense network. It would be nice to at least have the option
  of not requiring full topology LSAs.

- Although it is possible to use LSAs that advertise only partial
  topology (Dependent Neighbors) when the CDS solution is used,
  and to use these partial LSAs for learning 2-hop neighbor
  information, this would require sending originated LSAs
  reliably to all neighbors (which is avoided in my draft).
  Because LSAs are not differential, and because of the
  MinLSInterval delay between LSAs (which can be significant
  when neighbor changes are frequent), using differential
  Hellos seems to require less overhead and to react more
  quickly to topology changes.

You also noted some differences due to the fact that
my CDS solution forms full adjacencies between DRs
and their neighbors. However, full adjacencies do not
need to be formed (simulations will help decide this),
and they are no more necessary for the CDS solution
than for the MPR solution.

Richard



Madhavi W. Chandra wrote:

>Hi All,
>
>I've read Richard's paper on CDS algorithms, and I must say
>that it is very well written and insightful! We have some
>comments/thoughts that I'd like to bring to light.  I'll bring
>these up, so that others can ponder on them also.  However, I
>think that we (DT) need to do simulations to really understand
>and compare the behavior of the CDS algorithms and Overlapping
>Relays.  It wouldn't be fruitful to embark on a theoretical
>debate without the simulations.
>
>How can we work as a DT to have Richard's models and Boeing's models
>on the same simulation platform...maybe Richard's models can be ported
>to the GTnetS simulation engine that Tom released?  This would be very
>helpful in running simulations to compare CDS and Overlapping
>relays.  Of course, we would need to validate the simulation models
>to ensure that they faithfully represent the algorithms before we
>can confidently use them as decision tools.
>
>I've included the comments at the end of this email.
>
>Thanks,
>Madhavi
>
>Comments on CDS paper:
>
>- It seems that the response time (convergence time) of CDS algorithms
>is not faster than Overlapping Relays.  Rather, it seems that
>Overlapping Relays are no worse...and in fact, they may be better since
>a Hello can be sent immediately after the Overlapping Relay set changes.
>Even removing the optimization of sending a Hello early for Overlapping
>Relays, both algorithms react only after Hello time. For example,
>
>   - Overlapping Relays: Overlapping Relay set is learned in Hello.
>                         Overlapping Relays perform immediately.
>
>   - CDS:   Neighbor changes learned in Hello.
>            CDS Computation
>            CDS nodes bring up adjacencies
>            CDS set performs
>
>So, both rely on Hello time, and it seems that the latency after Hello
>time is less for Overlapping Relays since there is no computation and
>potentially establishing multiple additional adjacencies.
>
>- A Hello packet can be sent early in both algorithms to reduce the
>response time.  In the case of Overlapping relays, the early Hello
>will indicate a changed relay set.  In the case of CDS algorithms,
>a Hello can also be sent earlier so that neighbor changes and necessary
>parameters can be learned earlier.  But, they are both different
>performance/overhead hits.  Meaning, in CDS algorithms, it would
>require ALL nodes to send a Hello immediately after ANY neighbor
>changes...which is much more overhead than sending a Hello early if
>the Overlapping relay set changes.
>
>- It seems that tieing the control plane and data plane together will
>have an impact on the latency imposed on the data forwarding.  Meaning,
>when the CDS set changes, the new DR's need to bring up multiple
>adjacencies before being able to reliably forward data traffic.  This
>will impact packet delivery ratios. We're also wondering about the
>implications on burdening the same set of nodes with control and
>data traffic, e.g., power.  It may be desirable to use a larger
>set of links (maybe all) for data plane, while keeping the smaller
>set of CDS links for the control plane.
>
>- While the persistent mode will mitigate the effect of toggling
>CDS sets, it seems that it will still lead to the 'hokey-pokey'
>effect (term coined by Acee).  That is, a node can keep
>putting itself in the set and removing itself from the set (based
>on connectivity, overlap, and redundancy).  Each time, the adjacencies
>need to be either torn down...or brought back up, which is a nontrivial
>effort and overhead in terms of database exchange.  Even if database
>exchange is optimized, it is still wasted and unnecessary effort.
>
>- The hokey-pokey effect will not arise in Overlapping Relays since the
>selector node will not change the relay set, and allow an Overlapping
>Relay to stay an Overlapping relay as long as coverage is not
>compromised.
>
>- We need to look at Packet Delivery Ratio and Network Throughput
>(measure combined data and control traffic), and also look at the
>tradeoff between complexity and convergence time.
>
>_______________________________________________
>Ospf-wireless-design mailing list
>Ospf-wireless-design@lists.ietf.org
>https://www1.ietf.org/mailman/listinfo/ospf-wireless-design
>



_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design


From ospf-wireless-design-bounces@ietf.org  Fri Feb  4 14:14:54 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA25248;
	Fri, 4 Feb 2005 14:14:54 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1Cx9Dj-0001BS-Es; Fri, 04 Feb 2005 14:34:23 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Cx8tn-0004sO-UF; Fri, 04 Feb 2005 14:13:47 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Cx8oq-0003sX-Us
	for ospf-wireless-design@megatron.ietf.org;
	Fri, 04 Feb 2005 14:08:40 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24573
	for <ospf-wireless-design@ietf.org>;
	Fri, 4 Feb 2005 14:08:38 -0500 (EST)
Received: from pop-a065d19.pas.sa.earthlink.net ([207.217.121.253])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1Cx97f-00013D-6X
	for ospf-wireless-design@ietf.org; Fri, 04 Feb 2005 14:28:08 -0500
Received: from dialup-4.243.128.196.dial1.sanfrancisco1.level3.net
	([4.243.128.196] helo=earthlink.net)
	by pop-a065d19.pas.sa.earthlink.net with esmtp (Exim 3.33 #1)
	id 1Cx8om-0005Jq-00; Fri, 04 Feb 2005 11:08:37 -0800
Message-ID: <4203C817.20005@earthlink.net>
Date: Fri, 04 Feb 2005 11:08:07 -0800
From: Richard Ogier <rich.ogier@earthlink.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 (emach0202)
X-Accept-Language: en-us
MIME-Version: 1.0
To: Acee Lindem <acee@cisco.com>
Subject: Re: [Ospf-wireless-design] Update to draft-ogier-manet-ospf-extension
References: <42027AAE.2060907@earthlink.net> <420307A1.6070406@cisco.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 2.9 (++)
X-Scan-Signature: 6cca30437e2d04f45110f2ff8dc1b1d5
Content-Transfer-Encoding: 7bit
Cc: ospf-wireless-design@ietf.org
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team  <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 2.9 (++)
X-Scan-Signature: 31247fb3be228bb596db9127becad0bc
Content-Transfer-Encoding: 7bit

Hi Acee,

I can provide more details, but probably not before
the meeting deadline.  I know that Tom Henderson and
his group are implementing some of the algorithms in
my draft in GTNetS, to compare them with the overlapping
relay solution.  The description in my draft should be
enough for them to implement it, although they will have
to fill in some details.  If their simulation results
show that my solution is promising, then I can work
further on the draft, to provide more details, etc.
However, I hope this would be a team effort, i.e.,
that other team members (such as Boeing) would
help write a complete specification of whatever
solution we decide on.

Richard


Acee Lindem wrote:

> Hi Richard,
> Could you add some details on the actual protocol encoding
> changes you envision (either inline or in an appendix). It doesn't
> have to be WG last call quality just precise enough so someone
> could code it for a simulation. You can LLS or backward compatible
> mechanisms.
>
> Thanks,
> Acee
>
> Richard Ogier wrote:
>
>> All,
>>
>> An update to my draft is attached. The main changes are
>> summarized below. I will submit the final version before
>> the meeting deadline (February 21). Comments are welcome.
>>
>> Richard
>>
>> Changes from version 02 to version 03:
>>
>> - A flexible Hello protocol is presented that allows routers to
>> send either full or differential Hellos, in which either full or
>> partial 2-hop neighbor information is advertised periodically.
>> Partial information consists of (Backup) Dependent Neighbors.
>>
>> - The ANP CDS algorithm has been modified to allow the possibility
>> that a router can be a DR of one neighbor and a Backup DR of
>> another neighbor. To allow this, the algorithm now distinguishes
>> between Dependent Neighbors and Backup Dependent Neighbors.
>>
>> - The flooding procedure (Section 6) has also been modified to
>> distinguish between Dependent and Backup Dependent Neighbors.
>>
>> - The ANP CDS algorithm has been modified to allow a (Backup) DR
>> to declare all of its neighbors to be (Backup) Dependent,
>> thus making all neighbors adjacent (which is always the case
>> in the other CDS algorithms).
>>
>> - The rule for forming adjacencies has been modified so that an
>> adjacency is formed between two routers if and only if one of
>> the routers is a (Backup) Dependent Neighbor of the other one.
>> Since Hellos advertise (Backup) Dependent Neighbors, each router
>> knows which neighbors it should become adjacent with.
>>
>>
>>
>> _______________________________________________
>> Ospf-wireless-design mailing list
>> Ospf-wireless-design@lists.ietf.org
>> https://www1.ietf.org/mailman/listinfo/ospf-wireless-design
>>  
>>
>



_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design


From ospf-wireless-design-bounces@ietf.org  Sat Feb  5 14:33:24 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24098;
	Sat, 5 Feb 2005 14:33:24 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CxVzO-0006KL-8b; Sat, 05 Feb 2005 14:53:06 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CxVXd-0003oT-5f; Sat, 05 Feb 2005 14:24:25 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CxVSe-00039r-36
	for ospf-wireless-design@megatron.ietf.org;
	Sat, 05 Feb 2005 14:19:16 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23029
	for <ospf-wireless-design@ietf.org>;
	Sat, 5 Feb 2005 14:19:14 -0500 (EST)
Received: from pop-a065d23.pas.sa.earthlink.net ([207.217.121.254])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CxVlg-00063n-AN
	for ospf-wireless-design@ietf.org; Sat, 05 Feb 2005 14:38:56 -0500
Received: from dialup-4.243.140.211.dial1.sanfrancisco1.level3.net
	([4.243.140.211] helo=earthlink.net)
	by pop-a065d23.pas.sa.earthlink.net with esmtp (Exim 3.33 #1)
	id 1CxVSa-0007d8-00; Sat, 05 Feb 2005 11:19:13 -0800
Message-ID: <42051C2F.2040402@earthlink.net>
Date: Sat, 05 Feb 2005 11:19:11 -0800
From: Richard Ogier <rich.ogier@earthlink.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 (emach0202)
X-Accept-Language: en-us
MIME-Version: 1.0
To: "Madhavi W. Chandra" <mchandra@cisco.com>
Subject: Re: [Ospf-wireless-design] Simulation needed: CDS vs. Overlapping
	Relays
References: <20050203225155.GA27795@cisco.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 2.9 (++)
X-Scan-Signature: 6ffdee8af20de249c24731d8414917d3
Content-Transfer-Encoding: 7bit
Cc: ospf-wireless-design@ietf.org
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team  <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 2.9 (++)
X-Scan-Signature: 8fbbaa16f9fd29df280814cb95ae2290
Content-Transfer-Encoding: 7bit

All,

I have a better understanding the following point made by Madhavi
and have some additional comments.

>- While the persistent mode will mitigate the effect of toggling
>CDS sets, it seems that it will still lead to the 'hokey-pokey'
>effect (term coined by Acee).  That is, a node can keep
>putting itself in the set and removing itself from the set (based
>on connectivity, overlap, and redundancy).  Each time, the adjacencies
>need to be either torn down...or brought back up, which is a nontrivial
>effort and overhead in terms of database exchange.  Even if database
>exchange is optimized, it is still wasted and unnecessary effort.
>


I agree that if the Essential/MPN CDS algorithm is used,
so that all neighbors of a DR/BDR are adjacent
(as in legacy OSPF), then it would be inefficient
to simply do a database exchange with all neighbors as
in legacy OSPF. That is why I suggested the enhancement
(Section 9) in which a new DR *multicasts* a DD packet(s) to all
neighbors, and each neighbor acknowledges the DD packet(s) with
a DD packet that describes only LSAs that the DR does not have
(if any).  (If necessary, the DR can retransmit the DD packet,
either as a unicast or as a multicast, as explained in my draft.)

Using the persistent version of the CDS algorithm will make
this happen less often, so simulations are needed to see
whether this enhancement is really needed in this case.
However, it seems foolish to do it the inefficient way!

In Cisco's solution, it seems that all neighbors are adjacent,
so database exchange is performed whenever any router gets
a new neighbor.  This can also be done with the CDS approach,
if it results in less overhead.  Again, simulations are needed
to see if this helps. (Note that partial topology LSAs can
still be used, since a router can still include only (Backup)
Dependent Neighbors in its LSA.)

>- The hokey-pokey effect will not arise in Overlapping Relays since the
>selector node will not change the relay set, and allow an Overlapping
>Relay to stay an Overlapping relay as long as coverage is not
>compromised.
>

I now see the difference you are talking about. You are saying
that each MPR can be persisent, which is different from saying
that each CDS node (DR) can be persistent. However, since
Dependent Neighbors are equivalent to MPR selectors (if the
ANP CDS algorithm is used) it is possible to make Dependent
Neighbors persistent in the CDS approach, which would then
be equivalent to making MPRs persistent.
I.e., a Dependent Neighbor remains a Dependent Neighbor as long
as possible. (It is easy to modify my draft to do this.)
(For background, a node is in the CDS if and only if it has at
least one Dependent Neighbor.)

Since Dependent Neighbors must be adjacent, this might help
reduce the rate at which adjacencies must be established.
However, it will also cause a problem, whether applied to Dependent
Neighbors or to MPRs, which was mentioned before on this list.
It will make MPRs less correlated among different nodes
(since we cannot select MPRs based on router ID in order to
maximize agreement and thus reduce the total number of nodes
that are MPR of some neighbor), which may result in each LSA
being relayed by a larger number of MPRs.
That is why I decided to make CDS nodes persistent, instead
of Dependent Neighbors.  However, the other way can also be
compared in simulations.

I was thinking that, if MPRs are used, then it is only necessary
to form adjacencies between each node and its MPRs. This works
for Dependent Neighbors in the CDS approach, but unfortunately
it does not work for MPRs because the MPRs selected by different
nodes are not coordinated in the way that Dependent Neighbors are
in the CDS approach, as shown in the following example.

       1
     /   \
    3-----4
     \   /
       2


Suppose MPRs are used, with the following selection:
Node 1 selects node 3 as MPR
Node 2 selects node 4 as MPR
Then if we form adjacencies between each node and its MPRs,
then the adjacent pairs will be [1,3] and [2,4].
These two adjacencies do not connect nodes 1 and 2,
which are therefore not guaranteed to be synchronized.

Now suppose a CDS is used, and that all nodes have the same RtrPri.
Since node 4 has a larger ID than its neighbors, it will select
itself as a DR, and all neighbors will be Dependent Neighbors.
Therefore, the adjacent pairs will be [4,1], [4,2], and [4,3],
which connects all nodes in the network.

Another advantage of the CDS approach that I recently pointed
out is that only *partial* 2-hop neighbor information is
needed with the CDS approach. This can be illustrated with the
same example above. Node 4 is the only node with Dependent
Neighbors, so in the partial 2-hop neighbor approach, it is the
only node that needs to advertise this set of neighbors to its
neighbors.  Once node 3 has this 2-hop neighbor information
from node 4, it knows that node 4 will select itself as a CDS node
to act as a relay between nodes 1 and 2, and node 3 does not have
to advertise any of its neighbors to its neighbors.

HOWEVER, in my draft, it is important that each node advertise
not only its Dependent Neighbors in Hellos, but also its
Backup Dependent Neighbors, for robustness. So any simulation
that evaluates the use of partial 2-hop neighbor information
must include Backup Dependent Neighbors.

A simple way to look at this, if the Essential/MPN CDS algorithm
is used, so that all neighbors of each DR are Dependent and all
neighbors of each BDR are Backup Dependent, is that only
DR and BDR routers need to send full Hellos periodically,
and the other routers only need to send differential Hellos to
discover neighbors.

Regards,
Richard


_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design


From ospf-wireless-design-bounces@ietf.org  Tue Feb  8 01:26:41 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA15533;
	Tue, 8 Feb 2005 01:26:41 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CyP9C-0003lJ-C6; Tue, 08 Feb 2005 01:46:54 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CyOou-0004lD-PR; Tue, 08 Feb 2005 01:25:56 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CyOnU-0004PH-A4
	for ospf-wireless-design@megatron.ietf.org;
	Tue, 08 Feb 2005 01:24:28 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA15411
	for <ospf-wireless-design@ietf.org>;
	Tue, 8 Feb 2005 01:24:27 -0500 (EST)
Received: from slb-smtpout-01.boeing.com ([130.76.64.48])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CyP71-0003hM-RE
	for ospf-wireless-design@ietf.org; Tue, 08 Feb 2005 01:44:40 -0500
Received: from stl-av-01.boeing.com ([192.76.190.6])
	by slb-smtpout-01.boeing.com (8.9.2.MG.10092003/8.8.5-M2) with ESMTP id
	WAA21514; Mon, 7 Feb 2005 22:23:42 -0800 (PST)
Received: from XCH-NWBH-02.nw.nos.boeing.com (localhost [127.0.0.1])
	by stl-av-01.boeing.com (8.11.3/8.11.3/MBS-AV-LDAP-01) with ESMTP id
	j186NnJ13248; Tue, 8 Feb 2005 00:23:49 -0600 (CST)
Received: from XCH-NW-27.nw.nos.boeing.com ([192.48.4.101]) by
	XCH-NWBH-02.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.211); 
	Mon, 7 Feb 2005 22:23:49 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Ospf-wireless-design] Simulation needed: CDS vs.
	OverlappingRelays
Date: Mon, 7 Feb 2005 22:23:47 -0800
Message-ID: <6938661A6EDA8A4EA8D1419BCE46F24C06648E66@xch-nw-27.nw.nos.boeing.com>
Thread-Topic: [Ospf-wireless-design] Simulation needed: CDS vs.
	OverlappingRelays
Thread-Index: AcUKdU3yC7FZhNQoSVy77RbeCGDTbwDAluNA
From: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
To: "Richard Ogier" <rich.ogier@earthlink.net>,
        "Madhavi W. Chandra" <mchandra@cisco.com>
X-OriginalArrivalTime: 08 Feb 2005 06:23:49.0332 (UTC)
	FILETIME=[C0623140:01C50DA6]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 4d87d2aa806f79fed918a62e834505ca
Content-Transfer-Encoding: quoted-printable
Cc: ospf-wireless-design@ietf.org
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team  <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 5a9a1bd6c2d06a21d748b7d0070ddcb8
Content-Transfer-Encoding: quoted-printable

> >However, I think that we (DT) need to do=20
> >simulations to really understand and compare the behavior of the CDS=20
> >algorithms and Overlapping Relays.  It wouldn't be fruitful=20
> to embark=20
> >on a theoretical debate without the simulations.
> >
> Yes, I agree.  Theoretical debates can be misleading.
> I think that Tom's group is planning to implement some of the=20
> algorithms from my draft in the GTnetS simulation.
> I can also help with this.
>=20
> >
> >
> >How can we work as a DT to have Richard's models and=20
> Boeing's models on=20
> >the same simulation platform...maybe Richard's models can be=20
> ported to=20
> >the GTnetS simulation engine that Tom released?  This would be very=20
> >helpful in running simulations to compare CDS and=20
> Overlapping relays. =20
> >Of course, we would need to validate the simulation models to ensure=20
> >that they faithfully represent the algorithms before we can=20
> confidently=20
> >use them as decision tools.
> >
> Right. It is easy to make a given method look bad by not=20
> implementing it in the best way, e.g., using the wrong=20
> parameters.  Also, it is important to compare the methods in=20
> larger networks (e.g., 100 nodes or more), since scalability=20
> is clearly a desirable attribute.

We are planning to make a new code and documentation release of the
GTNetS simulator, aiming for next week.  It will contain the following:
- a simplified wireless MAC model, to improve scalability
- porting everything forward to the recent quagga 0.98 release
- code will be distributed both as a simulator and as a patch against
0.98 (for easier implementation compiling)
- some validation examples of Cisco's overlapping relays in action
- some more test results

After that point in time, we plan to develop extensions to model
Richard's algorithms, and start to do some comparative studies.

I think that our simulator scalability will likely top out at about 50
mobile nodes.  Therefore, other techniques that do not involve modeling
of the full quagga implementation might be desirable for focused studies
of e.g., the RNS selection technique in isolation in larger graphs.  I
think that Richard has been conducting simulations along these lines
based on random graph generation.

Tom


_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design


From ospf-wireless-design-bounces@ietf.org  Wed Feb  9 16:55:36 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA01644;
	Wed, 9 Feb 2005 16:55:36 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1Cz083-0008W6-Ij; Wed, 09 Feb 2005 17:16:11 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CyzD7-0003uY-86; Wed, 09 Feb 2005 16:17:21 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CyyoB-00018Q-Gq
	for ospf-wireless-design@megatron.ietf.org;
	Wed, 09 Feb 2005 15:51:35 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA13976
	for <ospf-wireless-design@ietf.org>;
	Wed, 9 Feb 2005 15:51:33 -0500 (EST)
Received: from blv-smtpout-01.boeing.com ([130.76.32.69])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1Cyz83-0002iT-68
	for ospf-wireless-design@ietf.org; Wed, 09 Feb 2005 16:12:07 -0500
Received: from stl-av-01.boeing.com ([192.76.190.6])
	by blv-smtpout-01.boeing.com (8.9.2.MG.10092003/8.8.5-M2) with ESMTP id
	MAA23530 for <ospf-wireless-design@ietf.org>;
	Wed, 9 Feb 2005 12:51:02 -0800 (PST)
Received: from XCH-NWBH-02.nw.nos.boeing.com (localhost [127.0.0.1])
	by stl-av-01.boeing.com (8.11.3/8.11.3/MBS-AV-LDAP-01) with ESMTP id
	j19KoxJ29138 for <ospf-wireless-design@ietf.org>;
	Wed, 9 Feb 2005 14:50:59 -0600 (CST)
Received: from XCH-NW-28.nw.nos.boeing.com ([192.48.4.102]) by
	XCH-NWBH-02.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.211); 
	Wed, 9 Feb 2005 12:50:58 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Wed, 9 Feb 2005 12:50:58 -0800
Message-ID: <3BFEACE361F5BF429DD1DA593E3A7C0904C6949E@xch-nw-28.nw.nos.boeing.com>
Thread-Topic: Differential Hellos draft-chandra
Thread-Index: AcUO6Q6SvU1jZP6ZSMOO07dVqYWfaA==
From: "Spagnolo, Phillip A" <phillip.a.spagnolo@boeing.com>
To: <ospf-wireless-design@ietf.org>
X-OriginalArrivalTime: 09 Feb 2005 20:50:58.0798 (UTC)
	FILETIME=[0EC668E0:01C50EE9]
X-Spam-Score: 0.8 (/)
X-Scan-Signature: 0ff9c467ad7f19c2a6d058acd7faaec8
Subject: [Ospf-wireless-design] Differential Hellos draft-chandra
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team  <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1221676328=="
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 0.8 (/)
X-Scan-Signature: 20f22c03b5c66958bff5ef54fcda6e48

This is a multi-part message in MIME format.

--===============1221676328==
content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C50EE9.0E97E8EA"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C50EE9.0E97E8EA
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

All,
=20
Our initial implementation of differential hellos according to
draft-chandra 01 resulted in added overhead.  This arose due to a design
choice we made to send requests and answers immediately when the draft
said to send them unicast.  The savings from smaller hellos was
counteracted by the large number of hellos sent.
=20
Recently, I have modified the differential hello mechanism to run
periodically.  To this end, the following changes were made.
-All hellos are sent multicast to all routers, so a router only
generates a hello upon expiration of the hello interval.
-A new Request TLV is added.  It has the same format as the neighbor
drop TLV, except the router ids represent neighbors who should respond
with a full state hello.
-If a router desires to request full state from a neighbor then the R
bit is set and the the neighbor's ID is included in a request TLV.
-If a router desires to request full state from all neighbors then the R
bit is set and a request TLV is not sent.
-When receiving a hello with the R bit set and a Request TLV is not
included then the router sends full state at the next hello send.
-When receiving a hello with the R bit set and a Request TLV is included
then the router sends full state at the next hello if its ID is included
in the request TLV.
=20
These changes have improved the overhead generated by the differential
hellos.  As an example (just one run), I have seen 25% reduction of
hello overhead when running 20 nodes with 2 sec hello interval. =20
=20
Madhavi, what do you think of this design choice?  You had noted that
running periodic might be a better way.  How did you expect to go about
it? =20
=20
Thanks,
Phil Spagnolo=20
Network Technology Engineer=20
The Boeing Company=20
Phone:  (425) 865-6723

------_=_NextPart_001_01C50EE9.0E97E8EA
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D951342119-09022005>All,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D951342119-09022005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D951342119-09022005>Our =
initial=20
implementation of differential hellos according to draft-chandra 01 =
resulted in=20
added overhead.&nbsp; This arose due to a design choice we made to send =
requests=20
and answers immediately when the draft said to send them unicast.&nbsp; =
The=20
savings from smaller hellos was counteracted by the large number of =
hellos=20
sent.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D951342119-09022005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D951342119-09022005>Recently,&nbsp;I=20
have modified the differential hello mechanism to run =
periodically.&nbsp; To=20
this end, the following changes were made.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D951342119-09022005><SPAN=20
class=3D951342119-09022005>-All hellos are sent multicast to all =
routers, so a=20
router only generates a hello upon expiration of the hello=20
interval.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D951342119-09022005>-A new =
Request TLV=20
is added.&nbsp; It&nbsp;has the same format as the&nbsp;neighbor drop =
TLV,=20
except the router ids represent neighbors who should respond with a full =
state=20
hello</SPAN></FONT><FONT face=3DArial size=3D2><SPAN=20
class=3D951342119-09022005>.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D951342119-09022005>-If a =
router desires=20
to request full state from a neighbor then the R bit is set and =
the&nbsp;the=20
neighbor's&nbsp;ID&nbsp;is included in&nbsp;a request =
TLV.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D951342119-09022005>-If a =
router desires=20
to request full state from all neighbors then the R bit is set&nbsp;and=20
a&nbsp;request TLV is not sent.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D951342119-09022005>-When =
receiving a=20
hello with the&nbsp;R bit set and a Request TLV is not included then the =
router=20
sends full state at the next hello send.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D951342119-09022005>-When =
receiving a=20
hello&nbsp;with the R bit set and a Request TLV is included then the=20
router&nbsp;sends full state at the next hello&nbsp;if&nbsp;its&nbsp;ID =
is=20
included in the&nbsp;request TLV.</SPAN></FONT></DIV>
<DIV><SPAN class=3D951342119-09022005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D951342119-09022005><FONT face=3DArial size=3D2>These =
changes have=20
improved the overhead generated by the differential hellos.&nbsp; As an =
example=20
(just one run), I have seen 25% reduction of hello overhead when running =
20=20
nodes with 2 sec hello interval.&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=3D951342119-09022005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D951342119-09022005><FONT face=3DArial =
size=3D2>Madhavi, what do you=20
think of this design choice?&nbsp; You had noted that running periodic =
might be=20
a better way.&nbsp; How did you expect to go about it?&nbsp;=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D951342119-09022005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D951342119-09022005><FONT face=3DArial=20
size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D951342119-09022005></SPAN><FONT size=3D2>Phil=20
Spagnolo</FONT>&nbsp;<BR><FONT size=3D2>Network Technology =
Engineer</FONT>=20
<BR><FONT size=3D2>The Boeing Company</FONT> <BR><FONT =
size=3D2>Phone:&nbsp;=20
(425)&nbsp;865-6723</FONT></DIV></FONT></DIV></BODY></HTML>

------_=_NextPart_001_01C50EE9.0E97E8EA--


--===============1221676328==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design

--===============1221676328==--



From ospf-wireless-design-bounces@ietf.org  Wed Feb  9 17:21:54 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA05489;
	Wed, 9 Feb 2005 17:21:54 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1Cz0XV-0001Gk-9w; Wed, 09 Feb 2005 17:42:30 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Cz0Be-0006vO-FX; Wed, 09 Feb 2005 17:19:54 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Cyzvx-00062s-Lr
	for ospf-wireless-design@megatron.ietf.org;
	Wed, 09 Feb 2005 17:03:41 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA03339
	for <ospf-wireless-design@ietf.org>;
	Wed, 9 Feb 2005 17:03:39 -0500 (EST)
Received: from sj-iport-1-in.cisco.com ([171.71.176.70]
	helo=sj-iport-1.cisco.com) by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1Cz0Fq-0000Z4-O3
	for ospf-wireless-design@ietf.org; Wed, 09 Feb 2005 17:24:15 -0500
Received: from sj-core-1.cisco.com (171.71.177.237)
	by sj-iport-1.cisco.com with ESMTP; 09 Feb 2005 14:13:40 -0800
X-BrightmailFiltered: true
X-Brightmail-Tracker: AAAAAA==
X-IronPort-AV: i="3.88,190,1102320000"; 
	d="scan'208"; a="613412415:sNHT127779016"
Received: from mira-sjc5-b.cisco.com (IDENT:mirapoint@mira-sjc5-b.cisco.com
	[171.71.163.14])
	by sj-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id j19M35uC029372;
	Wed, 9 Feb 2005 14:03:05 -0800 (PST)
Received: from irp-view9.cisco.com (irp-view9.cisco.com [171.70.65.147])
	by mira-sjc5-b.cisco.com (MOS 3.4.5-GR) with ESMTP id BBL57808;
	Wed, 9 Feb 2005 14:03:07 -0800 (PST)
Date: Wed, 9 Feb 2005 14:03:07 -0800 (PST)
From: Abhay Roy <akr@cisco.com>
To: "Spagnolo, Phillip A" <phillip.a.spagnolo@boeing.com>
Subject: Re: [Ospf-wireless-design] Differential Hellos draft-chandra
In-Reply-To: <3BFEACE361F5BF429DD1DA593E3A7C0904C6949E@xch-nw-28.nw.nos.boeing.com>
Message-ID: <Pine.GSO.4.58.0502091400500.29915@irp-view9.cisco.com>
References: <3BFEACE361F5BF429DD1DA593E3A7C0904C6949E@xch-nw-28.nw.nos.boeing.com>
MIME-Version: 1.0
Content-Type: MULTIPART/Mixed; BOUNDARY="===============1221676328=="
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 4b800b1eab964a31702fa68f1ff0e955
Cc: ospf-wireless-design@ietf.org
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team  <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b280b4db656c3ca28dd62e5e0b03daa8

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--===============1221676328==
Content-Type: TEXT/Plain; charset=US-ASCII

Phil,

Good timing. We are playing with some changes which almost match
what you wrote down below ;) Basically the idea is use normal
multicast hello's for request/response. Hopefully we can update
this and a few more things before the ietf cut-off date.

Regards,
-Roy-

On 02/09/05-0800 at 12:50pm, Spagnolo, Phillip A writes:

> All,
>
> Our initial implementation of differential hellos according to
> draft-chandra 01 resulted in added overhead.  This arose due to a design
> choice we made to send requests and answers immediately when the draft
> said to send them unicast.  The savings from smaller hellos was
> counteracted by the large number of hellos sent.
>
> Recently, I have modified the differential hello mechanism to run
> periodically.  To this end, the following changes were made.
> -All hellos are sent multicast to all routers, so a router only
> generates a hello upon expiration of the hello interval.
> -A new Request TLV is added.  It has the same format as the neighbor
> drop TLV, except the router ids represent neighbors who should respond
> with a full state hello.
> -If a router desires to request full state from a neighbor then the R
> bit is set and the the neighbor's ID is included in a request TLV.
> -If a router desires to request full state from all neighbors then the R
> bit is set and a request TLV is not sent.
> -When receiving a hello with the R bit set and a Request TLV is not
> included then the router sends full state at the next hello send.
> -When receiving a hello with the R bit set and a Request TLV is included
> then the router sends full state at the next hello if its ID is included
> in the request TLV.
>
> These changes have improved the overhead generated by the differential
> hellos.  As an example (just one run), I have seen 25% reduction of
> hello overhead when running 20 nodes with 2 sec hello interval.
>
> Madhavi, what do you think of this design choice?  You had noted that
> running periodic might be a better way.  How did you expect to go about
> it?
>
> Thanks,
> Phil Spagnolo
> Network Technology Engineer
> The Boeing Company
> Phone:  (425) 865-6723
>
--===============1221676328==
Content-Type: TEXT/PLAIN; CHARSET=us-ascii
Content-ID: <Pine.GSO.4.58.0502091400501.29915@irp-view9.cisco.com>
Content-Description: 
Content-Disposition: INLINE

_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design

--===============1221676328==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design

--===============1221676328==--



From ospf-wireless-design-bounces@ietf.org  Wed Feb  9 19:08:41 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA15343;
	Wed, 9 Feb 2005 19:08:41 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1Cz2Co-000466-4H; Wed, 09 Feb 2005 19:29:18 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Cz1s2-0006HC-7Q; Wed, 09 Feb 2005 19:07:46 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Cz1nj-0005GQ-8f
	for ospf-wireless-design@megatron.ietf.org;
	Wed, 09 Feb 2005 19:03:19 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA15117
	for <ospf-wireless-design@ietf.org>;
	Wed, 9 Feb 2005 19:03:16 -0500 (EST)
Received: from pop-a065d19.pas.sa.earthlink.net ([207.217.121.253])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1Cz27d-00040S-AS
	for ospf-wireless-design@ietf.org; Wed, 09 Feb 2005 19:23:53 -0500
Received: from dialup-4.243.131.46.dial1.sanfrancisco1.level3.net
	([4.243.131.46] helo=earthlink.net)
	by pop-a065d19.pas.sa.earthlink.net with esmtp (Exim 3.33 #1)
	id 1Cz1nf-0004qL-00; Wed, 09 Feb 2005 16:03:16 -0800
Message-ID: <420AA4C0.2080401@earthlink.net>
Date: Wed, 09 Feb 2005 16:03:12 -0800
From: Richard Ogier <rich.ogier@earthlink.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 (emach0202)
X-Accept-Language: en-us
MIME-Version: 1.0
To: "Spagnolo, Phillip A" <phillip.a.spagnolo@boeing.com>
Subject: Re: [Ospf-wireless-design] Differential Hellos draft-chandra
References: <3BFEACE361F5BF429DD1DA593E3A7C0904C6949E@xch-nw-28.nw.nos.boeing.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 5011df3e2a27abcc044eaa15befcaa87
Content-Transfer-Encoding: 7bit
Cc: ospf-wireless-design@ietf.org
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team  <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 0.1 (/)
X-Scan-Signature: a87a9cdae4ac5d3fbeee75cd0026d632
Content-Transfer-Encoding: 7bit

That looks more reasonable, since it avoids unicast Hello requests. My 
main concern is that there will be a lot of Hello requests in a highly 
mobile, dense network, and perhaps most Hellos will be full Hellos 
(containing all neighbors).

But I noticed that they added the option of sending the entire 
incremental Hello packet k times, similar to what is done in TBRPF 
Hellos. For example, if each incremental update is sent in 3 consecutive 
Hellos, the probability of missing a given update is very low, and the 
neighbor will likely be declared lost anyway. So, I suggest running 
simulations with this option, to see if overhead is reduced. (I 
presented simulations previously showing that using this technique 
results in much lower overhead than using only full Hellos.)

One thing that bothers me regarding sending the entire incremental Hello 
packet 3 times, with the same sequence number, is that new incremental 
updates cannot be included in the 2nd and 3rd transmission of the Hello 
packet. So an entirely new Hello packet must be sent for new incremental 
updates?  Or can multiple Hello "packets", with different sequence 
numbers, be included in the same IP packet?  Or equivalently, maybe a 
given Hello packet should be allowed to contain multiple incremental 
updates having different sequence numbers.

Anyway, the differential Hello protocol in my updated draft (and also 
the TBRPF Hello protocol) avoids this problem by incrementing the Hello 
sequence number with each transmitted Hello message, and allows each 
neighbor state change to be reported in k consecutive Hellos having 
 different sequence numbers.

Richard

Spagnolo, Phillip A wrote:

> All,
>
>  
>
> Our initial implementation of differential hellos according to 
> draft-chandra 01 resulted in added overhead.  This arose due to a 
> design choice we made to send requests and answers immediately when 
> the draft said to send them unicast.  The savings from smaller hellos 
> was counteracted by the large number of hellos sent.
>
>  
>
> Recently, I have modified the differential hello mechanism to run 
> periodically.  To this end, the following changes were made.
>
> -All hellos are sent multicast to all routers, so a router only 
> generates a hello upon expiration of the hello interval.
>
> -A new Request TLV is added.  It has the same format as the neighbor 
> drop TLV, except the router ids represent neighbors who should respond 
> with a full state hello .
>
> -If a router desires to request full state from a neighbor then the R 
> bit is set and the the neighbor's ID is included in a request TLV.
>
> -If a router desires to request full state from all neighbors then the 
> R bit is set and a request TLV is not sent.
>
> -When receiving a hello with the R bit set and a Request TLV is not 
> included then the router sends full state at the next hello send.
>
> -When receiving a hello with the R bit set and a Request TLV is 
> included then the router sends full state at the next hello if its ID 
> is included in the request TLV.
>
>  
>
> These changes have improved the overhead generated by the differential 
> hellos.  As an example (just one run), I have seen 25% reduction of 
> hello overhead when running 20 nodes with 2 sec hello interval. 
>
>  
>
> Madhavi, what do you think of this design choice?  You had noted that 
> running periodic might be a better way.  How did you expect to go 
> about it? 
>
>  
>
> Thanks,
>
> Phil Spagnolo  
> Network Technology Engineer
> The Boeing Company
> Phone:  (425) 865-6723
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Ospf-wireless-design mailing list
>Ospf-wireless-design@lists.ietf.org
>https://www1.ietf.org/mailman/listinfo/ospf-wireless-design
>



_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design


From ospf-wireless-design-bounces@ietf.org  Fri Feb 11 12:46:32 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA19156;
	Fri, 11 Feb 2005 12:46:32 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CzfCU-0004ir-PF; Fri, 11 Feb 2005 13:07:32 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CzemP-00038t-2S; Fri, 11 Feb 2005 12:40:33 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Czefq-0001CE-VQ
	for ospf-wireless-design@megatron.ietf.org;
	Fri, 11 Feb 2005 12:33:47 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA18033
	for <ospf-wireless-design@ietf.org>;
	Fri, 11 Feb 2005 12:33:44 -0500 (EST)
Received: from pop-a065d19.pas.sa.earthlink.net ([207.217.121.253])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1Czf06-0004PG-6f
	for ospf-wireless-design@ietf.org; Fri, 11 Feb 2005 12:54:43 -0500
Received: from dialup-4.243.137.8.dial1.sanfrancisco1.level3.net
	([4.243.137.8] helo=earthlink.net)
	by pop-a065d19.pas.sa.earthlink.net with esmtp (Exim 3.33 #1)
	id 1Czefm-00017S-00; Fri, 11 Feb 2005 09:33:42 -0800
Message-ID: <420CEC72.6080108@earthlink.net>
Date: Fri, 11 Feb 2005 09:33:38 -0800
From: Richard Ogier <rich.ogier@earthlink.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 (emach0202)
X-Accept-Language: en-us
MIME-Version: 1.0
To: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
Subject: Re: [Ospf-wireless-design] Simulation needed: CDS vs.
	OverlappingRelays
References: <6938661A6EDA8A4EA8D1419BCE46F24C06648E66@xch-nw-27.nw.nos.boeing.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 2.9 (++)
X-Scan-Signature: 0ddefe323dd869ab027dbfff7eff0465
Content-Transfer-Encoding: 7bit
Cc: ospf-wireless-design@ietf.org
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team  <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 2.9 (++)
X-Scan-Signature: 3e15cc4fdc61d7bce84032741d11c8e5
Content-Transfer-Encoding: 7bit

Henderson, Thomas R wrote:

>
>We are planning to make a new code and documentation release of the
>GTNetS simulator, aiming for next week.  It will contain the following:
>- a simplified wireless MAC model, to improve scalability
>- porting everything forward to the recent quagga 0.98 release
>- code will be distributed both as a simulator and as a patch against
>0.98 (for easier implementation compiling)
>- some validation examples of Cisco's overlapping relays in action
>- some more test results
>
>After that point in time, we plan to develop extensions to model
>Richard's algorithms, and start to do some comparative studies.
>
>I think that our simulator scalability will likely top out at about 50
>mobile nodes.  Therefore, other techniques that do not involve modeling
>of the full quagga implementation might be desirable for focused studies
>of e.g., the RNS selection technique in isolation in larger graphs.  I
>think that Richard has been conducting simulations along these lines
>based on random graph generation.
>
>Tom
>

Yes. I am also working on ns-2 simulations with mobile nodes. This
will allow measuring things such as the number of new adjacencies
per second. I also plan to work with GTNetS, to experiment with
different options and variations of my solution.

There will be a few more changes to my draft that were not included
in the tentative version I sent earlier. One important change, for
the Essential CDS algorithm, is that not all neighbors of a DR will
be required to be dependent/adjacent. The adjacent neighbors will be
the neighbor j that maximizes (RtrPri, RID) and all other neighbors
that cannot be reached from node j via neighbors that have a
larger value of (RtrPri, RID) than the router running the algorithm.

The idea is that the DRs should ideally form a tree, with only n-1
adjacencies, which is the case in legacy OSPF. It won't actually
be a tree, because each router uses only 2-hop neighbor information,
so there will typically be more than n-1 adjacencies, but it makes
sense to minimize the number of adjacencies.

In addition, I will describe the Suurballe-Tarjan algorithm in detail,
since I think this is important for minimizing the number of BDRs.

Richard



_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design


From ospf-wireless-design-bounces@ietf.org  Tue Feb 15 20:00:26 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA07575;
	Tue, 15 Feb 2005 20:00:25 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1D1DtT-00080j-PC; Tue, 15 Feb 2005 20:22:20 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1D1DTb-0003DN-Rb; Tue, 15 Feb 2005 19:55:35 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1D1DRO-0002ej-Ee
	for ospf-wireless-design@megatron.ietf.org;
	Tue, 15 Feb 2005 19:53:18 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA06744
	for <ospf-wireless-design@ietf.org>;
	Tue, 15 Feb 2005 19:53:15 -0500 (EST)
Received: from pop-a065c28.pas.sa.earthlink.net ([207.217.121.205])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1D1DmX-0007mU-AE
	for ospf-wireless-design@ietf.org; Tue, 15 Feb 2005 20:15:09 -0500
Received: from dialup-4.243.137.133.dial1.sanfrancisco1.level3.net
	([4.243.137.133] helo=earthlink.net)
	by pop-a065c28.pas.sa.earthlink.net with esmtp (Exim 3.33 #1)
	id 1D1DRG-0005DK-00; Tue, 15 Feb 2005 16:53:11 -0800
Message-ID: <42129974.3040802@earthlink.net>
Date: Tue, 15 Feb 2005 16:53:08 -0800
From: Richard Ogier <rich.ogier@earthlink.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 (emach0202)
X-Accept-Language: en-us
MIME-Version: 1.0
To: ospf-wireless-design@ietf.org
Subject: Re: [Ospf-wireless-design] Simulation needed: CDS vs. Overlapping
	Relays
References: <20050203225155.GA27795@cisco.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.1 (/)
X-Scan-Signature: f49c97ce49302a02285a2d36a99eef8c
Content-Transfer-Encoding: 7bit
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team  <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 42e3ed3f10a1d8bef690f09da16f507a
Content-Transfer-Encoding: 7bit

All,

Madhavi W. Chandra wrote:

>
> - While the persistent mode will mitigate the effect of toggling
> CDS sets, it seems that it will still lead to the 'hokey-pokey'
> effect (term coined by Acee).  That is, a node can keep
> putting itself in the set and removing itself from the set (based
> on connectivity, overlap, and redundancy).  Each time, the adjacencies
> need to be either torn down...or brought back up, which is a nontrivial
> effort and overhead in terms of database exchange.  Even if database
> exchange is optimized, it is still wasted and unnecessary effort.



To test this hypothesis, I ran some mobile simulations.
I used the same model as the simulation results in my
draft, except that a random direction was generated for
each node at the start of the simulation, and each node was
moved 1/10 of the transmission radius each second (fast mobility),
reflecting off the boundaries of the unit square.
Each simulation was run for 500 seconds.

I used the rule that I recently posted for selecting adjacent
neighbors as part of the Essential CDS algorithm (so not all
neighbors of a DR/BDR are adjacent). For computing BDRs, I
used the Suurballe-Tarjan algorithm for computing disjoint paths,
which runs in O(d^2) time, where d is the degree.
The resulting set of DR/BDR nodes and the associated adjacencies forms
a biconnected subraph, which provides robustness to topology changes.
(BTW, if you want to simulate this, I can give you my code.)

I did not use the persistent version of the CDS algorithm,
since it did not perform any better than the non-persistent
version. Some persistence is already achieved by giving priority
to nodes with larger ID, and by not using degree (which can change
frequently). (I plan to remove the persistent version from my draft.)
However, I tried a variation in which an adjacency is torn down only
if the link breaks or neither endpoint of the link is a DR or BDR
(Table 2 below).

I measured the following statistics: average number of DRs,
average number of BDRs, average number of adjacencies induced
by DRs, average total number of adjacencies (from DRs and BDRs),
average total number of edges (equal to the number of adjacencies
in Cisco's solution), and the rates at which new adjacencies
and new edges were formed.

The results are given in the two tables below.  Of course, the
number of edges is always much larger than the number of
adjacencies, especially for dense networks,  For 300 nodes
and a radius of 0.5 (in a unit square), the number of edges
is about 36 times the number of adjacencies. However, since several
adjacencies can form when a new DR or BDR is selected (as Madhavi
pointed out), the rate of new edges is only about 9 times
the rate of new adjacencies in this case. :-)

In general, the number of edges increases quadratically with
the number of nodes, whereas the number of adjacencies increases
approximately linearly with the number of nodes.
This implies that the CDS approach is more scalable than
the approach of forming adjacencies with all neighbors.
(Of course, that is why legacy OSPF uses the DR/BDR approach.)
Am I missing something?  Does Cisco really take the approach
of forming adjacencies with all neighbors?

Table 2 gives the results for a variation in which an adjacency
is torn down only if the link breaks or neither endpoint of the
link is a DR or BDR. (Normally an adjacency is torn down when
neither endpoint is a dependent neighbor of the other endpoint.)
This variation reduces the rate of new adjacencies by roughly 30
percent, but increases the average number of adjacencies by
roughly 60 percent. It is not clear whether this is beneficial,
since adjacencies require some overhead to maintain (i.e.
LSA retransmissions and acks), so detailed simulations are
needed.

                                        Number of Nodes
     -------------------------------------------------------------
     Radius  Measure              50      100      200       300
     -------------------------------------------------------------
      0.3    Avg # DRs           17.65    20.74    23.45     22.85
             Avg # BDRs          13.39    15.47    15.54     16.45
             Avg # DR adj.       79.18   176.11   375.35    567.05
             Avg # total adj.   111.50   242.44   491.59    736.84
             Avg # edges        260.63  1055.91  4287.15   9623.68
             Ratio edges/adj      2.34     4.36     8.72     13.06
             New adj rate        24.30    59.47   128.44    189.79
             New edge rate       18.21    72.28   293.55    659.18
             Ratio edge/adj rate  0.75     1.22     2.29      3.47
     -------------------------------------------------------------
      0.5    Avg # DRs            7.12     7.77     9.14      8.43
             Avg # BDRs           5.68     6.16     6.13      6.22
             Avg # DR adj.       75.12   154.23   326.90    474.94
             Avg # total adj.   104.30   207.36   421.90    605.56
             Avg # edges        592.67  2384.30  9617.78  21646.11
             Ratio #edges/#adj    5.68    11.50    22.80     35.75
             New adj rate        23.07    47.56    96.74    136.48
             New edge rate       34.17   138.25   553.70   1245.35
             Ratio edge/adj rate  1.48     2.91     5.72      9.12
     -------------------------------------------------------------

          Table 1.  Average numbers of DRs, BDRs, and adjacencies
                    for Essential CDS algorithm using S-T algorithm
                    for BDR selection, compared to average number
                    of edges in the graph.


                                        Number of Nodes
     -------------------------------------------------------------
     Radius  Measure              50      100      200       300
     -------------------------------------------------------------
      0.3    Avg # DRs           17.65    20.74    23.45     22.85
             Avg # BDRs          13.39    15.47    15.54     16.45
             Avg # DR adj.      103.01   239.59   538.90    818.78
             Avg # total adj.   165.34   393.17   868.42   1314.54
             Avg # edges        260.63  1055.91  4287.15   9623.68
             Ratio edges/adj      1.58     2.69     4.94      7.32
             New adj rate        16.50    42.64    93.39    139.07
             New edge rate       18.21    72.28   293.55    659.18
             Ratio edge/adj rate  1.10     1.69     3.14      4.74
     -------------------------------------------------------------
      0.5    Avg # DRs            7.12     7.77     9.14      8.43
             Avg # BDRs           5.68     6.16     6.13      6.22
             Avg # DR adj.       99.53   209.59   462.65    662.36
             Avg # total adj.   171.66   356.47   759.23   1099.20
             Avg # edges        592.67  2384.30  9617.78  21646.11
             Ratio #edges/#adj    3.45     6.69    12.67     19.69
             New adj rate        15.75    33.84    70.89     98.06
             New edge rate       34.17   138.25   553.70   1245.35
             Ratio edge/adj rate  2.17     4.09     7.81     12.70
     -------------------------------------------------------------

          Table 2.  Same as Table 1, except that an adjacency is torn
                    down only if the link breaks or neither endpoint
                    of the link is DR or BDR.

Richard


_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design


From ospf-wireless-design-bounces@ietf.org  Fri Feb 18 18:38:36 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA21884;
	Fri, 18 Feb 2005 18:38:36 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1D2I3X-0006Ph-Qi; Fri, 18 Feb 2005 19:01:08 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1D2HEW-000730-Er; Fri, 18 Feb 2005 18:08:24 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1D2FVZ-0002AA-Tp
	for ospf-wireless-design@megatron.ietf.org;
	Fri, 18 Feb 2005 16:17:53 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA18840
	for <ospf-wireless-design@ietf.org>;
	Fri, 18 Feb 2005 16:17:52 -0500 (EST)
Received: from pop-a065d05.pas.sa.earthlink.net ([207.217.121.249])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1D2FrI-0004KF-79
	for ospf-wireless-design@ietf.org; Fri, 18 Feb 2005 16:40:21 -0500
Received: from dialup-4.243.131.3.dial1.sanfrancisco1.level3.net
	([4.243.131.3] helo=earthlink.net)
	by pop-a065d05.pas.sa.earthlink.net with esmtp (Exim 3.33 #1)
	id 1D2FVT-0002np-00
	for ospf-wireless-design@ietf.org; Fri, 18 Feb 2005 13:17:48 -0800
Message-ID: <42165B7B.3090903@earthlink.net>
Date: Fri, 18 Feb 2005 13:17:47 -0800
From: Richard Ogier <rich.ogier@earthlink.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 (emach0202)
X-Accept-Language: en-us
MIME-Version: 1.0
To: ospf-wireless-design@ietf.org
Subject: Re: [Ospf-wireless-design] Simulation needed: CDS vs.
	Overlapping	Relays
References: <20050203225155.GA27795@cisco.com> <42129974.3040802@earthlink.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.1 (/)
X-Scan-Signature: a7d6aff76b15f3f56fcb94490e1052e4
Content-Transfer-Encoding: 7bit
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team  <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 0.1 (/)
X-Scan-Signature: c1c65599517f9ac32519d043c37c5336
Content-Transfer-Encoding: 7bit


All,

In my last message I presented some results for the rate at which
new adjacencies are formed, and mentioned that the persistent
version of the algorithm does not help. It turns out that the
persistent version does help if the following change is made:
Each non-DR/BDR node selects two DR/BDR neighbors (called "parents")
to be adjacent with: one must be a DR and the other can be a DR or BDR.
A node keeps the same parents as long as they are still neighbors
and are still DR/BDR (persistence).

This change reduced the rate of new adjacencies dramatically.
For example, I previously said that for a 300 node network,
the rate of new adjacencies was about 1/9 the rate of new edges.
This has decreased to about 1/24. I am excited about these results!
I will include the results for all cases in my updated draft,
but here are the results for this case:

N = 300
conn_radius = 0.500000
Avg degree = 144.307427
Avg num DRs = 8.118000
Avg num BDRs = 5.566000
Avg num adj = 595.686
Avg num edges = 21646.114
Ratio num edges / num adj = 36.338
Avg rate of new adj = 51.324 (per second)
Avg rate of new edges = 1245.35 (per second)
Ratio new edge rate / new adj = 24.26

Since the ratio of the rate of new edges to the rate of new adjacencies
is about 24, and the ratio of the number of edges to the number
of adjacencies is about 36, this implies that the average life
of an adjacency is about 0.67 times the life of an edge.
But this shorter life time is greatly outweighed by the
fact that only about 3% of edges are adjacencies!

Richard




_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design


From ospf-wireless-design-bounces@ietf.org  Mon Feb 21 01:14:26 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA27531;
	Mon, 21 Feb 2005 01:14:26 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1D37C8-0006ri-71; Mon, 21 Feb 2005 01:37:25 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1D36j3-0000Ko-8j; Mon, 21 Feb 2005 01:07:21 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1D36T6-0004T6-AE
	for ospf-wireless-design@megatron.ietf.org;
	Mon, 21 Feb 2005 00:50:52 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA25606
	for <ospf-wireless-design@ietf.org>;
	Mon, 21 Feb 2005 00:50:43 -0500 (EST)
Received: from blv-smtpout-01.boeing.com ([130.76.32.69])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1D36pD-0006Ga-Hg
	for ospf-wireless-design@ietf.org; Mon, 21 Feb 2005 01:13:45 -0500
Received: from stl-av-01.boeing.com ([192.76.190.6])
	by blv-smtpout-01.boeing.com (8.9.2.MG.10092003/8.8.5-M2) with ESMTP id
	VAA23007 for <ospf-wireless-design@ietf.org>;
	Sun, 20 Feb 2005 21:50:12 -0800 (PST)
Received: from XCH-NWBH-02.nw.nos.boeing.com (localhost [127.0.0.1])
	by stl-av-01.boeing.com (8.11.3/8.11.3/MBS-AV-LDAP-01) with ESMTP id
	j1L5o9J06651 for <ospf-wireless-design@ietf.org>;
	Sun, 20 Feb 2005 23:50:09 -0600 (CST)
Received: from XCH-NW-27.nw.nos.boeing.com ([192.48.4.101]) by
	XCH-NWBH-02.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.211); 
	Sun, 20 Feb 2005 21:50:11 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Sun, 20 Feb 2005 21:50:10 -0800
Message-ID: <6938661A6EDA8A4EA8D1419BCE46F24C06648F10@xch-nw-27.nw.nos.boeing.com>
Thread-Topic: new simulator revision available
Thread-Index: AcUX2TTvYy9akywrRrGAaWoem4rmAw==
From: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
To: <ospf-wireless-design@ietf.org>
X-OriginalArrivalTime: 21 Feb 2005 05:50:11.0204 (UTC)
	FILETIME=[34DB0C40:01C517D9]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7d33c50f3756db14428398e2bdedd581
Content-Transfer-Encoding: quoted-printable
Subject: [Ospf-wireless-design] new simulator revision available
X-BeenThere: ospf-wireless-design@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: OSPF Wireless Design Team  <ospf-wireless-design.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <https://www1.ietf.org/mailman/private/ospf-wireless-design>
List-Post: <mailto:ospf-wireless-design@lists.ietf.org>
List-Help: <mailto:ospf-wireless-design-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ospf-wireless-design>, 
	<mailto:ospf-wireless-design-request@lists.ietf.org?subject=subscribe>
Sender: ospf-wireless-design-bounces@ietf.org
Errors-To: ospf-wireless-design-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: ffa9dfbbe7cc58b3fa6b8ae3e57b0aa3
Content-Transfer-Encoding: quoted-printable

All,
We have a new version of the MANET OSPF simulator available.  Here are
some highlights:
- validation scripts (validating proper operation of the overlapping
relays mechanism) are available
- update to differential hello mechanism
- underlying quagga code updated to the latest 0.98.2 release
- the implementation side is also now prepared as a standard unix patch
to quagga, for easier installation for those who want to run a real
implementation
- expanded documentation and example scripts

We next plan to start implementing the class of algorithms described by
Richard.  Hopefully we can start to get those models out in March.

However, regarding distribution of this code, we were forced to take our
web server offline for some time, so please email me or Phil if you
would like a copy of this update (specify implementation patch or
simulation or both).

Tom

_______________________________________________
Ospf-wireless-design mailing list
Ospf-wireless-design@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/ospf-wireless-design


