Re: [OSPF] Increasing the maximum number of links advertisable in a single Router LSA

"Acee Lindem (acee)" <> Mon, 04 April 2016 13:56 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id A5CE812D6EA for <>; Mon, 4 Apr 2016 06:56:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -14.53
X-Spam-Status: No, score=-14.53 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 0HGVsOWRAECB for <>; Mon, 4 Apr 2016 06:56:01 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 8CFCD12D6D9 for <>; Mon, 4 Apr 2016 06:55:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;;; l=6287; q=dns/txt; s=iport; t=1459778154; x=1460987754; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=fIlwZoMpPU1DZPli+9o0dAj76/0TrjdiP4k4NLDBPOg=; b=Suf5Ap9AbqSX9xSIoknc/6l/zfLUHQbPUB2BQNBkQNn4pPPKfAk1cKPh cPg8N0rmV4z2DeivqDefSg8VfhjXMzVM7x40X43KYN4h10xM66Zj7QSbi asiTp/+Sbp2ktuQU7Kj3icnkMNI7hNrnWNLr4isL+eLYnjaj0dUf8O4CY 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CdBQAZcQJX/5NdJa1dgmtMgVAGr0yGZ?= =?us-ascii?q?YJhgh2BcoYNAhyBFzkTAQEBAQEBAWUnhEEBAQEDASNbCwIBCAQKAwMBAigDAgI?= =?us-ascii?q?CHxEUCQgCBAESiBIDCgirWowUDYUXAQEBAQEBAQECAQEBAQEBAQEYimqCQYFZR?= =?us-ascii?q?RaCSoJWBZMYhDgxAYwSgXWPD4dEh1UBIgI+ggEcFYE1bIZqPn4BAQE?=
X-IronPort-AV: E=Sophos; i="5.24,440,1454976000"; d="scan'208,217"; a="93561449"
Received: from ([]) by with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Apr 2016 13:55:53 +0000
Received: from ( []) by (8.14.5/8.14.5) with ESMTP id u34DtrkF005606 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 4 Apr 2016 13:55:53 GMT
Received: from ( by ( with Microsoft SMTP Server (TLS) id 15.0.1104.5; Mon, 4 Apr 2016 09:55:52 -0400
Received: from ([]) by ([]) with mapi id 15.00.1104.009; Mon, 4 Apr 2016 09:55:52 -0400
From: "Acee Lindem (acee)" <>
To: Vlad Olariu <>, "" <>
Thread-Topic: [OSPF] Increasing the maximum number of links advertisable in a single Router LSA
Thread-Index: AQHRjm1gIA22qvdkcEuFpxYylzWJ1Z95506A
Date: Mon, 4 Apr 2016 13:55:52 +0000
Message-ID: <>
References: <>
In-Reply-To: <>
Accept-Language: en-US
Content-Language: en-US
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: []
Content-Type: multipart/alternative; boundary="_000_D327F78D56C71aceeciscocom_"
MIME-Version: 1.0
Archived-At: <>
Subject: Re: [OSPF] Increasing the maximum number of links advertisable in a single Router LSA
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: The Official IETF OSPG WG Mailing List <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 04 Apr 2016 13:56:03 -0000

Hi Vlad,

From: OSPF <<>> on behalf of Vlad Olariu <<>>
Date: Monday, April 4, 2016 at 8:27 AM
To: OSPF WG List <<>>
Subject: [OSPF] Increasing the maximum number of links advertisable in a single Router LSA

Hello All,

Considering what the OSPFv2 RFC states:

A.4.2 All of the router's links to the area must be described in a single router-LSA.

The maximum number of links advertisable in a single Router-LSA for a single LSA is around 5K.

Following this, I have two questions:
> How come the # links has 2 bytes, allowing for up to 65536 links?
> Is there any way to bypass the 5K limit?

No - this was fixed in OSPFv3 by supporting a variable number of Router-LSAs which are concatenated. This is yet another advantage of OSPFv3 over OSPFv2.

This has not been a problem heretofore and I know of several implementations that have lower Router-LSA link limits due to not supporting IP frag/reassembly up to 64K.


Thank you.

P.S This is of course just an exercise. I don't expect any sane network design to require that many links in the same area.