Re: [OSPF] LSA Data Base Exchange Between the Master and the Slave

Biswajit Sadhu <biswajit.sadhu@gmail.com> Wed, 03 July 2013 15:32 UTC

Return-Path: <biswajit.sadhu@gmail.com>
X-Original-To: ospf@ietfa.amsl.com
Delivered-To: ospf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA49611E81E1 for <ospf@ietfa.amsl.com>; Wed, 3 Jul 2013 08:32:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.377
X-Spam-Level:
X-Spam-Status: No, score=-2.377 tagged_above=-999 required=5 tests=[AWL=0.222, BAYES_00=-2.599, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lXqt+kdisRrT for <ospf@ietfa.amsl.com>; Wed, 3 Jul 2013 08:32:07 -0700 (PDT)
Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) by ietfa.amsl.com (Postfix) with ESMTP id 7F7C411E81CA for <ospf@ietf.org>; Wed, 3 Jul 2013 08:32:06 -0700 (PDT)
Received: by mail-we0-f176.google.com with SMTP id t56so245662wes.21 for <ospf@ietf.org>; Wed, 03 Jul 2013 08:32:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=km/ZtP5Obm9yZ0hQNqLCWvOvoRxaPSGGrnCfPsvbG7U=; b=i00LFI59vkeAFNnfHwssYkLLA2eP5hFJTgPZTjAIGGd5viMi7/lr5Lv0wnBun1DWH6 qv/AlQjN06fsxOjBAVcqLGjnvWr3Eq2CQN1n/2gRrfOtk0v1xJjupYZKkccPtS5ln8Dz Pq1Gfv/4EMBm+pSPnS8rs9aOXXdlF6RY1aqU+rSf+XkYX1DN+O+Tio/oLk4x6TtvCfyC C3icUzh7Ja+yRoUmHthNeqtwefLtuLiJwj0Mxxji7R/SBFwI7LaV8CFYBz7KO3UwIl3Y QF+ourR6alxuF5U5oUVriT9zbD8R8FwF2w7lQnhG9uJ4VsxQlvhB7QsWHlBYfQbyFkWk xLhA==
X-Received: by 10.194.133.106 with SMTP id pb10mr911200wjb.62.1372865524406; Wed, 03 Jul 2013 08:32:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.180.107.136 with HTTP; Wed, 3 Jul 2013 08:31:44 -0700 (PDT)
In-Reply-To: <94A203EA12AECE4BA92D42DBFFE0AE471945CE@eusaamb101.ericsson.se>
References: <CAH1_U14UD0Depphhk3h8SJSS6E-7dycUzhgD2YZ-TuGJefLk+w@mail.gmail.com> <94A203EA12AECE4BA92D42DBFFE0AE471945CE@eusaamb101.ericsson.se>
From: Biswajit Sadhu <biswajit.sadhu@gmail.com>
Date: Wed, 03 Jul 2013 21:01:44 +0530
Message-ID: <CAH1_U15tuH7z2mEdAmWhwSFKiDVN_e5b2jjS5NWSKAQhY+noWg@mail.gmail.com>
To: Acee Lindem <acee.lindem@ericsson.com>
Content-Type: multipart/alternative; boundary="089e0115f112e81f2104e09d2913"
Cc: "<ospf@ietf.org>" <ospf@ietf.org>
Subject: Re: [OSPF] LSA Data Base Exchange Between the Master and the Slave
X-BeenThere: ospf@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: The Official IETF OSPG WG Mailing List <ospf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ospf>, <mailto:ospf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ospf>
List-Post: <mailto:ospf@ietf.org>
List-Help: <mailto:ospf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ospf>, <mailto:ospf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jul 2013 15:32:07 -0000

Hi Acee,

I would like to thank you for finding time to reply my mail.

I had gone through section 10.6 and 10.8 still i would like to know in
section 10.6 what these below line means.

*            The slave must send a Database Description Packet in reply.
            If the received packet has the more bit (M) set to 0, and
            the packet to be sent by the slave will also have the M-bit
            **set to 0, the neighbor event ExchangeDone is generated.*


 *Best Regards,*

*Biswajit Sadhu*


On Wed, Jul 3, 2013 at 7:00 PM, Acee Lindem <acee.lindem@ericsson.com>wrote:

>  Hi Biswajit,
>
>  On Jul 3, 2013, at 6:35 AM, Biswajit Sadhu wrote:
>
>  Hi All,
>
>  I have a query in the OSPF Design of LSA Data Base Exchange.
>
>  In data base exchange process if the master has smaller database the the
> slave and the master sends the More bit as zero in its DB packet  then the
> slave should also set the M bit to 0 in reply to the master's DB packet
> with the same sequence number ?
>
>
>  No. The slave should continue to set the M bit until it has sent its
> entire database. The master should continue to poll the slave with
> increasing sequence numbers until the slave has completed exchanging its
> entire database and cleared the M bit. Excerpt from RFC 2328:
>
>         This sending and receiving of Database Description packets is
>         called the "Database Exchange Process".  During this process,
>         the two routers form a master/slave relationship.  Each Database
>         Description Packet has a sequence number.  Database Description
>         Packets sent by the master (polls) are acknowledged by the slave
>         through echoing of the sequence number.  Both polls and their
>         responses contain summaries of link state data.  The master is
>         the only one allowed to retransmit Database Description Packets.
>         It does so only at fixed intervals, the length of which is the
>         configured per-interface constant RxmtInterval.
>
> Each Database Description contains an indication that there are
> more packets to follow --- the M-bit. The Database Exchange
> Process is over when a router has received and sent Database
> Description Packets with the M-bit off.
>
> Read RFC 2328 sections 10.6 and 10.8 and it should be clear. The actions of the database exchange master and slave are described in detail.
>
>
>  Hope this Helps,
> Acee
>
>
>
>
>
>
>
>
>   Should the data base exchange stop after that. what if the slave had
> more lsa's to send to the Master?
>
>  What about the vice-versa case where Master has a large Data base to
> exchange then the Slave  ?
>
>     As per page 101 .rfc 2328 i am quoting few lines for the same RFC
>
>      http://tools.ietf.org/html/rfc2328
>
>
>       *   Master
>             Increments the DD sequence number in the neighbor data
>             structure.  If the router has already sent its entire
>             sequence of Database Description Packets, and the just
>             accepted packet has the more bit (M) set to 0, the neighbor
>             event ExchangeDone is generated.  Otherwise, it should send
>             a new Database Description to the slave.
>
>         Slave
>             Sets the DD sequence number in the neighbor data structure
>             to the DD sequence number appearing in the received packet.
>             The slave must send a Database Description Packet in reply.
>             If the received packet has the more bit (M) set to 0, and
>             the packet to be sent by the slave will also have the M-bit
>             **set to 0, the neighbor event ExchangeDone is generated.**
>             Note that the slave always generates this event before the
>             maste**r.*
>
> *
> *
>
>  *Best Regards,*
>
> *Biswajit Sadhu*
>  _______________________________________________
> OSPF mailing list
> OSPF@ietf.org
> https://www.ietf.org/mailman/listinfo/ospf
>
>
>