netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to enable more than ~256 routing tables?
@ 2003-04-22  7:10 Ben Greear
  2003-04-22  7:16 ` YOSHIFUJI Hideaki / 吉藤英明
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Greear @ 2003-04-22  7:10 UTC (permalink / raw)
  To: 'netdev@oss.sgi.com'

I would like to have a routing table per interface, and would like to support
1k interfaces or so (virtual interfaces like vlans, for instance).

I notice in rtnetlink.h there is this code:

enum rt_class_t
{
	RT_TABLE_UNSPEC=0,
/* User defined values */
	RT_TABLE_DEFAULT=253,
	RT_TABLE_MAIN=254,
	RT_TABLE_LOCAL=255
};
#define RT_TABLE_MAX RT_TABLE_LOCAL


Is it possible to just change the RT_TABLE_MAX to be higher and have 256-????
be more /* User defined values */ ?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>       <Ben_Greear AT excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-22  7:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-22  7:10 How to enable more than ~256 routing tables? Ben Greear
2003-04-22  7:16 ` YOSHIFUJI Hideaki / 吉藤英明
2003-04-22  7:45   ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).