I am trying to make use of the Linux Advanced Routing/Policy routing feature but I am running into a table limit. The RT_TABLE_MAX defaults to 255 but is defined as an INTEGER. I need upwards of 500+ tables. /include/linux/rtnetlink.h /* Reserved table identifiers */ enum rt_class_t { RT_TABLE_UNSPEC=0, /* User defined values */ RT_TABLE_DEFAULT=253, RT_TABLE_MAIN=254, RT_TABLE_LOCAL=255, __RT_TABLE_MAX }; #define RT_TABLE_MAX (__RT_TABLE_MAX - 1) If I adjust __RT_TABLE_MAX to 1024, should this work or are there other limits within the policy routing code that would limit it to 255 tables? I've been changing code and testing with no success. I have also been recompiling the iproute2 as it looks like the limit is compiled in there as well. -- -------------------------------------------------- Jeremy M. Guthrie jeremy.guthrie@xxxxxxxxxx Senior Network Engineer Phone: 608-298-1061 Berbee Fax: 608-288-3007 5520 Research Park Drive NOC: 608-298-1102 Madison, WI 53711
Attachment:
pgph944bB2Rrd.pgp
Description: PGP signature