Hello,

 

Is there a limit on the number of stubnet prefixes that we can configure?  I have configured 50000 stubnets but my router receives only 1084 routes.

 

protocol ospf v2 {

         area 0 {

                 interface "virbr1";

                 include "/home/acunha/routes.txt";

         };

}

 

acunha@staging:~$ more /home/acunha/routes.txt

                stubnet 1.0.0.0/24;

                stubnet 1.0.1.0/24;

                stubnet 1.0.2.0/24;

                stubnet 1.0.3.0/24;

                stubnet 1.0.4.0/24;

                stubnet 1.0.5.0/24;

                stubnet 1.0.6.0/24;

                stubnet 1.0.7.0/24;

                stubnet 1.0.8.0/24;

                stubnet 1.0.9.0/24;

                stubnet 1.0.10.0/24;

....

 

 

If I configure the routes as static and redistribute in OSPF, it works fine. I have tested with both 1.6 and 2.0 and the behavior is the same

 

Thanks

Andre