summaryrefslogtreecommitdiff
path: root/lib/mpls.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mpls.h')
-rw-r--r--lib/mpls.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/mpls.h b/lib/mpls.h
index 9e7eeed34e..9d103e669c 100644
--- a/lib/mpls.h
+++ b/lib/mpls.h
@@ -41,7 +41,13 @@
#define MPLS_MAX_UNRESERVED_LABEL 1048575
/* Default min and max SRGB label range */
-#define MPLS_DEFAULT_MIN_SRGB_LABEL 10000
+/* Even if the SRGB allows to manage different Label space between routers,
+ * if an operator want to use the same SRGB for all its router, we must fix
+ * a common range. However, Cisco start its SRGB at 16000 and Juniper ends
+ * its SRGB at 16384 for OSPF. Thus, by fixing the minimum SRGB label to
+ * 8000 we could deal with both Cisco and Juniper.
+ */
+#define MPLS_DEFAULT_MIN_SRGB_LABEL 8000
#define MPLS_DEFAULT_MAX_SRGB_LABEL 50000
#define MPLS_DEFAULT_MIN_SRGB_SIZE 5000
#define MPLS_DEFAULT_MAX_SRGB_SIZE 20000